Fixed desired gas limit setting in the reference tests service (#4170)

Signed-off-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>

Co-authored-by: Justin Florentine <justin+github@florentine.us>
pull/4175/head
Roman Vaseev 2 years ago committed by GitHub
parent eabbea604d
commit ebfdab1585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethereum/retesteth/src/main/java/org/hyperledger/besu/ethereum/retesteth/methods/TestMineBlocks.java

@ -64,7 +64,7 @@ public class TestMineBlocks implements JsonRpcMethod {
final PoWBlockCreator blockCreator = final PoWBlockCreator blockCreator =
new PoWBlockCreator( new PoWBlockCreator(
context.getCoinbase(), context.getCoinbase(),
() -> Optional.of(10_000_000L), () -> Optional.of(blockchain.getChainHeadHeader().getGasLimit()),
header -> context.getExtraData(), header -> context.getExtraData(),
context.getTransactionPool().getPendingTransactions(), context.getTransactionPool().getPendingTransactions(),
protocolContext, protocolContext,

Loading…
Cancel
Save