diff --git a/src/Nethermind/Nethermind.Evm/Instructions/EvmInstructions.Storage.cs b/src/Nethermind/Nethermind.Evm/Instructions/EvmInstructions.Storage.cs index dd8abad4ee6..8c082c14f94 100644 --- a/src/Nethermind/Nethermind.Evm/Instructions/EvmInstructions.Storage.cs +++ b/src/Nethermind/Nethermind.Evm/Instructions/EvmInstructions.Storage.cs @@ -53,7 +53,7 @@ public static EvmExceptionType InstructionTLoad(VirtualMachine vm, stack.PushBytes(value); // If storage tracing is enabled, record the operation (ensuring gas remains non-negative). - if (vm.TxTracer.IsTracingStorage) + if (vm.TxTracer.IsTracingOpLevelStorage) { if (gasAvailable < 0) goto OutOfGas; vm.TxTracer.LoadOperationTransientStorage(storageCell.Address, result, value); @@ -106,7 +106,7 @@ public static EvmExceptionType InstructionTStore(VirtualMachine vm, ref EvmStack vm.WorldState.SetTransientState(in storageCell, !bytes.IsZero() ? bytes.ToArray() : BytesZero32); // If storage tracing is enabled, retrieve the current stored value and log the operation. - if (vm.TxTracer.IsTracingStorage) + if (vm.TxTracer.IsTracingOpLevelStorage) { if (gasAvailable < 0) goto OutOfGas; ReadOnlySpan currentValue = vm.WorldState.GetTransientState(in storageCell); @@ -400,7 +400,7 @@ internal static EvmExceptionType InstructionSStoreUnmetered(Virtua TraceSstore(vm, newIsZero, in storageCell, bytes); } - if (vm.TxTracer.IsTracingStorage) + if (vm.TxTracer.IsTracingOpLevelStorage) { vm.TxTracer.SetOperationStorage(storageCell.Address, result, bytes, currentValue); } @@ -560,7 +560,7 @@ internal static EvmExceptionType InstructionSStoreMetered(VirtualMachine v stack.PushBytes(value); // Log the storage load operation if tracing is enabled. - if (vm.TxTracer.IsTracingStorage) + if (vm.TxTracer.IsTracingOpLevelStorage) { vm.TxTracer.LoadOperationStorage(executingAccount, result, value); }