Skip to main content

Module spec

Module spec 

Source
Available on crate feature reth only.

Structs§

TempoChainSpec
Tempo chain spec type.
TempoChainSpecParser
Tempo chain specification parser.
TempoGenesisInfo
Tempo genesis info extracted from genesis extra_fields

Constants§

SUPPORTED_CHAINS
Chains supported by Tempo. First value should be used as the default.
SYSTEM_TX_ADDRESSES
SYSTEM_TX_COUNT
TEMPO_T0_BASE_FEE
T0 base fee: 10 billion attodollars (1×10^10).
TEMPO_T1_BASE_FEE
T1 base fee: 20 billion attodollars (2×10^10).
TEMPO_T1_EXISTING_NONCE_KEY_GAS
Gas cost for using an existing 2D nonce key (cold SLOAD + warm SSTORE reset).
TEMPO_T1_GENERAL_GAS_LIMIT
TIP-1010 general (non-payment) gas limit: 30 million gas per block. Cap for non-payment transactions.
TEMPO_T1_NEW_NONCE_KEY_GAS
Gas cost for using a new 2D nonce key (cold SLOAD + SSTORE set for 0 -> non-zero).
TEMPO_T1_TX_GAS_LIMIT_CAP
TIP-1010 per-transaction gas limit cap: 30 million gas. Allows maximum-sized contract deployments under TIP-1000 state creation costs.
TEMPO_T2_EXISTING_NONCE_KEY_GAS
T2 adds 2 warm SLOADs for the extended nonce key lookup.
TEMPO_T2_NEW_NONCE_KEY_GAS
T2 adds 2 warm SLOADs for the extended nonce key lookup.

Statics§

DEV
Development chainspec with funded dev accounts and activated tempo hardforks
MODERATO
PRESTO

Functions§

chain_value_parsercli
Clap value parser for [ChainSpec]s.
chainspec_from_chain_id
Resolve a TempoChainSpec from a chain id.