[PoI]: Add Proof of Inclusion support - #305
Open
itsyaasir wants to merge 80 commits into
Open
Conversation
[PoI]: Define proof envelope and API surface
[PoI]: Add verifier dispatch and transaction verification
…ruction feat: Add gRPC client support for Proof of Inclusion and enhance error handling
…port feat: Add support for object proofs
feat: Add support for event proofs in source and enhance related error handling
…add related tests
…tion feat: Implement committee resolution
feat: Add verified committee cache
…ction and verification
…ent targets, and update related tests
Feat/297 poi golden fixtures
itsyaasir
marked this pull request as ready for review
August 17, 2026 03:13
- Removed obsolete service-info example. - Added multiple examples demonstrating the creation and verification of transaction proofs, multi-target proofs, object proofs, and event proofs. - Implemented a main entry point for running examples with command-line arguments. - Enhanced proof structure to include explicit transaction, object, and event targets. - Updated utility functions for loading the mainnet genesis blob and measuring elapsed time. - Improved WASM bindings to expose proof targets and their properties. - Updated tests to validate new proof target functionality and ensure correctness.
chore: add poi examples
# Conflicts: # Cargo.toml
UMR1352
self-requested a review
August 21, 2026 08:27
UMR1352
approved these changes
Aug 21, 2026
UMR1352
left a comment
Contributor
There was a problem hiding this comment.
It looks very well built, only nitpicks.
chore: update examples
…ed clarity and consistency
- Updated the transaction proof structure to use ProofV1, encapsulating the chain, targets, checkpoint summary, and transaction proof. - Modified the transaction.json fixture to reflect the new structure, ensuring compatibility with the updated proof format. - Adjusted proof construction tests to utilize the new ProofV1 structure, including changes to how targets and transaction proofs are accessed. - Enhanced proof serialization tests to validate the new proof structure and ensure proper version handling. - Updated utility functions to create proofs with the new structure, ensuring all tests pass with the revised proof format. - Cleaned up imports and organized code for better readability and maintainability.
chore(poi): ci
docs: add Proof of Inclusion documentation
UMR1352
approved these changes
Aug 26, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description of change
Links to any relevant issues
Type of change
How the change has been tested
Change checklist