Skip to content

Spec

Documentation for tests/prague/eip2935_historical_block_hashes_from_state/spec.py@5e6a38e0.

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
17
18
19
20
21
22
23
24
25
26
27
@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 = 0x0F792BE4B0C0CB4DAE440EF133E90C0ECD48CCCC
    HISTORY_SERVE_WINDOW = 8191
    BLOCKHASH_OLD_WINDOW = 256