Skip to main content

Module revert_diagnostic

Module revert_diagnostic 

Source

Re-exportsยง

use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::map::HashMap; ๐Ÿ”’
use foundry_evm_core::constants::CHEATCODE_ADDRESS; ๐Ÿ”’
use foundry_evm_core::constants::HARDHAT_CONSOLE_ADDRESS; ๐Ÿ”’
use foundry_evm_traces::RevertDiagnostic as DetailedRevertReason; ๐Ÿ”’
use revm::Inspector; ๐Ÿ”’
use revm::bytecode::opcode; ๐Ÿ”’
use revm::context::ContextTr; ๐Ÿ”’
use revm::context::JournalTr; ๐Ÿ”’
use revm::interpreter::CallInputs; ๐Ÿ”’
use revm::interpreter::CallOutcome; ๐Ÿ”’
use revm::interpreter::CallScheme; ๐Ÿ”’
use revm::interpreter::Interpreter; ๐Ÿ”’
use revm::interpreter::interpreter_types::Jumps; ๐Ÿ”’

Structsยง

RevertDiagnostic
An inspector that tracks call context to enhances revert diagnostics. Useful for understanding reverts that are not linked to custom errors or revert strings.

Constantsยง

IGNORE ๐Ÿ”’

Functionsยง

is_delegatecall
Checks if the call scheme corresponds to any sort of delegate call