Available on crate feature
base only.Expand description
Base block preparation and transaction execution for the in-memory backend.
Re-exportsΒ§
use super::Backend;πuse crate::eth::backend::db::AnvilCacheDB;πuse crate::eth::backend::db::Db;πuse crate::eth::backend::db::StateRef;πuse crate::eth::backend::executor::BlockExecutionKind;πuse crate::eth::backend::executor::ExecutedPoolTransactions;πuse crate::eth::backend::time::PendingBlockTimestamp;πuse crate::eth::backend::time::TimeManager;πuse crate::eth::error::BlockchainError;πuse crate::eth::pool::transactions::PoolTransaction;πuse alloy_eips::Decodable2718;πuse alloy_eips::Encodable2718;πuse alloy_evm::EthEvmFactory;πuse alloy_evm::Evm;πuse alloy_evm::EvmEnv;πuse alloy_evm::EvmFactory;πuse alloy_network::Network;πuse alloy_primitives::Address;πuse alloy_primitives::B256;πuse alloy_primitives::TxKind;πuse alloy_primitives::U256;πuse anvil_core::eth::transaction::PendingTransaction;πuse base_common_chains::ChainConfig;πuse base_common_consensus::Predeploys;πuse base_common_evm::BaseContext;πuse base_common_evm::BaseEvmFactory;πuse base_common_evm::BaseHaltReason;πuse base_common_evm::BaseSpecId;πuse base_common_evm::BaseTime;πuse base_common_evm::BaseTransaction;πuse base_common_evm::BaseUpgrade;πuse base_common_evm::L1BlockInfo;πuse base_common_genesis::RollupConfig;πuse base_common_rpc_types::EIP8130_PRE_ZENITH_RPC_ERROR;πuse base_consensus_upgrades::Jovian;πuse base_protocol::BaseTimeUpdateTx;πuse base_protocol::L1BlockInfoJovian;πuse base_protocol::L1BlockInfoTx;πuse foundry_evm::backend::DatabaseError;πuse foundry_evm::hardfork::FoundryHardfork;πuse foundry_primitives::FoundryTxEnvelope;πuse revm::DatabaseRef;πuse revm::Inspector;πuse revm::context::TxEnv;πuse revm::context::result::ExecutionResult;πuse revm::context::result::HaltReason;πuse revm::context::result::Output;πuse revm::context::result::ResultAndState;πuse revm::database::EmptyDB;πuse revm::database_interface::WrapDatabaseRef;πuse std::sync::Arc;π
FunctionsΒ§
- ensure_
l1_ πblock_ predeploy - Installs the canonical L1Block runtime when a local chain has no deployment.
- next_
millis_ πpart - Advances the persisted BaseTime phase, independently of the absolute block number.
- prepare_
block_ πtimestamp - Prepares the whole-second carry and explicit time controls for a Denim child block.
- system_
transactions π - Builds the L1-info and BaseTime deposits from the candidateβs parent database.
- validate_
system_ πtransactions - Rejects a candidate whose mandatory prefix was skipped or reverted during execution.