Skip to content

Commit

Permalink
Upstream erigon3 alpha2
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Aug 7, 2024
1 parent dc56b18 commit 6f14cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/state_test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (t *StateTest) RunNoVerify(tx kv.RwTx, subtest StateSubtest, vmconfig vm.Co
context.PrevRanDao = &rnd
context.Difficulty = big.NewInt(0)
}
if config.IsCancun(block.Time()) && t.json.Env.ExcessBlobGas != nil {
if config.IsCancun(block.NumberU64(), block.Time()) && t.json.Env.ExcessBlobGas != nil {
context.BlobBaseFee, err = misc.GetBlobGasPrice(config, *t.json.Env.ExcessBlobGas)
if err != nil {
return nil, libcommon.Hash{}, err
Expand Down

0 comments on commit 6f14cc6

Please sign in to comment.