Skip to content

DF-24352 Reduce LimitDefault to 500_000 on Mantle#22252

Draft
vlfig wants to merge 1 commit intodevelopfrom
update-mantle-conf
Draft

DF-24352 Reduce LimitDefault to 500_000 on Mantle#22252
vlfig wants to merge 1 commit intodevelopfrom
update-mantle-conf

Conversation

@vlfig
Copy link
Copy Markdown
Contributor

@vlfig vlfig commented Apr 29, 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 pointless chain-override for testnet.
  • LimitMax isn't used in BlockHistoryEstimator - its presence is misleading, so removed.
  • Minor typo.

Requires

smartcontractkit/chainlink-evm#460

Supports

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

✅ No conflicts with other open PRs targeting develop

@vlfig vlfig force-pushed the update-mantle-conf branch from 3d5c839 to 6cba483 Compare April 29, 2026 18:55
@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented Apr 29, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@vlfig vlfig force-pushed the update-mantle-conf branch from 6cba483 to 50988bd Compare May 5, 2026 09:14
@vlfig vlfig marked this pull request as ready for review May 5, 2026 12:25
@vlfig vlfig requested review from a team as code owners May 5, 2026 12:25
Copilot AI review requested due to automatic review settings May 5, 2026 12:25
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

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.LimitDefault and removes LimitMax.
  • 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 LimitDefault value (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.

Comment thread ccip/config/evm/Mantle_Mainnet.toml
Comment thread ccip/config/evm/Mantle_Sepolia.toml Outdated
Comment thread ccip/config/evm/Mantle_Sepolia.toml Outdated
Comment thread .changeset/clean-horses-hear.md Outdated
@vlfig vlfig force-pushed the update-mantle-conf branch from 50988bd to f227ad9 Compare May 5, 2026 12:49
@vlfig vlfig requested a review from a team as a code owner May 5, 2026 12:49
@vlfig vlfig force-pushed the update-mantle-conf branch from f227ad9 to b5d4271 Compare May 5, 2026 14:35
@vlfig vlfig changed the title DF-24352 Reduce LimitDefault from 500_000 to 200_000 for Mantle DF-24352 Reduce LimitDefault to 500_000 on Mantle May 5, 2026
mchain0
mchain0 previously approved these changes May 6, 2026
@vlfig vlfig marked this pull request as draft May 7, 2026 14:21
@vlfig vlfig force-pushed the update-mantle-conf branch from b5d4271 to 0de6a30 Compare May 7, 2026 14:43
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
@vlfig vlfig force-pushed the update-mantle-conf branch from 0de6a30 to 639ee67 Compare May 7, 2026 14:48
@cl-sonarqube-production
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

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.

3 participants