Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Port Poseidon example to Python #178

Merged
merged 8 commits into from
Jan 17, 2024

Conversation

sraver
Copy link
Contributor

@sraver sraver commented Nov 18, 2023

Closes #101


Based on the Rust implementation, the same circuit is added using the Python front-end.

Constants are moved to a different file for easier code browsing.

An assertion is added when running the example, to make sure that the output is the same as the one when using the Rust front-end.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bd68dbf) 49.67% compared to head (6cb7c42) 49.69%.

❗ Current head 6cb7c42 differs from pull request most recent head eadc4b6. Consider uploading reports for the commit eadc4b6 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #178      +/-   ##
==========================================
+ Coverage   49.67%   49.69%   +0.01%     
==========================================
  Files          21       21              
  Lines        5751     5751              
==========================================
+ Hits         2857     2858       +1     
+ Misses       2894     2893       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@leolara leolara requested a review from 10to4 November 18, 2023 17:50
@leolara
Copy link
Collaborator

leolara commented Nov 18, 2023

Please review @10to4

@leolara leolara force-pushed the main branch 4 times, most recently from 03ddbb5 to 8397503 Compare November 19, 2023 05:49
@leolara leolara added this pull request to the merge queue Jan 17, 2024
Merged via the queue into privacy-scaling-explorations:main with commit c23c8dc Jan 17, 2024
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Example: Port poseidon to python front-end
4 participants