apply gas pool/trx execution changes across pkgs

This commit is contained in:
Ian Norden
2020-07-03 14:26:02 -05:00
parent 3f23513ef4
commit 9c33f94f40
+3
View File
@@ -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