Skip to content

feat: WASM implementation for NodeJS - #323

Merged
itsyaasir merged 19 commits into
feat/poi-implementationfrom
feat/poi/nodejs-implementation
Aug 5, 2026
Merged

feat: WASM implementation for NodeJS#323
itsyaasir merged 19 commits into
feat/poi-implementationfrom
feat/poi/nodejs-implementation

Conversation

@itsyaasir

Copy link
Copy Markdown
Contributor

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

itsyaasir added 19 commits July 27, 2026 13:26
- Implement tests for NodePoiSource to validate BCS evidence retrieval.
- Create WASM source tests to ensure transaction evidence handling.
- Introduce TypeScript configuration for building WASM bindings.
- Update Rust dependencies and features for native gRPC support.
- Refactor source trait to return decoded transaction and checkpoint evidence.
- Enhance proof builder to handle stacked targets and deduplicate requests.
- Added LedgerSource class to handle ledger reads required by Proof of Inclusion.
- Introduced PoiClient class for creating Proof of Inclusion builders backed by IOTA ledger endpoints.
- Created source-types.ts to define interfaces for transaction and checkpoint evidence.
- Updated TypeScript configuration for the new structure.
- Implemented tests for LedgerSource and PoiClient to ensure functionality.
- Refactored existing code to integrate new classes and improve modularity.
…at/poi/nodejs-implementation

# Conflicts:
#	poi-rs/Cargo.toml
#	poi-rs/src/builder.rs
#	poi-rs/src/source.rs
#	poi-rs/tests/proof_builder.rs
- Introduced `ProofTarget` enum to represent different proof requests (Transaction, Object, Event).
- Updated `ProofBuilder` to utilize `ProofTarget` instead of the previous `SourceTarget`.
- Enhanced error handling in `ProofBuilderError` to provide more specific error types related to proof construction failures.
- Modified `SourceError` to streamline error reporting and removed unnecessary complexity.
- Adjusted tests to align with the new error handling and proof target structure.
…placing CommitteeResolver with trustedNodeVerifier and anchoredVerifier methods
@itsyaasir itsyaasir self-assigned this Aug 5, 2026
@itsyaasir
itsyaasir merged commit b5c4eaa into feat/poi-implementation Aug 5, 2026
3 of 10 checks passed
@itsyaasir
itsyaasir deleted the feat/poi/nodejs-implementation branch August 5, 2026 11:27
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