Skip to content

Conversation

RensR
Copy link
Collaborator

@RensR RensR commented Oct 17, 2025

CCVs are allowed to charge fees in dollars. Currently, these fees are not converted, this will be done in a future PR.

in scope of this PR

  • CCV Fee config
  • Calling CCVs for their fee config
  • E2E coverage for fees
  • Merging all Receipts into a single list
  • Improved _evmMessageToEvent accuracy: it fully resolves CCV fees
    • This updated all tests that rely on this function to include fee checks

This PR removes the onRamp and the committeeVerifier from the coverage pruning, meaning they must always remain >98% cov now.

Receipt[] verifierReceipts,
Receipt executorReceipt,
bytes[] receiptBlobs
Receipt[] receipts,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All receipts are now part of this single list

bytes[] verifierBlobs
);

struct CCIPMessageSentEventData {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was introduced to resolve the stack-too-deep and feels cleaner than re-stating variables.


// Change chain ID to simulate fork.
uint256 originalChainId = block.chainid;
uint256 originalChainId = uint128(block.chainid);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is to make running tests with via-ir work

@RensR RensR marked this pull request as ready for review October 17, 2025 14:24
@RensR RensR requested a review from a team as a code owner October 17, 2025 14:24
Copy link

Metric ccv-fees develop
Coverage 69.4% 69.0%

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.

1 participant