Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
### Additions and Improvements
- Introduce the `TransactionValidatorService` to allow plugins to add custom validation rules [#8793](https://github.com/hyperledger/besu/pull/8793)
- Enable parallel tx processing by default if Bonsai is used [#8668](https://github.com/hyperledger/besu/pull/8668)
- Increase mainnet gas limit to 45M [#8824](https://github.com/hyperledger/besu/pull/8824)


#### Fusaka Devnet
- EIP-7825 - Transaction gas limit cap [#8700](https://github.com/hyperledger/besu/pull/8700)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public class MergeCoordinator implements MergeMiningCoordinator, BadChainListene
*/
private static final double TRY_FILL_BLOCK = 1.0;

private static final long DEFAULT_TARGET_GAS_LIMIT = 36_000_000L;
// if you change these gas limits, also update the tests in MergeCoordinatorTest
private static final long DEFAULT_TARGET_GAS_LIMIT = 45_000_000L;
// testnets might have higher gas limits than mainnet and are incrementally updated
private static final long DEFAULT_TARGET_GAS_LIMIT_TESTNET = 60_000_000L;
// next target gas limit TBD
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ public void shouldSetCorrectTargetGasLimit(final ArgumentsAccessor argumentsAcce

public static Stream<Arguments> getGasLimits() {
return Stream.of(
Arguments.of("mainnet", 1L, 36_000_000L),
Arguments.of("mainnet", 1L, 45_000_000L),
Arguments.of("holesky", 17_000L, 60_000_000L),
Arguments.of("sepolia", 11_155_111L, 60_000_000L),
Arguments.of("hoodi", 560_048L, 60_000_000L),
Expand Down Expand Up @@ -1043,7 +1043,7 @@ private BlockHeader terminalPowBlock() {
genesisState.getBlock().getHeader().getNumber() + 1,
genesisState.getBlock().getHeader().getBaseFee().orElse(Wei.of(0x3b9aca00)),
0,
15000000l))
15000000L))
.timestamp(1)
.gasLimit(genesisState.getBlock().getHeader().getGasLimit())
.stateRoot(genesisState.getBlock().getHeader().getStateRoot())
Expand All @@ -1066,7 +1066,7 @@ private BlockHeader nextBlockHeader(
genesisState.getBlock().getHeader().getNumber() + 1,
parentHeader.getBaseFee().orElse(Wei.of(0x3b9aca00)),
0,
15000000l))
15000000L))
.buildHeader();
}

Expand Down
Loading