mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core: put back beaconRoot in genesis
This commit is contained in:
parent
bd7d2fd24b
commit
e923d73276
1 changed files with 1 additions and 0 deletions
|
|
@ -483,6 +483,7 @@ func (g *Genesis) ToBlock() *types.Block {
|
|||
withdrawals = make([]*types.Withdrawal, 0)
|
||||
}
|
||||
if conf.IsCancun(num, g.Timestamp) {
|
||||
head.BeaconRoot = new(common.Hash)
|
||||
head.ExcessBlobGas = g.ExcessBlobGas
|
||||
head.BlobGasUsed = g.BlobGasUsed
|
||||
if head.ExcessBlobGas == nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue