apply gas pool/trx execution changes across pkgs
This commit is contained in:
@@ -768,6 +768,9 @@ func (w *worker) commitTransactions(txs *types.TransactionsByPriceAndNonce, coin
|
||||
legacyGasLimit = w.current.header.GasLimit
|
||||
w.current.gasPool = new(core.GasPool).AddGas(legacyGasLimit)
|
||||
}
|
||||
if w.chainConfig.IsEIP1559(w.current.header.Number) && w.current.gp1559 == nil {
|
||||
w.current.gp1559 = new(core.GasPool).AddGas(params.MaxGasEIP1559)
|
||||
}
|
||||
|
||||
var coalescedLogs []*types.Log
|
||||
|
||||
|
||||
Reference in New Issue
Block a user