Skip to content

simplify proof gen params#5

Merged
olivmath merged 3 commits into
mainfrom
claude/simplify-proof-gen-params-01L8QQiAr55pDzybgsZ1ATLh
Dec 6, 2025
Merged

simplify proof gen params#5
olivmath merged 3 commits into
mainfrom
claude/simplify-proof-gen-params-01L8QQiAr55pDzybgsZ1ATLh

Conversation

@olivmath
Copy link
Copy Markdown
Owner

@olivmath olivmath commented Dec 6, 2025

No description provided.

…eter

- Remove redundant `len: u32` parameter from merkle_proof, merkle_proof_mixed, and merkle_root
- Use array size N directly instead of separate length parameter
- Update documentation to clarify how to calculate proof capacity P
- Simplify API: merkle_proof(leaves, target, hash_fn) instead of merkle_proof(leaves, len, target, hash_fn)
- Remove len parameter from merkle_root and merkle_proof examples
- Update API reference with new function signatures
- Add documentation for proof capacity P calculation
@olivmath olivmath self-assigned this Dec 6, 2025
@olivmath olivmath changed the title Claude/simplify proof gen params 01 l8 q qi ar55p dzybgs z1 at lh simplify proof gen params Dec 6, 2025
@olivmath olivmath merged commit 730315a into main Dec 6, 2025
5 checks passed
@olivmath olivmath deleted the claude/simplify-proof-gen-params-01L8QQiAr55pDzybgsZ1ATLh branch December 6, 2025 07:54
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.

2 participants