-
Notifications
You must be signed in to change notification settings - Fork 52
feat(solana): remove client_id and chain_id from PDA derivations #715
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
base: feat/solana
Are you sure you want to change the base?
Conversation
- Changed module names from hyphenated to underscore format - Updated ModuleSolanaToCosmos from "solana-to-cosmos" to "solana_to_cosmos" - Updated ModuleCosmosToSolana from "cosmos-to-solana" to "cosmos_to_solana" - Ensures consistency with other module naming conventions
Key additions: - Complete IBC flow: Add full send → relay → acknowledge pipeline for both send_transfer and send_packet - Bidirectional clients: WASM light client on Cosmos + Tendermint client on Solana - Token transfer validation: Verify IBC denom construction and minting on destination - Mock proof support: Enable testing with MockWasmClient flag Relayer fixes: - Fix encoding json → application/json for IBC compatibility - Proper hex decoding for transaction hashes (hex.DecodeString vs []byte) - Mock proof injection and protobuf transaction encoding Transaction size constraint: - Document Solana 1644-byte limit blocking acknowledgments (1892 bytes actual) - Skip oversized transactions with TODO for optimization Infrastructure: - Extract shared Solana utilities to solana/solana.go - Add SolDenom constant and getSolDenomOnCosmos() helper
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/solana #715 +/- ##
==============================================
Coverage ? 99.86%
==============================================
Files ? 17
Lines ? 767
Branches ? 0
==============================================
Hits ? 766
Misses ? 1
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Thanks for the work. I think all the changes in ics26 should be reverted. You can't remove client_id from commitment paths.
PACKET_COMMITMENT_SEED, | ||
msg.packet.source_client.as_bytes(), | ||
&msg.packet.sequence.to_le_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.
I don't think you can do this is ics26 router
Description
Remove
client_id
andchain_id
parameters from all Program Derived Address derivation functions and account constraints across Solana programs, relayer, and E2E tests.closes: #XXXX
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.
godoc
comments.Files changed
in the GitHub PR explorer.SonarCloud Report
in the comment section below once CI passes.