Skip to main content

Module constants

Module constants 

Source

Constants§

AMSTERDAM_MAX_CODE_SIZE
EIP-7954 (Amsterdam): maximum size of deployed bytecode, 64 KiB.
BAL_ITEM_COST
GAS_BLOCK_ACCESS_LIST_ITEM: a flat per-item charge, independent of the EIP-8038 access-list repricing.
BLOB_BASE_COST
GAS_PER_BLOB
Gas consumption of a single data blob (== blob byte size).
MAINNET_DEPOSIT_CONTRACT_ADDRESS
EIP-6110 beacon deposit contract on Ethereum mainnet. 0x00000000219ab540356cbb839cbe05303d7705fa
MAX_BLOCK_SIZE
MAX_RLP_BLOCK_SIZE
MIN_BASE_FEE_PER_BLOB_GAS
POST_OSAKA_GAS_LIMIT_CAP
RLP_BLOCK_SIZE_SAFETY_MARGIN
SYSTEM_ADDRESS
SYSTEM_ADDRESS used for system contract calls and BAL filtering. 0xfffffffffffffffffffffffffffffffffffffffe
TX_MAX_GAS_LIMIT_AMSTERDAM
TX_MAX_TOTAL_GAS_LIMIT_AMSTERDAM
Ceiling on a transaction’s whole gas field from Amsterdam on, reservoir included. EIP-7825’s TX_MAX_GAS_LIMIT above bounds only the execution-gas dimension, so it is checked against the intrinsic execution cost rather than against tx.gas; this one bounds tx.gas itself, keeping the field inside the range a u32 can carry.

Statics§

DEFAULT_OMMERS_HASH
DEFAULT_REQUESTS_HASH
DEPOSIT_TOPIC
EMPTY_BLOCK_ACCESS_LIST_HASH
EMPTY_KECCAK_HASH
EMPTY_TRIE_HASH
EMPTY_WITHDRAWALS_HASH