-
Notifications
You must be signed in to change notification settings - Fork 2
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
enclaves: light client check #69
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
1534dd5
Extract light client verification code
hu55a1n1 81a6df9
cargo fmt
hu55a1n1 0c6181d
Implement light client check for mtcs.run
hu55a1n1 fadf927
Remove #![warn(missing_docs)] from enclaves
hu55a1n1 92490bc
Rename value -> proof_value
hu55a1n1 754dcf1
Impl light client check for transfers enclave
hu55a1n1 f1c5495
Clippy fix
hu55a1n1 5ea2ff1
Update Cargo.lock
hu55a1n1 b2125ea
Fix workspace
hu55a1n1 b0125ea
Clippy fix
hu55a1n1 de58478
Pin rust to v1.78
hu55a1n1 4fa1bc9
Rename .cargo/config to config.toml
hu55a1n1 e75475c
Update CI to pick pinned toolchain
hu55a1n1 84df58c
Add rust-toolchain file
hu55a1n1 52392c8
Use old-style rust-toolchain
hu55a1n1 210d4f0
Fix Cargo.toml exclusion for transfers contract
hu55a1n1 499d49b
Merge branch 'main' into hu55a1n1/22-mtcs-enclave-light-client-check
hu55a1n1 ebd04bb
Merge remote-tracking branch 'origin/main' into hu55a1n1/22-mtcs-encl…
hu55a1n1 62dd959
Revert CI modifications
hu55a1n1 bfb139e
Update CosmWasm dev-deps
hu55a1n1 77323b8
Merge remote-tracking branch 'origin/main' into hu55a1n1/22-mtcs-encl…
hu55a1n1 f40d7ae
Update listen.sh to include query
hu55a1n1 2fb0197
Fix bug in request msg creation
hu55a1n1 5861640
Add delay to wait for block
hu55a1n1 b8fbb11
Undo remove newline from workflow .ymls
hu55a1n1 6c42c64
Replace sleep with `wasmd status` based delay
hu55a1n1 268f675
Fix listen.sh bug for wasmd commmand
b3df408
Remove redundant TODOs
hu55a1n1 5963400
Merge branch 'hu55a1n1/22-mtcs-enclave-light-client-check' of github.…
hu55a1n1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This block seems important. Without it, it seems as though the latest request (i.e. the one that triggered this event) is not cleared/processed. I think this has to do with the way wasmd deals with events, i.e. events are sent out before the store is committed so at this point, the latest request is not written to the store and so the query below gives us old state.
I do remember this issue being discussed before but we probably lost it or did something to fix it.
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.
Related: /issues/65