From 09fcf89ea491240273d4b10a61a6822ba395db68 Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Wed, 8 May 2024 22:52:15 +0000 Subject: [PATCH] core: Add requests hash to genesis if Prague --- core/genesis.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/genesis.go b/core/genesis.go index f05e84199ae4..1eb3b9115f40 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -475,6 +475,9 @@ func (g *Genesis) ToBlock() *types.Block { head.BlobGasUsed = new(uint64) } } + if conf.IsPrague(num, g.Timestamp) { + head.RequestsHash = &types.EmptyRequestsHash + } } return types.NewBlock(head, nil, nil, nil, trie.NewStackTrie(nil)).WithWithdrawals(withdrawals) }