Skip to main contentModule api
Source use super::backend::mem::BlockRequest; ๐ use super::backend::mem::DatabaseRef; ๐ use super::backend::mem::GasEstimateCallOptions; ๐ use super::backend::mem::MonadReplayContext; ๐ use super::backend::mem::sanitize_simulation_blocks; ๐ use super::preserve_simulation_request_fields; ๐ use super::tempo_consensus::TempoCertifiedBlock; ๐ use super::tempo_consensus::TempoConsensusState; ๐ use crate::ClientFork; ๐ use crate::LoggingManager; ๐ use crate::Miner; ๐ use crate::MiningMode; ๐ use crate::StorageInfo; ๐ use crate::eth::backend; ๐ use crate::eth::backend::db::SerializableState; ๐ use crate::eth::backend::mem::MIN_TRANSACTION_GAS; ๐ use crate::eth::backend::notifications::ChainNotifications; ๐ use crate::eth::backend::tempo_consensus::TempoConsensusIdentity; ๐ use crate::eth::backend::validate::TransactionValidator; ๐ use crate::eth::error::BlockchainError; ๐ use crate::eth::error::FeeHistoryError; ๐ use crate::eth::error::InvalidTransactionError; ๐ use crate::eth::error::Result; ๐ use crate::eth::error::ToRpcResponseResult; ๐ use crate::eth::fees::FeeDetails; ๐ use crate::eth::fees::FeeHistoryCache; ๐ use crate::eth::fees::FeeHistoryCacheItem; ๐ use crate::eth::fees::MIN_SUGGESTED_PRIORITY_FEE; ๐ use crate::eth::fees::REWARD_PERCENTILE_RESOLUTION; ๐ use crate::eth::fees::create_fee_history_cache_item; ๐ use crate::eth::macros::node_info; ๐ use crate::eth::miner::FixedBlockTimeMiner; ๐ use crate::eth::pool::Pool; ๐ use crate::eth::pool::PoolSnapshot; ๐ use crate::eth::pool::transactions::PoolTransaction; ๐ use crate::eth::pool::transactions::TransactionOrder; ๐ use crate::eth::pool::transactions::TransactionPriority; ๐ use crate::eth::pool::transactions::TxMarker; ๐ use crate::eth::pool::transactions::to_marker; ๐ use crate::eth::sign::Signer; ๐ use crate::filter::EthFilter; ๐ use crate::filter::Filters; ๐ use crate::filter::LogsFilter; ๐ use crate::mem::transaction_build; ๐ use alloy_consensus::Blob; ๐ use alloy_consensus::Transaction; ๐ use alloy_consensus::TrieAccount; ๐ use alloy_consensus::TxEip4844Variant; ๐ use alloy_consensus::TxReceipt; ๐ use alloy_consensus::Typed2718; ๐ use alloy_consensus::transaction::Recovered; ๐ use alloy_consensus::transaction::SignerRecoverable; ๐ use alloy_dyn_abi::TypedData; ๐ use alloy_eips::eip2718::EIP4844_TX_TYPE_ID; ๐ use alloy_eips::eip2718::Encodable2718; ๐ use alloy_eips::eip4844::DATA_GAS_PER_BLOB; ๐ use alloy_eips::eip7910::EthConfig; ๐ use alloy_eips::eip7910::EthForkConfig; ๐ use alloy_evm::overrides::OverrideBlockHashes; ๐ use alloy_evm::overrides::apply_state_overrides; ๐ use alloy_network::AnyRpcBlock; ๐ use alloy_network::AnyRpcTransaction; ๐ use alloy_network::BlockResponse; ๐ use alloy_network::Network; ๐ use alloy_network::NetworkTransactionBuilder; ๐ use alloy_network::ReceiptResponse; ๐ use alloy_network::TransactionBuilder; ๐ use alloy_network::TransactionBuilder4844; ๐ use alloy_network::TransactionResponse; ๐ use alloy_network::eip2718::Decodable2718; ๐ use alloy_primitives::Address; ๐ use alloy_primitives::B64; ๐ use alloy_primitives::B256; ๐ use alloy_primitives::Bytes; ๐ use alloy_primitives::TxHash; ๐ use alloy_primitives::TxKind; ๐ use alloy_primitives::U64; ๐ use alloy_primitives::U256; ๐ use alloy_primitives::map::AddressSet; ๐ use alloy_primitives::map::B256Set; ๐ use alloy_primitives::map::HashMap; ๐ use alloy_primitives::map::HashSet; ๐ use alloy_rlp::Encodable; ๐ use alloy_rlp::PayloadView; ๐ use alloy_rpc_types::AccessListResult; ๐ use alloy_rpc_types::BlockId; ๐ use alloy_rpc_types::BlockNumberOrTag as BlockNumber; ๐ use alloy_rpc_types::BlockTransactions; ๐ use alloy_rpc_types::EIP1186AccountProofResponse; ๐ use alloy_rpc_types::FeeHistory; ๐ use alloy_rpc_types::Filter; ๐ use alloy_rpc_types::FilteredParams; ๐ use alloy_rpc_types::Index; ๐ use alloy_rpc_types::Log; ๐ use alloy_rpc_types::Work; ๐ use alloy_rpc_types::anvil::ForkedNetwork; ๐ use alloy_rpc_types::anvil::Forking; ๐ use alloy_rpc_types::anvil::Metadata; ๐ use alloy_rpc_types::anvil::MineOptions; ๐ use alloy_rpc_types::anvil::NodeEnvironment; ๐ use alloy_rpc_types::anvil::NodeForkConfig; ๐ use alloy_rpc_types::anvil::NodeInfo; ๐ use alloy_rpc_types::debug::ExecutionWitness; ๐ use alloy_rpc_types::erc4337::TransactionConditional; ๐ use alloy_rpc_types::pubsub::TransactionReceiptsParams; ๐ use alloy_rpc_types::request::TransactionRequest; ๐ use alloy_rpc_types::simulate::MAX_SIMULATE_BLOCKS; ๐ use alloy_rpc_types::simulate::SimulatePayload; ๐ use alloy_rpc_types::simulate::SimulatedBlock; ๐ use alloy_rpc_types::state::AccountOverride; ๐ use alloy_rpc_types::state::EvmOverrides; ๐ use alloy_rpc_types::state::StateOverride; ๐ use alloy_rpc_types::state::StateOverridesBuilder; ๐ use alloy_rpc_types::trace::filter::TraceFilter; ๐ 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::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::txpool::TxpoolContent; ๐ use alloy_rpc_types::txpool::TxpoolContentFrom; ๐ use alloy_rpc_types::txpool::TxpoolInspect; ๐ use alloy_rpc_types::txpool::TxpoolInspectSummary; ๐ use alloy_rpc_types::txpool::TxpoolStatus; ๐ use alloy_rpc_types_eth::AccountInfo; ๐ use alloy_rpc_types_eth::Bundle; ๐ use alloy_rpc_types_eth::EthCallResponse; ๐ use alloy_rpc_types_eth::FillTransaction; ๐ use alloy_rpc_types_eth::StateContext; ๐ use alloy_rpc_types_mev::EthCallBundle; ๐ use alloy_rpc_types_mev::EthCallBundleResponse; ๐ use alloy_serde::WithOtherFields; ๐ use alloy_sol_types::SolCall; ๐ use alloy_sol_types::SolValue; ๐ use alloy_sol_types::sol; ๐ use anvil_core::eth::EthRequest; ๐ use anvil_core::eth::TempoConsensusQuery; ๐ use anvil_core::eth::block::Block; ๐ use anvil_core::eth::block::BlockInfo; ๐ use anvil_core::eth::block::canonical_block; ๐ use anvil_core::eth::transaction::MaybeImpersonatedTransaction; ๐ use anvil_core::eth::transaction::PendingTransaction; ๐ use anvil_core::types::NodeBlobParams; ๐ use anvil_core::types::ReorgOptions; ๐ use anvil_core::types::TransactionData; ๐ use anvil_rpc::error::ErrorCode; ๐ use anvil_rpc::error::RpcError; ๐ use anvil_rpc::response::ResponseResult; ๐ use foundry_common::provider::redact_url; ๐ use foundry_common::tempo::PaymentLaneClassification; ๐ use foundry_common::tempo::PaymentLaneReason; ๐ use foundry_common::tempo::classify_payment_lane; ๐ use foundry_common::version::COMMIT_SHA; ๐ use foundry_common::version::SEMVER_VERSION; ๐ use foundry_evm::decode::RevertDecoder; ๐ use foundry_evm::utils::StateChangeset; ๐ use foundry_primitives::FoundryNetwork; ๐ use foundry_primitives::FoundryReceiptEnvelope; ๐ use foundry_primitives::FoundryTransactionRequest; ๐ use foundry_primitives::FoundryTxEnvelope; ๐ use foundry_primitives::FoundryTxReceipt; ๐ use foundry_primitives::FoundryTypedTx; ๐ use futures::StreamExt; ๐ use futures::TryFutureExt; ๐ use futures::channel::mpsc::Receiver; ๐ use futures::channel::oneshot; ๐ use parking_lot::Mutex; ๐ use parking_lot::RwLock; ๐ use revm::context::BlockEnv; ๐ use revm::context_interface::block::BlobExcessGasAndPrice; ๐ use revm::context_interface::result::HaltReason; ๐ use revm::context_interface::result::Output; ๐ use revm::database::CacheDB; ๐ use revm::interpreter::InstructionResult; ๐ use revm::interpreter::SuccessOrHalt; ๐ use revm::interpreter::return_ok; ๐ use revm::interpreter::return_revert; ๐ use std::sync::Arc; ๐ use std::time::Duration; ๐ use tempo_hardfork::TempoHardfork; ๐ use tempo_primitives::AASigned; ๐ use tempo_primitives::TEMPO_TX_TYPE_ID; ๐ use tempo_primitives::transaction::FEE_PAYER_SIGNATURE_MARKER; ๐ use tokio::sync::mpsc; ๐ use tokio::sync::mpsc::UnboundedReceiver; ๐ use tokio::sync::mpsc::unbounded_channel; ๐ use tokio::try_join; ๐ use base_common_consensus::Eip8130Constants; ๐ baseuse base_common_evm::EIP8130_TRANSACTION_TYPE; ๐ baseuse base_common_precompiles::NonceManagerStorage; ๐ baseuse base_common_rpc_types::BaseTransactionRequest; ๐ baseuse base_common_rpc_types::Eip8130Nonce; ๐ baseuse base_execution_eip8130::FeeCheck; ๐ baseuse base_execution_eip8130::IntrinsicGas; ๐ base
- EthApi
- The entry point for executing eth api RPC call - The Eth RPC interface.
- TransactionFeeDefaults ๐
- GasEstimationCallResult ๐
- Keeps result of a call to revm EVM used for gas estimation
- CLIENT_VERSION
- The client version:
anvil/v{major}.{minor}.{patch}
- convert_transact_out ๐
- eip8130_channel_marker ๐
base - eip8130_replay_marker ๐
base - encode_rpc_transaction ๐
- EIP-2718 encodes a transaction held in its JSON-RPC form, reporting the types anvil cannot
encode as
BlockchainError::UnsupportedTransactionEncoding. - ensure_return_ok ๐
- Returns an error if the
exit code is not ok - execution_error ๐
- Maps an EVM exit code to the optional
error string reported in
eth_createAccessList results. - is_simple_transfer_request ๐
- merge_pre_fork_fee_history ๐
- Appends the upstream part of a fee-history range that crosses the fork boundary.
- normalize_fee_payer_service_encoding ๐
- Rewrites the Tempo fee payer service encoding of a raw transaction into the standard envelope
encoding.
- required_marker ๐
- reward_at_percentile ๐
- tempo_nonce_marker ๐
- txpool_transaction_key ๐