-
Notifications
You must be signed in to change notification settings - Fork 9
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 proof of client id together with client state (#113)
As we parse client ids we strip out the client type. This means that ‘foo-42’ and ‘bar-42’ are internally represented as 42. To avoid confusion, we keep the client ids in private storage and whenever we index client data by the number we check that the full client id matches. However, that information isn’t currently available in provable storage (i.e. it’s not verifiable by light clients). Change hash we’re storing under client state path to include the client id. This way, light clients will be able to verify that indexes they’re extracting from the client id match the client id they are given. Issue: #35
- Loading branch information
Showing
4 changed files
with
40 additions
and
5 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
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