Skip to content

DF-24352 new LimitDefault for Mantle after Arsia upgrade#460

Merged
vlfig merged 1 commit intodevelopfrom
update-mantle-conf
May 7, 2026
Merged

DF-24352 new LimitDefault for Mantle after Arsia upgrade#460
vlfig merged 1 commit intodevelopfrom
update-mantle-conf

Conversation

@vlfig
Copy link
Copy Markdown
Contributor

@vlfig vlfig commented May 5, 2026

Following the Mantle Arsia upgrade, eth_estimateGas now returns pure L2 execution gas (no amortised L1 data costs anymore). Our transactions use about ~117,600. After INCIDENT-2427 NOPs overrode LimitDefault to 500_000.

Still a ~4× overestimate but nothing that would cause issues, and is in line with other EVMs so for consistency that's what we're picking here.

  • BumpPercent (20) dominates over BumpMin - no point in changing it.
  • Removed useless BumpPercent chain-override for testnet.
  • LimitMax isn't used in BlockHistoryEstimator - its presence is misleading, so removed.

Requires

Supports

@vlfig vlfig marked this pull request as ready for review May 5, 2026 16:23
Copilot AI review requested due to automatic review settings May 5, 2026 16:23
@vlfig vlfig requested a review from a team as a code owner May 5, 2026 16:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Mantle (mainnet + sepolia) EVM chain default TOML settings to reflect the post-Arsia fee model change where eth_estimateGas returns L2 execution gas only, and aligns the configured gas limit defaults with other EVM chains.

Changes:

  • Reduced Mantle GasEstimator.LimitDefault from very large values to 500_000 for both mainnet and sepolia.
  • Removed Mantle GasEstimator.LimitMax chain overrides.
  • Updated inline comments to reference the post-Arsia fee model documentation; removed BumpPercent override from Mantle Sepolia.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
pkg/config/toml/defaults/Mantle_Sepolia.toml Lowers LimitDefault, removes LimitMax override, updates fee-model comment, and drops explicit BumpPercent.
pkg/config/toml/defaults/Mantle_Mainnet.toml Lowers LimitDefault, removes LimitMax override, and updates fee-model comment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/config/toml/defaults/Mantle_Sepolia.toml Outdated
Comment thread pkg/config/toml/defaults/Mantle_Mainnet.toml Outdated
Comment thread pkg/config/toml/defaults/Mantle_Sepolia.toml Outdated
@vlfig vlfig enabled auto-merge (squash) May 5, 2026 16:36
@vlfig vlfig changed the title DF-24352 new LimitDefault for Mantle DF-24352 new LimitDefault for Mantle after Arsia upgrade May 6, 2026
amit-momin
amit-momin previously approved these changes May 6, 2026
mainnet and sepolia
gas_used for transmissions is ~117600
500k is more than enough and in line w/ others
BumpPercent dominates BumpMin - stays at default
@vlfig vlfig merged commit f91f459 into develop May 7, 2026
34 checks passed
@vlfig vlfig deleted the update-mantle-conf branch May 7, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants