From bd7d2fd24bec2c0852867d8da09640eb31fe05ad Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 25 Aug 2023 20:43:56 +0200 Subject: [PATCH] core: temporarily change genesis block beacon root for tests --- core/genesis.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/genesis.go b/core/genesis.go index 60fed7daf6..bb4b4daf23 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -491,9 +491,6 @@ func (g *Genesis) ToBlock() *types.Block { if head.BlobGasUsed == nil { head.BlobGasUsed = new(uint64) } - if head.BeaconRoot == nil { - head.BeaconRoot = new(common.Hash) - } } } return types.NewBlock(head, nil, nil, nil, trie.NewStackTrie(nil)).WithWithdrawals(withdrawals)