mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-17 21:46:36 +00:00
core/state: correct expected value in TestMessageCallGas (#32780)
This commit is contained in:
parent
c1e9d78f1f
commit
2037c53e7a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue