-
Notifications
You must be signed in to change notification settings - Fork 629
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
ica: wrong handshake flow tests #538
Merged
colin-axner
merged 10 commits into
interchain-accounts
from
colin/522-wrong-flow-testing
Nov 26, 2021
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
1983c70
add tests for testing wrong handshake flow
colin-axner 20938d5
remove unnecessary comment
colin-axner 6be9b80
merge interchain accounts branch
colin-axner d3fb62a
readjust tests based on new layout
colin-axner 3250f37
Add tests provided by Damian
colin-axner 247f322
add tests for OnChanCloseInit and OnChanCloseConfirm on host side
colin-axner 901bd2b
add OnChanCloseInit/Confirm and NegotiateAppVersion tests to controll…
colin-axner 33cfb18
Merge branch 'interchain-accounts' into colin/522-wrong-flow-testing
colin-axner b203bd2
fix failing test
colin-axner 31a257a
Merge branch 'interchain-accounts' into colin/522-wrong-flow-testing
colin-axner 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
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.
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.
So this
QueryProof
on the testchain just calls into ABCI for a proof that this channelKey is set in the store?Do I understand that correctly?
What happens if it doesn't exist? Do you get an empty
[]byte
and height of -1 or something?Just asking out of my own curiosity :)
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.
Correct! That the key is set in store with the expected value
It returns a non existence proof
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.
Ah okay, great! So if you were to use the non existence proof then as argument to some other call, an error would eventually be propagated back to you I assume?
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.
correct, the non existence proof should be rejected by the tendermint client