Skip to content

NONEVM-5257: remove version check#404

Merged
FelixFan1992 merged 2 commits into
developfrom
nonevm-5257
Jun 8, 2026
Merged

NONEVM-5257: remove version check#404
FelixFan1992 merged 2 commits into
developfrom
nonevm-5257

Conversation

@FelixFan1992

Copy link
Copy Markdown
Collaborator

Describe your changes

..

Issue ticket number and link

..

Describe highly relevant files or code snippets that are critical in the review

..

Are there other PRs that should be merged first?

..

@FelixFan1992 FelixFan1992 marked this pull request as ready for review June 5, 2026 17:41
@FelixFan1992 FelixFan1992 requested a review from a team as a code owner June 5, 2026 17:41
@FelixFan1992 FelixFan1992 requested a review from Copilot June 5, 2026 17:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes the USDC token pool’s receipt “version” gating so the pool no longer aborts solely due to the message_transmitter::receive_message::Receipt.current_version changing across MessageTransmitter upgrades (the MessageTransmitter module already enforces receipt/package-version consistency via assert_valid_receipt_version).

Changes:

  • Deleted the SUPPORTED_USDC_VERSION_U64 constant and its associated comment.
  • Removed EInvalidMessageVersion and the corresponding assertion in validate_receipt.
  • Kept receipt validation focused on source_domain and nonce matching the expected values.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@FelixFan1992 FelixFan1992 merged commit be6ce8f into develop Jun 8, 2026
20 checks passed
@FelixFan1992 FelixFan1992 deleted the nonevm-5257 branch June 8, 2026 19:04
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