Skip to content

ICS2: Generic Verification Methods#687

Merged
AdityaSripal merged 2 commits intomasterfrom
aditya/generic-ics2-verify
Mar 17, 2022
Merged

ICS2: Generic Verification Methods#687
AdityaSripal merged 2 commits intomasterfrom
aditya/generic-ics2-verify

Conversation

@AdityaSripal
Copy link
Copy Markdown
Contributor

Closes: #684

Copy link
Copy Markdown
Contributor

@mpoke mpoke left a 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.

```

#### 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.
Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Contributor Author

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

ICS2: Replace specific VerifyFunctions with generic VerifyMembership and VerifyNonMembership

2 participants