-
Notifications
You must be signed in to change notification settings - Fork 59
feat(solana): gmp result pda #870
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
Conversation
aba3596 to
db94555
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #870 +/- ##
==========================================
+ Coverage 73.03% 73.73% +0.70%
==========================================
Files 110 110
Lines 15359 15930 +571
==========================================
+ Hits 11217 11746 +529
- Misses 4142 4184 +42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
srdtrk
left a comment
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.
The approach is good imo. I left some improvements and suggestions, would be good to get CI passing as well, including coverage)
programs/solana/programs/ics27-gmp/src/instructions/on_timeout_packet.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: srdtrk <[email protected]>
Co-authored-by: srdtrk <[email protected]>
Co-authored-by: srdtrk <[email protected]>
# Conflicts: # e2e/interchaintestv8/solana_gmp_test.go
srdtrk
left a comment
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.
Just address it, and the rest be handled in IFT PR
packages/relayer/modules/cosmos-to-solana/src/tx_builder/chunking.rs
Outdated
Show resolved
Hide resolved
programs/solana/programs/ics27-gmp/src/instructions/on_ack_packet.rs
Outdated
Show resolved
Hide resolved
programs/solana/programs/ics27-gmp/src/instructions/on_timeout_packet.rs
Outdated
Show resolved
Hide resolved
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #870 +/- ##
==========================================
+ Coverage 73.03% 73.72% +0.69%
==========================================
Files 110 110
Lines 15359 15923 +564
==========================================
+ Hits 11217 11739 +522
- Misses 4142 4184 +42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| } | ||
|
|
||
| #[event] | ||
| pub struct GMPCallAcknowledged { |
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.
Not resolved
| .map(|pda| pda.to_bytes().to_vec()) | ||
| }) | ||
| .unwrap_or_default()), | ||
| [] => Ok(vec![]), |
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.
Is this because the function has to handle non-gmp payloads? Otherwise why is this not an error
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.
yes, it is handling non-gmp payload since it's used in build_ack_packet_chunked
srdtrk
left a comment
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.
lgtm. Can merge when CI passes
Description
closes: #849
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
godoccomments.Files changedin the GitHub PR explorer.SonarCloud Reportin the comment section below once CI passes.