Expand description
Anvil specific [revm::Inspector] implementation
Re-exportsยง
use crate::eth::macros::node_info;๐use alloy_evm::precompiles::PrecompilesMap;๐use alloy_primitives::Address;๐use alloy_primitives::B256;๐use alloy_primitives::Log;๐use alloy_primitives::LogData;๐use alloy_primitives::U256;๐use alloy_sol_types::SolValue;๐use foundry_evm::call_inspectors;๐use foundry_evm::decode::decode_console_logs;๐use foundry_evm::inspectors::LogCollector;๐use foundry_evm::inspectors::TracingInspector;๐use foundry_evm::traces::CallTraceDecoder;๐use foundry_evm::traces::CallTraceNode;๐use foundry_evm::traces::SparsedTraceArena;๐use foundry_evm::traces::TracingInspectorConfig;๐use foundry_evm::traces::render_trace_arena_inner;๐use revm::Inspector;๐use revm::context::ContextTr;๐use revm::context::JournalTr;๐use revm::inspector::JournalExt;๐use revm::interpreter::CallInputs;๐use revm::interpreter::CallOutcome;๐use revm::interpreter::CreateInputs;๐use revm::interpreter::CreateOutcome;๐use revm::interpreter::CreateScheme;๐use revm::interpreter::Interpreter;๐use revm::interpreter::interpreter::EthInterpreter;๐use revm_inspectors::transfer::TRANSFER_EVENT_TOPIC;๐use revm_inspectors::transfer::TRANSFER_LOG_EMITTER;๐use revm_inspectors::transfer::TransferInspector;๐use std::sync::Arc;๐
Structsยง
- Anvil
Inspector - The [
revm::Inspector] used when transacting in the evm - Inspector
TxConfig - Configuration for per-transaction inspector lifecycle.
- Simulation
Log ๐ - Simulation
LogCollector ๐ - Collects simulation response logs without inserting synthetic logs into EVM state.
Functionsยง
- print_
logs - Prints all the logs
- print_
traces ๐ - Prints the traces for the inspector