Skip to main content

Module inspectors

Module inspectors 

Source
Expand description

EVM inspectors.

Re-exportsΒ§

pub use self as cheatcodes;

ModulesΒ§

chisel_state πŸ”’
custom_printer πŸ”’
Custom print inspector, it has step level information of execution. It is a great tool if some debugging is needed.
debug_recorder πŸ”’
Records the debugger’s opcode steps straight into a SolDB step table.
edge_cov πŸ”’
logs πŸ”’
revert_diagnostic πŸ”’
script πŸ”’
stack πŸ”’
tempo_labels πŸ”’

StructsΒ§

AccessListInspector
An [Inspector] that collects touched accounts and storage slots.
Cheatcodes
An EVM inspector that handles calls to various cheatcodes, each with their own behavior.
CheatsConfig
Additional, configurable context the Cheatcodes inspector has access to
ChiselState
An inspector for Chisel
CmpOperands
A comparison operand pair captured during execution.
CustomPrintTracer
Custom print [Inspector], it has step level information of execution.
DebugRecorder
Records every opcode step of the debugged calls into a [StepTable], with the steps that each call and creation spans.
EdgeCovConfig
Configuration for EdgeCovInspector.
EdgeCovHit
EdgeCovInspector
An Inspector that tracks edge coverage. Covered edges will not wrap to zero e.g. a loop edge hit more than 255 will still be retained.
EdgeIndexMap
EdgeKey
Fuzzer
An inspector that can fuzz and collect data for that effect.
InspectorData
The collected results of InspectorStack.
InspectorStack
An inspector that calls multiple inspectors in sequence.
InspectorStackBuilder
LineCoverageCollector
Inspector implementation for collecting coverage information.
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.
ScriptExecutionInspector
An inspector that enforces certain rules during script execution.
TempoLabels πŸ”’
Inspector that labels TIP20 token precompile addresses with their on-chain names.
TracingInspector
An inspector that collects call traces.
TracingInspectorConfig
Gives guidance to the TracingInspector.

EnumsΒ§

EdgeCovKind
Edge coverage collection kind.
EdgeCoverage
LogCollector
An inspector that collects logs during execution.
StackSnapshotType
How much of the stack to record. Nothing, just the items pushed, the full stack, or only the top item

ConstantsΒ§

MAX_EDGE_COUNT πŸ”’