-
Notifications
You must be signed in to change notification settings - Fork 384
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
ICS2: Generic Verification Methods #687
Conversation
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.
LGTM. Some minor comments bellow. The only issue that I see is that the two functions are also defined in Implementation strategies.
@@ -429,26 +429,40 @@ type verifyNextSequenceRecv = ( | |||
=> boolean | |||
``` | |||
|
|||
#### Optional Functions | |||
`verifyMembership` is a generic proof verification method which verifies a proof of the existence a value at a given `CommitmentPath` at the specified height. |
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.
The names of these functions, i.e., verifyMembership
and verifyNonMembership
, are already used in ICS2 (see the Implementation strategies section). Also, both names are used in ICS23, but I guess that's okay.
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.
Clarified that the example in this section is the ICS-23 methods
Co-authored-by: Marius Poke <marius.poke@posteo.de>
Closes: #684