diff --git a/core/state/access_events_test.go b/core/state/access_events_test.go index 5e1fee767c..e80859a0b4 100644 --- a/core/state/access_events_test.go +++ b/core/state/access_events_test.go @@ -131,7 +131,7 @@ func TestMessageCallGas(t *testing.T) { } gas = ae.CodeHashGas(testAddr, false, math.MaxUint64, false) if gas != params.WitnessChunkReadCost { - t.Fatalf("incorrect gas computed, got %d, want %d", gas, 0) + t.Fatalf("incorrect gas computed, got %d, want %d", gas, params.WitnessChunkReadCost) } // Check warm read cost