Skip to content

test: verify registry.json rebuilds to committed root - #259

Merged
Toyosi5566 merged 1 commit into
vouchlabsio:mainfrom
Horpeyehmi:hv/fix-21
Oct 9, 2026
Merged

Toyosi5566 merged 1 commit into
vouchlabsio:mainfrom
Horpeyehmi:hv/fix-21

Conversation

@Horpeyehmi

Copy link
Copy Markdown
Contributor

Add packages/circuits/test/registry.test.js, which re-walks every one of the 16 registry members' Poseidon255 Merkle paths with the committed hasher wasms and asserts the reconstructed root equals registry.json's committed root; mutating any path element breaks the assertion.

Fixes #21

@Toyosi5566
Toyosi5566 merged commit 2a2b51d into vouchlabsio:main Oct 9, 2026
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