mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: Execution Stage owns Executor (#1568)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com> Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
This commit is contained in:
committed by
GitHub
parent
71bc1451af
commit
4285186dbd
@ -10,7 +10,7 @@ use revm::{
|
||||
/// - Block: Hook on block execution
|
||||
/// - BlockWithIndex: Hook on block execution transaction index
|
||||
/// - Transaction: Hook on a specific transaction hash
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Clone)]
|
||||
pub enum Hook {
|
||||
#[default]
|
||||
/// No hook.
|
||||
@ -23,7 +23,7 @@ pub enum Hook {
|
||||
All,
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Clone)]
|
||||
/// An inspector that calls multiple inspectors in sequence.
|
||||
///
|
||||
/// If a call to an inspector returns a value other than [InstructionResult::Continue] (or
|
||||
|
||||
Reference in New Issue
Block a user