Skip to content

Commit

Permalink
Fix ReportActionRevert behavior for parity traces
Browse files Browse the repository at this point in the history
  • Loading branch information
natebeauregard committed Apr 24, 2024
1 parent 8dfc8d1 commit 11f180e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nethermind/Nethermind.Evm/Tracing/TxTracer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public virtual void ReportAction(long gas, UInt256 value, Address from, Address
public virtual void ReportActionEnd(long gas, ReadOnlyMemory<byte> output) { }
public virtual void ReportActionError(EvmExceptionType evmExceptionType) { }
public virtual void ReportActionEnd(long gas, Address deploymentAddress, ReadOnlyMemory<byte> deployedCode) { }
public virtual void ReportActionRevert(long gas, ReadOnlyMemory<byte> output) { }
public virtual void ReportActionRevert(long gas, ReadOnlyMemory<byte> output) => ReportActionError(EvmExceptionType.Revert);
public virtual void ReportBlockHash(Hash256 blockHash) { }
public virtual void ReportByteCode(ReadOnlyMemory<byte> byteCode) { }
public virtual void ReportGasUpdateForVmTrace(long refund, long gasAvailable) { }
Expand Down

0 comments on commit 11f180e

Please sign in to comment.