Skip to content

feat: Enhance Proof of Inclusion CLI and underlying logic#320

Merged
itsyaasir merged 3 commits into
feat/poi-implementationfrom
feat/poi/cli
Jul 20, 2026
Merged

feat: Enhance Proof of Inclusion CLI and underlying logic#320
itsyaasir merged 3 commits into
feat/poi-implementationfrom
feat/poi/cli

Conversation

@itsyaasir

Copy link
Copy Markdown
Contributor
  • Added clap dependency for command-line argument parsing with derive feature.
  • Introduced a new binary iota-poi for creating and verifying IOTA Proof of Inclusion proofs.
  • Implemented command-line interface with subcommands for creating and verifying proofs, including detailed help messages.
  • Updated ProofBuilder to accept object IDs instead of object references, improving clarity and functionality.
  • Enhanced error handling in Source and Proof modules to better manage object and event verification.
  • Added tests for new functionality, ensuring robust handling of object and event targets in proofs.
  • Updated dependencies in Cargo.toml for improved functionality and security.# Description of change

Links to any relevant issues

Type of change

  • Bug fix (a non-breaking change which fixes an issue)
  • Enhancement (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Fix

How the change has been tested

Change checklist

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes
  • I have updated the CHANGELOG.md, if my changes are significant enough

- Added `clap` dependency for command-line argument parsing with derive feature.
- Introduced a new binary `iota-poi` for creating and verifying IOTA Proof of Inclusion proofs.
- Implemented command-line interface with subcommands for creating and verifying proofs, including detailed help messages.
- Updated `ProofBuilder` to accept object IDs instead of object references, improving clarity and functionality.
- Enhanced error handling in `Source` and `Proof` modules to better manage object and event verification.
- Added tests for new functionality, ensuring robust handling of object and event targets in proofs.
- Updated dependencies in `Cargo.toml` for improved functionality and security.
@itsyaasir
itsyaasir merged commit a6dd16c into feat/poi-implementation Jul 20, 2026
2 of 4 checks passed
@itsyaasir
itsyaasir deleted the feat/poi/cli branch July 20, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant