core/state: correct expected value in TestMessageCallGas failure message

This commit is contained in:
Galoretka 2025-09-29 14:23:06 +03:00 committed by GitHub
parent 46b7e78cc0
commit 4af7d9e7f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,7 +131,7 @@ func TestMessageCallGas(t *testing.T) {
} }
gas = ae.CodeHashGas(testAddr, false, math.MaxUint64, false) gas = ae.CodeHashGas(testAddr, false, math.MaxUint64, false)
if gas != params.WitnessChunkReadCost { 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 // Check warm read cost