Function revm::inspector_handle_register

source ·
pub fn inspector_handle_register<DB: Database, EXT: GetInspector<DB>>(
    handler: &mut EvmHandler<'_, EXT, DB>
)
Expand description

Register Inspector handles that interact with Inspector instance.

§Note

Inspector handle register does not override any existing handlers, and it calls them before (or after) calling Inspector. This means that it is safe to use this register with any other register.

A few instructions handlers are wrapped twice once for step and step_end and in case of Logs and Selfdestruct wrapper is wrapped again for the log and selfdestruct calls.