Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- `--Xplugin-rocksdb-blob-garbage-collection-age-cutoff`, `--Xplugin-rocksdb-blob-garbage-collection-force-threshold` BlobDB GC config options [#8599](https://github.com/hyperledger/besu/pull/8599)
- Update discovery library to 25.4.0 [#8635](https://github.com/hyperledger/besu/pull/8635)
- Increase default target-gas-limit to 60M for Ephemery [#8622](https://github.com/hyperledger/besu/pull/8622)
- Increase default target-gas-limit to 60M for Hoodi [#8705](https://github.com/hyperledger/besu/pull/8705)
- Estimate gas on pending block by default [#8627](https://github.com/hyperledger/besu/pull/8627)
- Upgrade Gradle to 8.14 and related plugins [#8638](https://github.com/hyperledger/besu/pull/8638)
- Make gas estimation strict by default [#8629](https://github.com/hyperledger/besu/pull/8629)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,16 @@ public class MergeCoordinator implements MergeMiningCoordinator, BadChainListene

private static final long DEFAULT_TARGET_GAS_LIMIT = 36_000_000L;
// testnets might have higher gas limits than mainnet and are incrementally updated
private static final long DEFAULT_TARGET_GAS_LIMIT_TESTNET = 36_000_000L;
private static final long NEXT_STEP_TARGET_GAS_LIMIT_TESTNET = 60_000_000L;
private static final long DEFAULT_TARGET_GAS_LIMIT_TESTNET = 60_000_000L;
Copy link
Copy Markdown
Contributor

@Gabriel-Trintinalia Gabriel-Trintinalia May 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should consider moving these values to NetworkName

// next target gas limit TBD
// private static final long NEXT_STEP_TARGET_GAS_LIMIT_TESTNET = 60_000_000L;

private static final Map<BigInteger, Long> TESTNET_CHAIN_IDS =
Map.of(
BigInteger.valueOf(11155111), NEXT_STEP_TARGET_GAS_LIMIT_TESTNET, // Sepolia
BigInteger.valueOf(17000), NEXT_STEP_TARGET_GAS_LIMIT_TESTNET, // Holesky
BigInteger.valueOf(11155111), DEFAULT_TARGET_GAS_LIMIT_TESTNET, // Sepolia
BigInteger.valueOf(17000), DEFAULT_TARGET_GAS_LIMIT_TESTNET, // Holesky
BigInteger.valueOf(560048), DEFAULT_TARGET_GAS_LIMIT_TESTNET, // Hoodi
BigInteger.valueOf(39438135), NEXT_STEP_TARGET_GAS_LIMIT_TESTNET // Ephemery
BigInteger.valueOf(39438135), DEFAULT_TARGET_GAS_LIMIT_TESTNET // Ephemery
);

/** The Mining parameters. */
Expand Down
Loading