Skip to content

Commit 2037c53

Browse files
authored
core/state: correct expected value in TestMessageCallGas (#32780)
1 parent c1e9d78 commit 2037c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/state/access_events_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func TestMessageCallGas(t *testing.T) {
131131
}
132132
gas = ae.CodeHashGas(testAddr, false, math.MaxUint64, false)
133133
if gas != params.WitnessChunkReadCost {
134-
t.Fatalf("incorrect gas computed, got %d, want %d", gas, 0)
134+
t.Fatalf("incorrect gas computed, got %d, want %d", gas, params.WitnessChunkReadCost)
135135
}
136136

137137
// Check warm read cost

0 commit comments

Comments
 (0)