Skip to content

Commit e67761e

Browse files
allformlessjwasingers1na
authored
eth/tracers: fix testcase 7702_delegate (#32349)
Fixes a prestateTracer test case covering 7702 delegation. --------- Co-authored-by: Jared Wasinger <[email protected]> Co-authored-by: Sina Mahmoodi <[email protected]>
1 parent f90eb3e commit e67761e

File tree

2 files changed

+66
-34
lines changed

2 files changed

+66
-34
lines changed

eth/tracers/internal/tracetest/prestate_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ func testPrestateTracer(tracerName string, dirPath string, t *testing.T) {
109109
if err != nil {
110110
t.Fatalf("failed to execute transaction: %v", err)
111111
}
112+
if vmRet.Failed() {
113+
t.Logf("(warn) transaction failed: %v", vmRet.Err)
114+
}
112115
tracer.OnTxEnd(&types.Receipt{GasUsed: vmRet.UsedGas}, nil)
113116
// Retrieve the trace result and compare against the expected
114117
res, err := tracer.GetResult()

0 commit comments

Comments
 (0)