Skip to content

Spec

Documentation for tests/shanghai/eip3860_initcode/spec.py@206854b5.

Defines EIP-3860 specification constants and functions.

Spec dataclass

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

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

    MAX_INITCODE_SIZE = 49152
    INITCODE_WORD_COST = 2