Struct revm::NoOpInspector
source[−]pub struct NoOpInspector();
Trait Implementations
before machine get initialized this function is called. If returning something other them Return::Continue we are skipping execution of machine. Read more
get opcode by calling machine.contract.opcode(machine.program_counter())
.
all other information can be obtained from machine. Read more
Called after step
when instruction is executed.
Called inside call_inner with Return
you can dictate if you want to continue execution of
this call Return::Continue
or you want to override that and return from call. Read more
fn create(
&mut self,
_data: &mut EVMData<'_, DB>,
_caller: H160,
_scheme: &CreateScheme,
_value: U256,
_init_code: &Bytes,
_gas: u64
) -> (Return, Option<H160>, Gas, Bytes)
If needed you can override some of the spec configurations when running with inspector
Auto Trait Implementations
impl RefUnwindSafe for NoOpInspector
impl Send for NoOpInspector
impl Sync for NoOpInspector
impl Unpin for NoOpInspector
impl UnwindSafe for NoOpInspector
Blanket Implementations
Mutably borrows from an owned value. Read more