Skip to content

Spec

Documentation for tests/prague/eip2935_historical_block_hashes_from_state/spec.py@pectra-devnet-4@v1.0.1.

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
23
24
25
26
27
28
29
30
31
32
33
@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 = SystemContract.BLOCK_HISTORY
    HISTORY_SERVE_WINDOW = 8192
    BLOCKHASH_OLD_WINDOW = 256