Skip to content

Conversation

@Snezhkko
Copy link

@Snezhkko Snezhkko commented Nov 3, 2025

  • Update VerifyProof comment: no boolean return, no numLeaves/nil checks.
  • Clarify that leaf is the leaf index (little-endian bits) and actual leaf value is mp.Path[0].
  • Explain that verification is encoded via constraints asserting recomputed root equals mp.RootHash.

Note

Update VerifyProof doc to clarify constraint-based verification, leaf index bit order, leaf value in mp.Path[0], and no return value.

Written by Cursor Bugbot for commit 10d369e. This will update automatically on new commits. Configure here.

@ivokub ivokub changed the base branch from master to typo/fixes-v15 November 11, 2025 00:12
Copy link
Collaborator

@ivokub ivokub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution. Indeed the change helps the documentation a bit.

@ivokub ivokub merged commit 8ed77b3 into Consensys:typo/fixes-v15 Nov 11, 2025
3 checks passed
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