Skip to content

Spec

Documentation for tests/amsterdam/eip7976_increase_calldata_floor_cost/spec.py@tests-bal@v5.7.0.

Defines EIP-7976 specification constants and functions.

Spec dataclass

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

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

    STANDARD_TOKEN_COST = 4
    TOTAL_COST_FLOOR_PER_TOKEN = 16