Skip to content

Commit

Permalink
Fixed desired gas limit setting in the reference tests service
Browse files Browse the repository at this point in the history
  • Loading branch information
Filter94 committed Jul 26, 2022
1 parent 9799887 commit 522ab92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private boolean mineNewBlock() {
final PoWBlockCreator blockCreator =
new PoWBlockCreator(
context.getCoinbase(),
() -> Optional.of(10_000_000L),
() -> Optional.of(blockchain.getChainHeadHeader().getGasLimit()),
header -> context.getExtraData(),
context.getTransactionPool().getPendingTransactions(),
protocolContext,
Expand Down

0 comments on commit 522ab92

Please sign in to comment.