core: temporarily change genesis block beacon root for tests

This commit is contained in:
Felix Lange 2023-08-25 20:43:56 +02:00
parent 0d2ec8e181
commit bd7d2fd24b

View file

@ -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)