DF-24352 Reduce LimitDefault to 500_000 on Mantle#22252
Draft
DF-24352 Reduce LimitDefault to 500_000 on Mantle#22252
Conversation
Contributor
|
✅ No conflicts with other open PRs targeting |
3d5c839 to
6cba483
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Risk Rating: MEDIUM
This PR updates the Mantle EVM CCIP chain TOML configs to reflect Mantle’s post-Arsia fee model (L2-only execution gas) by lowering the configured default gas limit and removing a misleading LimitMax setting.
Changes:
- Updates Mantle Mainnet/Sepolia
GasEstimator.LimitDefaultand removesLimitMax. - Adjusts accompanying inline documentation/comments (including a typo fix).
- Adds a changeset describing the Mantle gas limit default change.
Scrupulous human review recommended (operational correctness):
- Confirm the intended
LimitDefaultvalue (PR metadata says 200_000, configs currently set 500_000) and validate it against observed gas usage on Mantle post-Arsia to avoid underestimating and causing TX failures.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| ccip/config/evm/Mantle_Sepolia.toml | Updates Mantle Sepolia gas estimator limits/comments (and removes LimitMax). |
| ccip/config/evm/Mantle_Mainnet.toml | Updates Mantle Mainnet gas estimator limits/comments (and removes LimitMax). |
| .changeset/clean-horses-hear.md | Adds a release note describing the Mantle LimitDefault change. |
mchain0
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 the same
|
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. Removed pointless chain-override for testnet.LimitMaxisn't used inBlockHistoryEstimator- its presence is misleading, so removed.Requires
smartcontractkit/chainlink-evm#460
Supports