pub trait JournalExt {
// Required methods
fn logs(&self) -> &[Log];
fn last_journal(&self) -> &[JournalEntry];
fn evm_state(&self) -> &EvmState;
fn evm_state_mut(&mut self) -> &mut EvmState;
}
Expand description
Extends the journal with additional methods that are used by the inspector.
Required Methods§
Sourcefn last_journal(&self) -> &[JournalEntry]
fn last_journal(&self) -> &[JournalEntry]
Get the journal entries that are created from last checkpoint. new checkpoint is created when sub call is made.
Sourcefn evm_state_mut(&mut self) -> &mut EvmState
fn evm_state_mut(&mut self) -> &mut EvmState
Return the mutable current Journaled state.