Skip to content

Commit

Permalink
feat: test hekla
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed May 2, 2024
1 parent ce5e011 commit decbb17
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions miner/taiko_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ func (w *worker) BuildTransactionsLists(

var (
signer = types.MakeSigner(w.chainConfig, new(big.Int).Add(currentHead.Number, common.Big1), currentHead.Time)
// Split the pending transactions into locals and remotes, then
// fill the block with all available pending transactions.
localTxs, remoteTxs = w.getPendingTxs(localAccounts, baseFee)
)

commitTxs := func() (*PreBuiltTxList, error) {
Expand All @@ -73,10 +76,6 @@ func (w *worker) BuildTransactionsLists(
env.gasPool = new(core.GasPool).AddGas(blockMaxGasLimit)
env.header.GasLimit = blockMaxGasLimit

// Split the pending transactions into locals and remotes, then
// fill the block with all available pending transactions.
localTxs, remoteTxs := w.getPendingTxs(localAccounts, baseFee)

w.commitL2Transactions(
env,
newTransactionsByPriceAndNonce(signer, localTxs, baseFee),
Expand Down

0 comments on commit decbb17

Please sign in to comment.