Skip to content

feat: Add support for cosmos/ics23 NonMembershipProof types #16

Open
@h5law

Description

Objective

Add support for the "range based" non-membership proof types used in the cosmos/ics23 library.

Screenshot 2023-07-18 at 10 00 09

Origin Document

cosmos/ics23 issue #152

Goals

  • Add a new ProveExclusion function that can traverse the tree and looking for the key we aim to prove, once it has found a leaf it should collect the adjecent leaves and produce a proof for them.
  • Add a function to convert SparseMerkleProof objects into the relevent ics23.CommitmentProof types

Deliverable

  • SMT proof type conversion function to ics23 proof type
  • Prove nonmembership in accordance with the ics23 repo

Non-goals / Non-deliverables

  • Change existing proof logic

General issue deliverables

  • Update any relevant README(s)
  • Add or update any relevant or supporting mermaid diagrams

Testing Methodology

  • Task specific tests or benchmarks: go test ...
  • New tests or benchmarks: go test ...
  • All tests: go test -v

Creator: @h5law
Co-Owners: @h5law

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

  • Status

    Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions