referrerpolicy=no-referrer-when-downgrade

EVMFrameTraceInfo

Trait EVMFrameTraceInfo 

Source
pub trait EVMFrameTraceInfo: FrameTraceInfo {
    // Required methods
    fn memory_snapshot(&self, limit: usize) -> Vec<Bytes>;
    fn stack_snapshot(&self) -> Vec<Bytes>;
}
Expand description

Interface to provide EVM-specific trace information for the current execution frame.

Required Methods§

Source

fn memory_snapshot(&self, limit: usize) -> Vec<Bytes>

Get a snapshot of the memory at this point in execution.

§Parameters
  • limit: Maximum number of memory words to capture.
Source

fn stack_snapshot(&self) -> Vec<Bytes>

Get a snapshot of the stack at this point in execution.

Implementors§