aboutsummaryrefslogtreecommitdiffstats
path: root/eth/tracers/tracers_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/tracers/tracers_test.go')
-rw-r--r--eth/tracers/tracers_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/tracers/tracers_test.go b/eth/tracers/tracers_test.go
index 2d6b0023b..1436cc67f 100644
--- a/eth/tracers/tracers_test.go
+++ b/eth/tracers/tracers_test.go
@@ -180,6 +180,7 @@ func TestPrestateTracerCreate2(t *testing.T) {
t.Fatalf("failed to prepare transaction for tracing: %v", err)
}
st := core.NewStateTransition(evm, msg, new(core.GasPool).AddGas(tx.Gas()))
+ core.TestingMode = true
if _, _, _, err = st.TransitionDb(); err != nil {
t.Fatalf("failed to execute transaction: %v", err)
}