Expand description
In-memory Backend In-memory blockchain backend.
Re-exportsΒ§
use self::in_memory_db::StateRootDb;πuse self::state::trie_storage;πuse self::tempo::TempoChain;πuse crate::ForkChoice;πuse crate::NodeConfig;πuse crate::PrecompileFactory;πuse crate::config::ForkTransactionReplay;πuse crate::config::PruneStateHistoryConfig;πuse crate::config::source_hardfork;πuse crate::eth::backend::cheats::CheatEcrecover;πuse crate::eth::backend::cheats::CheatsManager;πuse crate::eth::backend::cheats::NextBlockOverrides;πuse crate::eth::backend::db::AnvilCacheDB;πuse crate::eth::backend::db::BLOCKHASH_HISTORY;πuse crate::eth::backend::db::Db;πuse crate::eth::backend::db::EmptyAsAbsentDb;πuse crate::eth::backend::db::MaybeFullDatabase;πuse crate::eth::backend::db::SerializableState;πuse crate::eth::backend::db::StateDb;πuse crate::eth::backend::db::StateRef;πuse crate::eth::backend::executor::AnvilBlockExecutor;πuse crate::eth::backend::executor::BlockExecutionKind;πuse crate::eth::backend::executor::EthereumBlockTransitions;πuse crate::eth::backend::executor::ExecutedPoolTransactions;πuse crate::eth::backend::executor::FoundryReceiptBuilder;πuse crate::eth::backend::executor::PoolTxGasConfig;πuse crate::eth::backend::executor::apply_ethereum_post_execution_changes;πuse crate::eth::backend::executor::apply_ethereum_pre_execution_changes;πuse crate::eth::backend::executor::block_blob_gas_limit;πuse crate::eth::backend::executor::build_tx_env_for_pending;πuse crate::eth::backend::executor::execute_pool_transaction;πuse crate::eth::backend::executor::execute_pool_transactions;πuse crate::eth::backend::fork::ClientFork;πuse crate::eth::backend::fork::ForkEndpointIdentity;πuse crate::eth::backend::genesis::GenesisConfig;πuse crate::eth::backend::mem::state::StateRootCache;πuse crate::eth::backend::mem::state::state_root;πuse crate::eth::backend::mem::state::state_trie_witness;πuse crate::eth::backend::mem::state::storage_root;πuse crate::eth::backend::mem::state::trie_accounts;πuse crate::eth::backend::mem::storage::MinedTransactionReceipt;πuse crate::eth::backend::notifications::ChainNotification;πuse crate::eth::backend::notifications::ChainNotifications;πuse crate::eth::backend::notifications::NewBlockNotification;πuse crate::eth::backend::replay::ExecutedHistoricalReplay;πuse crate::eth::backend::replay::HistoricalReplayTransaction;πuse crate::eth::backend::replay::PreparedForkTransactionReplay;πuse crate::eth::backend::replay::execute_historical_replay;πuse crate::eth::backend::replay::prepare_fork_transaction_replay;πuse crate::eth::backend::tempo::AnvilStorageProvider;πuse crate::eth::backend::time::PendingBlockTimestamp;πuse crate::eth::backend::time::TimeManager;πuse crate::eth::backend::time::TimeSnapshot;πuse crate::eth::backend::time::utc_from_secs;πuse crate::eth::backend::validate::TransactionValidator;πuse crate::eth::error::BlockchainError;πuse crate::eth::error::ErrDetail;πuse crate::eth::error::InvalidTransactionError;πuse crate::eth::fees::FeeDetails;πuse crate::eth::fees::FeeManager;πuse crate::eth::fees::FeeSnapshot;πuse crate::eth::fees::MIN_SUGGESTED_PRIORITY_FEE;πuse crate::eth::macros::node_info;πuse crate::eth::pool::transactions::PoolTransaction;πuse crate::eth::preserve_simulation_request_fields;πuse crate::mem::inspector::AnvilInspector;πuse crate::mem::inspector::InspectorTxConfig;πuse crate::mem::storage::BlockchainStorage;πuse crate::mem::storage::InMemoryBlockStates;πuse crate::mem::storage::MinedBlockOutcome;πuse alloy_chains::NamedChain;πuse alloy_consensus::Blob;πuse alloy_consensus::BlockBody;πuse alloy_consensus::BlockHeader;πuse alloy_consensus::EnvKzgSettings;πuse alloy_consensus::Header;πuse alloy_consensus::Signed;πuse alloy_consensus::Transaction as TransactionTrait;πuse alloy_consensus::TransactionEnvelope;πuse alloy_consensus::TransactionEnvelope;πuse alloy_consensus::TrieAccount;πuse alloy_consensus::TxEip4844Variant;πuse alloy_consensus::TxEnvelope;πuse alloy_consensus::TxReceipt;πuse alloy_consensus::Typed2718;πuse alloy_consensus::constants::EMPTY_WITHDRAWALS;πuse alloy_consensus::proofs::calculate_receipt_root;πuse alloy_consensus::proofs::calculate_transaction_root;πuse alloy_consensus::transaction::Recovered;πuse alloy_eips::BlockNumHash;πuse alloy_eips::Encodable2718;πuse alloy_eips::eip2935;πuse alloy_eips::eip4788;πuse alloy_eips::eip4844::DATA_GAS_PER_BLOB;πuse alloy_eips::eip4844::kzg_to_versioned_hash;πuse alloy_eips::eip6110::MAINNET_DEPOSIT_CONTRACT_ADDRESS;πuse alloy_eips::eip7002;πuse alloy_eips::eip7251;πuse alloy_eips::eip7685::EMPTY_REQUESTS_HASH;πuse alloy_eips::eip7840::BlobParams;πuse alloy_eips::eip7910::SystemContract;πuse alloy_eips::eip7928::BlockAccessList;πuse alloy_eips::eip7928::EMPTY_BLOCK_ACCESS_LIST_HASH;πuse alloy_eips::eip7928::compute_block_access_list_hash;πuse alloy_evm::Database;πuse alloy_evm::EthEvmFactory;πuse alloy_evm::Evm;πuse alloy_evm::EvmEnv;πuse alloy_evm::EvmFactory;πuse alloy_evm::FromTxWithEncoded;πuse alloy_evm::block::BlockExecutionResult;πuse alloy_evm::block::BlockExecutor;πuse alloy_evm::block::StateDB;πuse alloy_evm::eth::EthEvm;πuse alloy_evm::eth::EthEvmContext;πuse alloy_evm::overrides::OverrideBlockHashes;πuse alloy_evm::overrides::apply_state_overrides;πuse alloy_evm::precompiles::DynPrecompile;πuse alloy_evm::precompiles::MovePrecompileError;πuse alloy_evm::precompiles::Precompile;πuse alloy_evm::precompiles::PrecompilesMap;πuse alloy_genesis::Genesis;πuse alloy_network::AnyHeader;πuse alloy_network::AnyRpcBlock;πuse alloy_network::AnyRpcHeader;πuse alloy_network::AnyRpcTransaction;πuse alloy_network::AnyTxEnvelope;πuse alloy_network::AnyTxType;πuse alloy_network::BlockResponse;πuse alloy_network::Network;πuse alloy_network::NetworkTransactionBuilder;πuse alloy_network::ReceiptResponse;πuse alloy_network::UnknownTxEnvelope;πuse alloy_network::UnknownTypedTransaction;πuse alloy_primitives::Address;πuse alloy_primitives::B256;πuse alloy_primitives::Bloom;πuse alloy_primitives::Bytes;πuse alloy_primitives::Signature;πuse alloy_primitives::TxKind;πuse alloy_primitives::U256;πuse alloy_primitives::address;πuse alloy_primitives::hex;πuse alloy_primitives::hex;πuse alloy_primitives::keccak256;πuse alloy_primitives::map::AddressMap;πuse alloy_primitives::map::B256Set;πuse alloy_primitives::map::HashMap;πuse alloy_primitives::map::HashSet;πuse alloy_rlp::Decodable;πuse alloy_rlp::Encodable;πuse alloy_rpc_types::AccessList;πuse alloy_rpc_types::Block as AlloyBlock;πuse alloy_rpc_types::BlockId;πuse alloy_rpc_types::BlockNumberOrTag as BlockNumber;πuse alloy_rpc_types::BlockOverrides;πuse alloy_rpc_types::BlockTransactions;πuse alloy_rpc_types::EIP1186AccountProofResponse as AccountProof;πuse alloy_rpc_types::EIP1186StorageProof as StorageProof;πuse alloy_rpc_types::Filter;πuse alloy_rpc_types::Header as AlloyHeader;πuse alloy_rpc_types::Index;πuse alloy_rpc_types::Log;πuse alloy_rpc_types::Transaction;πuse alloy_rpc_types::TransactionReceipt;πuse alloy_rpc_types::anvil::Forking;πuse alloy_rpc_types::debug::ExecutionWitness;πuse alloy_rpc_types::request::TransactionRequest;πuse alloy_rpc_types::serde_helpers::JsonStorageKey;πuse alloy_rpc_types::simulate::MAX_SIMULATE_BLOCKS;πuse alloy_rpc_types::simulate::SimBlock;πuse alloy_rpc_types::simulate::SimCallResult;πuse alloy_rpc_types::simulate::SimulateError;πuse alloy_rpc_types::simulate::SimulatePayload;πuse alloy_rpc_types::simulate::SimulatedBlock;πuse alloy_rpc_types::state::EvmOverrides;πuse alloy_rpc_types::state::StateOverride;πuse alloy_rpc_types::trace::filter::TraceFilter;πuse alloy_rpc_types::trace::geth::CallConfig;πuse alloy_rpc_types::trace::geth::FourByteFrame;πuse alloy_rpc_types::trace::geth::GethDebugBuiltInTracerType;πuse alloy_rpc_types::trace::geth::GethDebugTracerConfig;πuse alloy_rpc_types::trace::geth::GethDebugTracerType;πuse alloy_rpc_types::trace::geth::GethDebugTracingCallOptions;πuse alloy_rpc_types::trace::geth::GethDebugTracingOptions;πuse alloy_rpc_types::trace::geth::GethTrace;πuse alloy_rpc_types::trace::geth::NoopFrame;πuse alloy_rpc_types::trace::geth::TraceResult;πuse alloy_rpc_types::trace::opcode::BlockOpcodeGas;πuse alloy_rpc_types::trace::opcode::TransactionOpcodeGas;πuse alloy_rpc_types::trace::parity::LocalizedTransactionTrace;πuse alloy_rpc_types::trace::parity::TraceResults;πuse alloy_rpc_types::trace::parity::TraceResultsWithTransactionHash;πuse alloy_rpc_types::trace::parity::TraceType;πuse alloy_rpc_types_eth::AccountInfo as RpcAccountInfo;πuse alloy_rpc_types_eth::Bundle;πuse alloy_rpc_types_eth::EthCallResponse;πuse alloy_rpc_types_mev::EthCallBundle;πuse alloy_rpc_types_mev::EthCallBundleResponse;πuse alloy_rpc_types_mev::EthCallBundleTransactionResult;πuse alloy_serde::OtherFields;πuse alloy_serde::WithOtherFields;πuse alloy_sol_types::SolCall;πuse alloy_trie::HashBuilder;πuse alloy_trie::Nibbles;πuse alloy_trie::proof::ProofRetainer;πuse alloy_trie::root::state_root_ref_unhashed;πuse anvil_core::eth::block::Block;πuse anvil_core::eth::block::BlockInfo;πuse anvil_core::eth::block::canonical_block;πuse anvil_core::eth::block::create_block;πuse anvil_core::eth::transaction::MaybeImpersonatedTransaction;πuse anvil_core::eth::transaction::PendingTransaction;πuse anvil_core::eth::transaction::TransactionInfo;πuse anvil_rpc::error::ErrorCode;πuse anvil_rpc::error::RpcError;πuse chrono::Datelike;πuse eyre::Context;πuse eyre::Result;πuse flate2::Compression;πuse flate2::read::GzDecoder;πuse flate2::write::GzEncoder;πuse foundry_evm::backend::BlockchainDb;πuse foundry_evm::backend::DatabaseError;πuse foundry_evm::backend::DatabaseResult;πuse foundry_evm::backend::EmptyDBWrapper;πuse foundry_evm::backend::RevertStateSnapshotAction;πuse foundry_evm::constants::DEFAULT_CREATE2_DEPLOYER;πuse foundry_evm::constants::DEFAULT_CREATE2_DEPLOYER_RUNTIME_CODE;πuse foundry_evm::core::precompiles::EC_RECOVER;πuse foundry_evm::decode::RevertDecoder;πuse foundry_evm::hardfork::EthereumHardfork;πuse foundry_evm::hardfork::FoundryHardfork;πuse foundry_evm::inspectors::AccessListInspector;πuse foundry_evm::traces::CallTraceDecoder;πuse foundry_evm::traces::FourByteInspector;πuse foundry_evm::traces::GethTraceBuilder;πuse foundry_evm::traces::TracingInspector;πuse foundry_evm::traces::TracingInspectorConfig;πuse foundry_evm::utils::StateChangeset;πuse foundry_evm::utils::apply_chain_specific_tx_replay_env_changes_for_chain;πuse foundry_evm::utils::block_env_from_header;πuse foundry_evm::utils::get_blob_base_fee_update_fraction_by_spec_id;πuse foundry_evm::utils::get_blob_params_by_hardfork;πuse foundry_evm_networks::NetworkConfigs;πuse foundry_evm_networks::apply_bsc_p256_precompile;πuse foundry_evm_networks::arbitrum;πuse foundry_primitives::FoundryHeader;πuse foundry_primitives::FoundryNetwork;πuse foundry_primitives::FoundryReceiptEnvelope;πuse foundry_primitives::FoundryTransactionRequest;πuse foundry_primitives::FoundryTxEnvelope;πuse foundry_primitives::FoundryTxReceipt;πuse foundry_primitives::TempoTransactionRequest;πuse futures::channel::mpsc::UnboundedSender;πuse futures::channel::mpsc::unbounded;πuse parking_lot::Mutex;πuse parking_lot::RwLock;πuse parking_lot::RwLockUpgradableReadGuard;πuse revm::Database as RevmDatabase;πuse revm::DatabaseCommit;πuse revm::Inspector;πuse revm::context::Block as RevmBlock;πuse revm::context::BlockEnv;πuse revm::context::Cfg;πuse revm::context::CfgEnv;πuse revm::context::ContextSetters;πuse revm::context::ContextTr;πuse revm::context::TxEnv;πuse revm::context_interface::JournalTr;πuse revm::context_interface::Transaction as _;πuse revm::context_interface::block::BlobExcessGasAndPrice;πuse revm::context_interface::result::EVMError;πuse revm::context_interface::result::ExecutionResult;πuse revm::context_interface::result::HaltReason;πuse revm::context_interface::result::InvalidTransaction;πuse revm::context_interface::result::Output;πuse revm::context_interface::result::ResultAndState;πuse revm::context_interface::transaction::TransactionType;πuse revm::database::AccountState;πuse revm::database::CacheDB;πuse revm::database::DbAccount;πuse revm::database::WrapDatabaseRef;πuse revm::database::bal::BalDatabase;πuse revm::database::bal::BalState;πuse revm::handler::EthFrame;πuse revm::handler::EvmTr;πuse revm::handler::EvmTrError;πuse revm::handler::FrameResult;πuse revm::handler::FrameTr;πuse revm::handler::Handler as EvmHandler;πuse revm::handler::validation;πuse revm::inspector::InspectorEvmTr;πuse revm::inspector::InspectorHandler;πuse revm::interpreter::InstructionResult;πuse revm::interpreter::interpreter::EthInterpreter;πuse revm::interpreter::interpreter_action::FrameInit;πuse revm::precompile::PrecompileSpecId;πuse revm::precompile::Precompiles;πuse revm::primitives::eip2780;πuse revm::primitives::hardfork::SpecId;πuse revm::state::Account;πuse revm::state::AccountInfo;πuse revm::state::EvmState;πuse revm::state::EvmStorageSlot;πuse revm::state::TransactionId;πuse revm_inspectors::opcode::OpcodeGasInspector;πuse std::collections::BTreeMap;πuse std::fmt;πuse std::fmt::Debug;πuse std::fmt::Debug;πuse std::io::Read;πuse std::io::Write;πuse std::marker::PhantomData;πuse std::ops::Mul;πuse std::path::Path;πuse std::path::PathBuf;πuse std::sync::Arc;πuse std::sync::atomic::AtomicBool;πuse std::sync::atomic::Ordering;πuse std::time::Duration;πuse storage::Blockchain;πuse storage::DEFAULT_HISTORY_LIMIT;πuse storage::MinedTransaction;πuse tempo_evm::TempoPoolValidationEvm;πuse tempo_evm::evm::TempoEvmFactory;πuse tempo_hardfork::TempoHardfork;πuse tempo_precompiles::NONCE_PRECOMPILE_ADDRESS;πuse tempo_precompiles::TIP_FEE_MANAGER_ADDRESS;πuse tempo_precompiles::extend_tempo_precompiles;πuse tempo_precompiles::nonce::NonceManager;πuse tempo_precompiles::storage::Handler;πuse tempo_precompiles::storage::StorageActions;πuse tempo_precompiles::storage::StorageCtx;πuse tempo_precompiles::tip_fee_manager::IFeeManager;πuse tempo_precompiles::tip_fee_manager::TipFeeManager;πuse tempo_precompiles::tip20::ITIP20;πuse tempo_precompiles::tip20::TIP20Token;πuse tempo_precompiles::tip20_factory::TIP20Factory;πuse tempo_primitives::AASigned;πuse tempo_primitives::SignatureType;πuse tempo_primitives::TEMPO_TX_TYPE_ID;πuse tempo_primitives::TempoSignature;πuse tempo_primitives::transaction::Call;πuse tempo_primitives::transaction::KeychainSignature;πuse tempo_primitives::transaction::PrimitiveSignature;πuse tempo_primitives::transaction::RecoveredTempoAuthorization;πuse tempo_primitives::transaction::tt_signature::P256SignatureWithPreHash;πuse tempo_primitives::transaction::tt_signature::WebAuthnSignature;πuse tempo_revm::ExecutionContext;πuse tempo_revm::TempoBatchCallEnv;πuse tempo_revm::TempoBlockEnv;πuse tempo_revm::TempoInvalidTransaction;πuse tempo_revm::TempoTxEnv;πuse tempo_revm::evm::TempoContext;πuse tempo_revm::gas_params::tempo_gas_params;πuse tokio::sync::RwLock as AsyncRwLock;πuse tokio::task::JoinSet;πuse foundry_primitives::get_deposit_tx_parts;πbaseoroptimismuse op_alloy_consensus::DEPOSIT_TX_TYPE_ID;πbaseoroptimismuse op_revm::transaction::deposit::DepositTransactionParts;πbaseoroptimismuse alloy_hardforks::ForkCondition;πbaseuse base_common_chains::ChainConfig;πbaseuse base_common_chains::ChainUpgrades;πbaseuse base_common_consensus::BaseTransactionInfo;πbaseuse base_common_consensus::BaseTxEnvelope;πbaseuse base_common_consensus::EIP8130_REJECTION_MSG;πbaseuse base_common_consensus::Eip8130Constants;πbaseuse base_common_consensus::Predeploys;πbaseuse base_common_evm::BaseContext;πbaseuse base_common_evm::BaseEvmFactory;πbaseuse base_common_evm::BaseSpecId;πbaseuse base_common_evm::BaseTime;πbaseuse base_common_evm::BaseTransaction;πbaseuse base_common_evm::DEPOSIT_TRANSACTION_TYPE;πbaseuse base_common_evm::DepositTransactionParts as BaseDepositTransactionParts;πbaseuse base_common_evm::EIP8130_TRANSACTION_TYPE;πbaseuse base_common_evm::Eip8130PhaseStatuses;πbaseuse base_common_evm::L1BlockInfo;πbaseuse base_common_evm::ensure_create2_deployer;πbaseuse base_common_evm::ensure_eip8130_system_accounts;πbaseuse base_common_genesis::RollupConfig;πbaseuse base_common_precompiles::NonceManagerStorage;πbaseuse base_common_rpc_types::EIP8130_PRE_ZENITH_RPC_ERROR;πbaseuse base_common_rpc_types::Eip8130Nonce;πbaseuse base_common_rpc_types::Eip8130ReceiptFields;πbaseuse base_common_rpc_types::Transaction as BaseRpcTransaction;πbaseuse base_execution_eip8130::FeeCheck;πbaseuse base_execution_eip8130::IntrinsicGas;πbaseuse base_execution_eip8130::IntrinsicGasInput;πbaseuse foundry_evm::core::constants::SYSTEM_PRECOMPILE_STUB;πbaseuse foundry_evm::core::evm::base_code_sentinel_addresses;πbaseuse foundry_evm::hardfork::BaseUpgrade;πbaseuse revm::inspector::NoOpInspector;πbaseuse alloy_op_evm::OpEvmContext;πoptimismuse alloy_op_evm::OpEvmFactory;πoptimismuse alloy_op_evm::OpTx;πoptimismuse foundry_evm::hardfork::OpHardfork;πoptimismuse foundry_evm_networks::NetworkVariant;πoptimismuse op_alloy_consensus::POST_EXEC_TX_TYPE_ID;πoptimismuse op_revm::OpTransaction;πoptimism
ModulesΒ§
- base π
base - Base block preparation and transaction execution for the in-memory backend.
- cache
- fork_db
- in_
memory_ db - The in memory DB
- inspector
- Anvil specific [
revm::Inspector] implementation - monad π
monad - Monad-specific execution and context helpers for the in-memory backend.
- optimism
optimism - Optimism-specific transact helpers for the in-memory backend.
- state
- Support for generating the state root for memdb storage
- storage
- In-memory blockchain storage
- tempo π
- Tempo consensus owned by the canonical in-memory chain.
StructsΒ§
- Backend
- Gives access to the [revm::Database]
- Call
Transaction πInfo - Network-specific transaction data produced by
Backend::build_call_env_with_base. - Envelope
Execution π - Fork
Cache πNamespace - Identifies one endpointβs persisted cache files across all blocks of a source chain.
- Fork
Cache πSource - Identifies the endpoint that supplied the most recently committed fork.
- GasEstimate
Call πOptions - Prepared
Call π - Simulation
Handler π - Ethereum handler that skips blob fee cap validation for non-validating calls with a zero cap.
- Simulation
Precompile πOverrides - Staged
Fork πCache Lease - Keeps a staged fork from persisting remote state unless it is committed.
- Staged
Fork πCache Lease Inner - Staged
Fork πDbUser - Couples an asynchronous staged-database user to its rollback lease.
- Staged
Fork πReset - Fully prepared fork replacement awaiting an atomic backend commit.
- Staged
Memory πReset - Fully prepared in-memory replacement awaiting an atomic backend commit.
- State
Snapshot π - Typed
Call πOverrides
EnumsΒ§
- Block
Request - A block request, which includes the Pool Transactions if itβs Pending
- Call
TxEnv π - Envelope
Execution πKind - Monad
Execution πContext monad
ConstantsΒ§
- DEFAULT_
BASE_ πL1_ BASE_ FEE base - Standalone Base L1 base fee, in wei.
- DEFAULT_
BASE_ πL1_ FEE_ SCALAR base - Standalone Base L1 base-fee scalar, with six decimal places.
- HOLESKY_
DEPOSIT_ πCONTRACT_ ADDRESS - MIN_
CREATE_ GAS - MIN_
TRANSACTION_ GAS - SEPOLIA_
DEPOSIT_ πCONTRACT_ ADDRESS - SIMULATE_
GAS_ πCAP - Maximum cumulative gas available to one
eth_simulateV1request. - TEMPO_
RPC_ πSIMULATION_ CONTEXT - Fixed transaction context for direct Tempo RPC simulations.
TraitsΒ§
- Backend
Inspector baseandmonadandoptimism - Marker trait that abstracts over the per-network inspector trait bounds
required by the in-memory backend. The OP bound is only included when the
optimismfeature is enabled. - Database
Ref - Helper trait that combines revm::DatabaseRef with Debug. This is needed because alloy-evm requires Debug on Database implementations. With trait upcasting now stable, we can now upcast from this trait to revm::DatabaseRef.
- Into
Instruction Result - Converts a halt reason into an [
InstructionResult].
FunctionsΒ§
- apply_
tempo_ πenvelope_ identity - arbitrum_
replay_ πblock_ number - build_
rpc_ πtransaction - call_
config_ πfrom_ tracer_ config - commit_
cache π - Commits a fully executed candidate cache to the live database.
- ensure_
base_ πtime_ predeploy base - Installs the BaseTime proxy and links its Denim implementation.
- ensure_
mined_ πtrace_ block - Rejects the
pendingtag for block trace methods, which only trace mined blocks. - foundry_
header π - Wraps an Ethereum-shaped header in the selected networkβs consensus header.
- genesis_
header π - Creates an Ethereum-shaped genesis header from the EVM environment.
- genesis_
json_ πheader - Creates an Ethereum header from a
genesis.jsonconfiguration. - get_
pool_ πtransactions_ nonce - Get max nonce from transaction pool by address.
- is_
arbitrum - mock_
tempo_ πsignature - monad_
execution_ πcontext_ at monad - next_
monad_ πcontext monad - parity_
trace_ πresults - Builds Parity trace results for
result, withdbas the state before the transaction. - preserve_
deleted_ πstorage - previously_
deleted_ πaccounts - prove_
account π - Builds an account and storage proof from one fixed local account set.
- prove_
storage - Prove a storage keyβs existence or nonexistence in the accountβs storage trie.
- rehash π
- Replaces the cached hash of a [
Signed] transaction, preserving the inner tx and signature. - sanitize_
simulation_ πblocks - simulate_
rpc_ πerror - simulate_
transaction_ πerror - tempo_
db_ πerr - Converts a Tempo error into an anvil [
DatabaseError]. - tempo_
nonce π - transaction_
build - Creates a
AnyRpcTransactionas itβs expected for theethRPC api from storage data - unpack_
execution_ πresult - Unpacks an [
ExecutionResult] into its exit reason, gas used, output, and logs.
Type AliasesΒ§
- Monad
Replay πContext monad