mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
bb: add ParentBeaconBlockRoot param to BuildBlockArgs
This commit is contained in:
parent
9b2bee565d
commit
25507e068a
2 changed files with 3 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ type BuildBlockArgs struct {
|
|||
GasLimit uint64
|
||||
Random common.Hash
|
||||
Withdrawals []*Withdrawal
|
||||
ParentBeaconBlockRoot common.Hash
|
||||
Extra []byte
|
||||
FillPending bool
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue