diff --git a/core/types/suave_structs.go b/core/types/suave_structs.go index 849acfcf9b..dbf1b5ef25 100644 --- a/core/types/suave_structs.go +++ b/core/types/suave_structs.go @@ -18,6 +18,7 @@ type BuildBlockArgs struct { GasLimit uint64 Random common.Hash Withdrawals []*Withdrawal + ParentBeaconBlockRoot common.Hash Extra []byte FillPending bool } diff --git a/miner/worker.go b/miner/worker.go index 6282aecc5b..bcf0ae470f 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -1291,6 +1291,7 @@ func (w *worker) buildBlockFromTxs(ctx context.Context, args *types.BuildBlockAr random: args.Random, extra: args.Extra, withdrawals: args.Withdrawals, + beaconRoot: &args.ParentBeaconBlockRoot, // noUncle: true, noTxs: false, } @@ -1339,6 +1340,7 @@ func (w *worker) buildBlockFromBundles(ctx context.Context, args *types.BuildBlo random: args.Random, extra: args.Extra, withdrawals: args.Withdrawals, + beaconRoot: &args.ParentBeaconBlockRoot, // noUncle: true, noTxs: false, }