Skip to content

Commit

Permalink
format taiko comment (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp authored May 4, 2024
1 parent 286ffe2 commit 6094ec3
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -925,15 +925,16 @@ func (w *worker) commitTransactions(env *environment, plainTxs, blobTxs *transac

// generateParams wraps various of settings for generating sealing task.
type generateParams struct {
timestamp uint64 // The timestamp for sealing task
forceTime bool // Flag whether the given timestamp is immutable or not
parentHash common.Hash // Parent block hash, empty means the latest chain head
coinbase common.Address // The fee recipient address for including transaction
random common.Hash // The randomness generated by beacon chain, empty before the merge
withdrawals types.Withdrawals // List of withdrawals to include in block.
beaconRoot *common.Hash // The beacon root (cancun field).
noTxs bool // Flag whether an empty block without any transaction is expected
baseFeePerGas *big.Int // CHANGE(taiko): The base fee per gas for the next block
timestamp uint64 // The timestamp for sealing task
forceTime bool // Flag whether the given timestamp is immutable or not
parentHash common.Hash // Parent block hash, empty means the latest chain head
coinbase common.Address // The fee recipient address for including transaction
random common.Hash // The randomness generated by beacon chain, empty before the merge
withdrawals types.Withdrawals // List of withdrawals to include in block.
beaconRoot *common.Hash // The beacon root (cancun field).
noTxs bool // Flag whether an empty block without any transaction is expected
// CHANGE(taiko): The base fee per gas for the next block
baseFeePerGas *big.Int
}

// prepareWork constructs the sealing task according to the given parameters,
Expand Down

0 comments on commit 6094ec3

Please sign in to comment.