Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mina-poseidon: regression tests + top-level documentation #2927

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

dannywillems
Copy link
Member

See commit messages.

This work is part of the sponge management currently being implemented in Arrabbiata.

The interface to instantiate a sponge is not straightforward to use.
This commit adds an example at the top-level of the library to guide the users.
It is not straightforward by reading the documentation that the method
`challenge` outputs a 128 bits value for Pallas/Vesta. Therefore, adding a test
to be sure this invariant is respected over time.

This commit also adds a regression test when squeezing the empty state.
@dannywillems dannywillems force-pushed the dw/mina-poseidon-doc-and-tests branch from 3dba477 to 9b5c406 Compare January 6, 2025 17:52
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.55%. Comparing base (c2f1bf4) to head (9b5c406).
Report is 16 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2927      +/-   ##
==========================================
- Coverage   75.55%   75.55%   -0.01%     
==========================================
  Files         255      255              
  Lines       60814    60814              
==========================================
- Hits        45951    45948       -3     
- Misses      14863    14866       +3     

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

@dannywillems dannywillems merged commit a340c95 into master Jan 7, 2025
8 checks passed
@dannywillems dannywillems deleted the dw/mina-poseidon-doc-and-tests branch January 7, 2025 09:17
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