Module reth_node_core::primitives::constants
source · Expand description
Ethereum protocol-related constants
Modules§
- Gas units, for example
GIGAGAS
.
Constants§
- Max seconds from current time allowed for blocks, before they’re considered future blocks.
- Base fee max change denominator for Base Sepolia as defined in the Optimism transaction costs doc.
- The number of blocks to unwind during a reorg that already became a part of canonical chain.
- The default block nonce in the beacon consensus
- Testnet genesis hash:
0x2f980576711e3617a5e4d83dd539548ec0f7792007d505a3d2e9674833af2d7c
- Base fee max change denominator as defined in EIP-1559
- Elasticity multiplier as defined in EIP-1559
- Initial base fee as defined in EIP-1559
- Ommer root of empty list:
0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
- Transactions root of empty receipts set.
- Root hash of an empty trie:
0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
- Transactions root of empty transactions set.
- Withdrawals root of empty withdrawals set.
- An EPOCH is a series of 32 slots (~6.4min).
- An EPOCH is a series of 32 slots.
- The default Ethereum block gas limit.
- Multiplier for converting ether to wei.
- Multiplier for converting finney (milliether) to wei.
- Represents one Gigagas, or
1_000_000_000
gas. - Multiplier for converting gwei to wei.
- Holesky genesis hash:
0xb5f7f912443c940f21fd611f12828d75b534364ed9e95ca4e307729a4661bde4
- Keccak256 over empty array:
0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470
- Represents one Kilogas, or
1_000
gas. - The Ethereum mainnet genesis hash:
0x0d4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3
- Maximum extra data size in a block after genesis
- Represents one Megagas, or
1_000_000
gas. - Minimum gas limit allowed for transactions.
- The minimum tx fee below which the txpool will reject the transaction.
- Same as
MIN_PROTOCOL_BASE_FEE
but as a U256. - Base fee max change denominator for Optimism Mainnet as defined in the Optimism Canyon hardfork.
- Base fee max change denominator for Optimism Mainnet as defined in the Optimism transaction costs doc.
- Base fee max change denominator for Optimism Mainnet as defined in the Optimism transaction costs doc.
- Base fee max change denominator for Optimism Sepolia as defined in the Optimism Canyon hardfork.
- Base fee max change denominator for Optimism Sepolia as defined in the Optimism transaction costs doc.
- Base fee max change denominator for Optimism Sepolia as defined in the Optimism transaction costs doc.
- From address from Optimism system txs:
0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001
- To address from Optimism system txs:
0x4200000000000000000000000000000000000015
- The client version:
reth/v{major}.{minor}.{patch}
- The first four bytes of the call data for a function call specifies the function to be called.
- Sepolia genesis hash:
0x25a5cc106eea7138acab33231d7160d69cb777ee0c2c553fcddf5138993e6dd9
- The duration of a slot in seconds.