Crate inspector
Expand description
Inspector is a crate that provides a set of traits that allow inspecting the EVM execution.
It is used to implement tracers that can be used to inspect the EVM execution. Implementing inspection is optional and it does not effect the core execution.
Modules§
- handler
- Handler implementations for inspector integration.
- inspectors
- Inspector implementations.
Structs§
- Count
Inspector - Inspector that counts all opcodes that were called during execution.
- NoOp
Inspector - Dummy Inspector, helpful as standalone replacement.
Traits§
- Inspect
Commit Evm - InspectCommitEvm is a API that allows inspecting similar to
InspectEvm
but it has functions that commit the state diff to the database. - Inspect
Evm - InspectEvm is a API that allows inspecting the EVM.
- Inspect
System Call Evm - InspectSystemCallEvm is an API that allows inspecting system calls in the EVM.
- Inspector
- EVM hooks into execution.
- Inspector
EvmTr - Inspector EVM trait. Extends the
EvmTr
trait with inspector related methods. - Inspector
Frame - Trait that extends the
FrameTr
trait with additional functionality that is needed for inspection. - Inspector
Handler - Trait that extends
Handler
with inspection functionality. - Journal
Ext - Extends the journal with additional methods that are used by the inspector.
Functions§
- inspect_
instructions - Run Interpreter loop with inspection support.