Skip to content

Spec

Documentation for tests/cancun/eip1153_tstore/spec.py@206854b5.

Defines EIP-1153 specification constants and functions.

Spec dataclass

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

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

    TLOAD_OPCODE_BYTE = 0x5C
    TSTORE_OPCODE_BYTE = 0x5D
    TLOAD_GAS_COST = 100
    TSTORE_GAS_COST = 100