Skip to content

Add Poseidon circomlib compatibility tests#27

Open
keilogic wants to merge 1 commit into
jose-compu:mainfrom
keilogic:add-poseidon-compat-tests
Open

Add Poseidon circomlib compatibility tests#27
keilogic wants to merge 1 commit into
jose-compu:mainfrom
keilogic:add-poseidon-compat-tests

Conversation

@keilogic

Copy link
Copy Markdown

Summary

  • add dev-only circomlib reference wrappers for Poseidon widths 1, 2, 4, and 16
  • add a Mocha compatibility test that compares opencircom witness outputs against circomlib for fixed vectors
  • document the Poseidon compatibility check in the README

Verification

  • node --check test/poseidon_compat_test.js
  • git diff --check

Not run locally:

  • npm run compile:test / npm test because this Windows environment does not have circom 2.x on PATH. Running the compile script through Git Bash reaches the project check and stops with: Error: circom not found on PATH. Install circom 2.x first.

Closes #19.

If this is accepted and deemed eligible under the PayPal-capable bounty terms in #1, PayPal works here: https://www.paypal.com/paypalme/aogkft

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.

Enhancement: Poseidon cross-library compatibility tests

1 participant