-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solana plugin codec implementation #15816
Solana plugin codec implementation #15816
Conversation
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
…NONEVM-935/implement-ccip-solana-plugin-codec
…NONEVM-935/implement-ccip-solana-plugin-codec
require.NoError(t, err) | ||
|
||
commitCodec := NewCommitPluginCodecV1() | ||
decode, err := commitCodec.Decode(testutils.Context(t), buf.Bytes()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we also do the reverse for the same data?
I mean encode with commitCodec, and then decode with borsch decoder?
require.NoError(t, err) | ||
|
||
executeCodec := NewExecutePluginCodecV1() | ||
decode, err := executeCodec.Decode(testutils.Context(t), buf.Bytes()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same reverse comment for execute codec too
core/scripts/go.mod
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These dependency changes seem unintentional
Quality Gate passedIssues Measures |
cd78da0
into
solana-offchain-plugin
Jira reference:
https://smartcontract-it.atlassian.net/browse/NONEVM-935
The codec is implemented using chainlink-ccip gobinding tool.
The onchain sdk will provide a calculation for the token pool accounts, right now it's a fixed account length based on https://github.com/smartcontractkit/chainlink-ccip/blob/main/chains/solana/contracts/tests/ccip/ccip_router_test.go#L4839