Trait evmodin::tracing::Tracer[][src]

pub trait Tracer {
    fn notify_execution_start(
        &mut self,
        revision: Revision,
        message: Message,
        code: Bytes
    );
fn notify_instruction_start(
        &mut self,
        pc: usize,
        opcode: OpCode,
        state: &ExecutionState
    );
fn notify_execution_end(&mut self, output: &Output); }
Expand description

Passed into execution context to collect metrics.

Required methods

Called when execution starts.

Called on each instruction.

Called when execution ends.

Implementors