Skip to content

Spec

Documentation for tests/prague/eip2935_historical_block_hashes_from_state/spec.py@49c766fb.

Defines EIP-2935 specification constants and functions.

Spec dataclass

Parameters from the EIP-2935 specifications as defined at https://eips.ethereum.org/EIPS/eip-2935

Source code in tests/prague/eip2935_historical_block_hashes_from_state/spec.py
21
22
23
24
25
26
27
28
29
30
31
@dataclass(frozen=True)
class Spec:
    """
    Parameters from the EIP-2935 specifications as defined at
    https://eips.ethereum.org/EIPS/eip-2935
    """

    FORK_TIMESTAMP = 15_000
    HISTORY_STORAGE_ADDRESS = 0x0AAE40965E6800CD9B1F4B05FF21581047E3F91E
    HISTORY_SERVE_WINDOW = 8192
    BLOCKHASH_OLD_WINDOW = 256