add ACCESS_LIST to BlockTransactionSelector (#2248)

Signed-off-by: garyschulte <garyschulte@gmail.com>

Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
pull/2207/head
garyschulte 4 years ago committed by GitHub
parent fa92d328d6
commit a388144f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethereum/blockcreation/src/main/java/org/hyperledger/besu/ethereum/blockcreation/BlockTransactionSelector.java

@ -331,6 +331,7 @@ public class BlockTransactionSelector {
ValidationResult.valid());
}
@SuppressWarnings("FallThrough")
private boolean transactionTooLargeForBlock(
final long blockNumber, final long gasLimit, final Transaction transaction) {
@ -344,6 +345,7 @@ public class BlockTransactionSelector {
gasLimit,
transactionSelectionResult.eip1559CumulativeGasUsed);
case FRONTIER:
case ACCESS_LIST:
return !transactionGasBudgetCalculator.hasBudget(
transaction,
blockNumber,

Loading…
Cancel
Save