Skip to content

Conversation

@huangzhen1997
Copy link
Contributor

No description provided.

@huangzhen1997 huangzhen1997 marked this pull request as ready for review February 1, 2026 19:14
@huangzhen1997 huangzhen1997 requested a review from a team as a code owner February 1, 2026 19:14
Copilot AI review requested due to automatic review settings February 1, 2026 19:14
Copy link
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

This PR adds support for Sui blockchain's extra arguments in the CCIP codec, extending the existing framework that handles EVM and SVM extra arguments.

Changes:

  • Introduced SuiExtraArgsV1 struct to represent Sui-specific transaction parameters
  • Refactored DecodeExtraArgsToMap to use a map-based dispatch mechanism for handling different extra args types
  • Added comprehensive test coverage for Sui extra args encoding/decoding

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
pkg/ccip/bindings/onramp/onramp.go Added SuiExtraArgsV1 struct definition with gas limit, execution ordering, token receiver, and object IDs
pkg/ccip/bindings/onramp/onramp_test.go Added test case to verify encoding and decoding of SuiExtraArgsV1
pkg/ccip/codec/extradatacodec.go Refactored decoder to use map-based type lookup and added Sui extra args tag support
pkg/ccip/codec/extradatacodec_test.go Added test case for decoding Sui extra args into a map

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

krebernisak
krebernisak previously approved these changes Feb 2, 2026
Copy link
Collaborator

@krebernisak krebernisak left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

2 participants