Skip to content

Updates to error reporting checks between FQ versions#21757

Open
simsonraj wants to merge 1 commit intodevelopfrom
update-post-validation
Open

Updates to error reporting checks between FQ versions#21757
simsonraj wants to merge 1 commit intodevelopfrom
update-post-validation

Conversation

@simsonraj
Copy link
Copy Markdown
Contributor

@simsonraj simsonraj commented Mar 27, 2026

re-orgd validations to make it more clear and aligns with the business validations to ensure 2.0 errors captured even when wrong values are propagated from 1.6 - to align with billing expectations

@simsonraj simsonraj requested a review from a team as a code owner March 27, 2026 20:31
Copilot AI review requested due to automatic review settings March 27, 2026 20:31
@simsonraj simsonraj requested review from a team as code owners March 27, 2026 20:31
@github-actions
Copy link
Copy Markdown
Contributor

👋 simsonraj, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

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 FeeQuoter cross-version validation to better align reported errors with the business “expected” fee values (so v2.0 misconfigs are caught even if incorrect values were propagated forward from v1.6).

Changes:

  • Adjusts v1.6 dest-chain validation to always enforce topology-derived NetworkFeeUSDCents / DefaultTokenFeeUSDCents and treat GasMultiplierWeiPerEth as a deploy-constant.
  • Adjusts v2.0 dest-chain validation by splitting “deploy-constants” vs “topology” checks and simplifying v1.5/v1.6 cross-version mappings (removing fee-field cross-checks).
  • Updates cross-version tests to use topology/deploy constants rather than v1.5-derived values for the relevant fields.

Reviewed changes

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

File Description
deployment/ccip/shared/stateview/evm/validate_feequoter.go Updates v1.6/v2.0 dest-chain validations to enforce expected fee fields more consistently across versions.
deployment/ccip/shared/stateview/evm/validate_feequoter_test.go Updates cross-version test configs to match the new topology/deploy-constant validation expectations.

@cl-sonarqube-production
Copy link
Copy Markdown

@trunk-io
Copy link
Copy Markdown

trunk-io bot commented Mar 27, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

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