-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
solana-ibc: store and read commitments from the trie (#74)
Firstly, since packet and ack commitments are 32-byte long hashes, store them directly in the provable trie rather than storing their hash. Secondly, implement retrieval of the commitments properly. Rather than trying to interpret sequences as commitment, read the hashes from the provable storage. Lastly, get rid of sequence_sets maps in the private store which don’t serve any actual purpose.
- Loading branch information
Showing
3 changed files
with
56 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters