DF-24352 new LimitDefault for Mantle after Arsia upgrade#460
Merged
Conversation
Contributor
There was a problem hiding this comment.
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.LimitDefaultfrom very large values to500_000for both mainnet and sepolia. - Removed Mantle
GasEstimator.LimitMaxchain overrides. - Updated inline comments to reference the post-Arsia fee model documentation; removed
BumpPercentoverride 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.
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
dimriou
approved these changes
May 7, 2026
amit-momin
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following the Mantle Arsia upgrade,
eth_estimateGasnow returns pure L2 execution gas (no amortised L1 data costs anymore). Our transactions use about ~117,600. After INCIDENT-2427 NOPs overrodeLimitDefaultto500_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 overBumpMin- no point in changing it.BumpPercentchain-override for testnet.LimitMaxisn't used inBlockHistoryEstimator- its presence is misleading, so removed.Requires
Supports