This release introduces Dynamic Target Gas (--miner.enableDynamicTargetGas), a new mechanism that allows Polygon PoS blocks to deliver full gas limit capacity while keeping BaseFee stable.
The existing Dynamic Gas Limit mechanism controlled BaseFee by shrinking the block gas limit, effective at price stabilisation, but at the cost of capacity. Reduced capacity makes the network more susceptible to priority fee spikes, since fewer transactions fit per block.
Dynamic Target Gas takes a different approach: the block gas limit stays at 100%, and only the EIP-1559 fill target percentage moves. When BaseFee is below the target, the fill target rises, allowing blocks to be fuller. When BaseFee climbs above the target, the fill target drops, applying just enough downward pressure to bring the price back, without ever reducing the actual block capacity available to users.
| Flag | Description |
|---|---|
--miner.enableDynamicTargetGas
| Enable dynamic EIP-1559 target gas adjustment (post-Lisovo, mutually exclusive with enableDynamicGasLimit)
|
--miner.targetBaseFee
| Target base fee in wei the mechanism tries to hold (e.g. 30000000000 for 30 gwei)
|
--miner.targetGasMinPercentage
| Minimum target gas percentage (1–100) the mechanism can set |
--miner.targetGasMaxPercentage
| Maximum target gas percentage (1–100) the mechanism can set |
This release also includes a number of bug fixes and minor improvements, see the full changelog below.
What's Changed
Bug Fixes
- eth: fix overflow impacting milestone lock and syncing by @marcello33 in #2111
- eth/handler: fix issue 55 by @ marcello33 in #2084
- fix root hash calculation during reorgs by @ marcello33 in #2080
- core/rawdb, p2p, eth: fix graceful shutdown of pruner and dial scheduler by @kamuikatsurgi in #2079
- fix(server): wire Identity config to node.UserIdent in buildNode by @minhd-vu in #2105
- internal/cli/server: wire txpool.locals flag to txpool config by @manav2401 in #2114
- Clean up lastRebroadcast on transaction rejection by @LarryArnault45 in #2038
- fix govuln by @ marcello33 in #2081
Features
Dependencies
- build(deps): bump github.com/pion/dtls/v3 from 3.0.10 to 3.0.11 by @dependabot in #2086
- build(deps): bump filippo.io/edwards25519 from 1.1.0 to 1.1.1 by @dependabot in #2069
CI / Infra
- fix: avoid mirror.gcr.io images by @kamuikatsurgi in #2102
- chore: remove pumba compatibility step from stateless e2e by @kamuikatsurgi in #2083
Full Changelog: v2.6.2...v2.6.3-beta