Increase same account percentage in transaction pool for `retesteth` (#4576)

`BlockchainTests/ValidBlocks/bcEIP1559/feeCap.json` performs 16 transactions for the same sender, that's ~4% of the default pool size (i.e. 4096)

Signed-off-by: Diego López León <dieguitoll@gmail.com>
pull/4583/head
Diego López León 2 years ago committed by GitHub
parent 5137e89538
commit 31fa15203b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ethereum/retesteth/src/main/java/org/hyperledger/besu/ethereum/retesteth/RetestethContext.java

@ -204,7 +204,9 @@ public class RetestethContext {
final EthContext ethContext = new EthContext(ethPeers, new EthMessages(), ethScheduler); final EthContext ethContext = new EthContext(ethPeers, new EthMessages(), ethScheduler);
final TransactionPoolConfiguration transactionPoolConfiguration = final TransactionPoolConfiguration transactionPoolConfiguration =
ImmutableTransactionPoolConfiguration.builder().build(); ImmutableTransactionPoolConfiguration.builder()
.txPoolLimitByAccountPercentage(0.004f)
.build();
transactionPool = transactionPool =
TransactionPoolFactory.createTransactionPool( TransactionPoolFactory.createTransactionPool(

Loading…
Cancel
Save