nethermind
nethermind copied to clipboard
fix(evm): use IsTracingOpLevelStorage for op-level storage events
Switch TLOAD, TSTORE, SSTORE (un/metered) and SLOAD to guard Set/LoadOperation* calls with IsTracingOpLevelStorage rather than IsTracingStorage. This matches the ITxTracer contract and wrapper tracers, ensuring op-level traces are emitted when only op-level storage tracing is enabled.
test need to be adjusted