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

feat: Add size hint for digests #330

Merged
merged 4 commits into from
Sep 25, 2024
Merged

feat: Add size hint for digests #330

merged 4 commits into from
Sep 25, 2024

Conversation

PhilippGackstatter
Copy link
Contributor

Describe your changes

Adds a get_size_hint implementation for RpoDigest and RpxDigest. This is required to nicely implement get_size_hint for custom types in miden-base, see also: 0xPolygonMiden/miden-base#895.

The added tests currently fail, but once facebook/winterfell#332 is merged, they no longer will.

Checklist before requesting a review

  • Repo forked and branch created from next according to naming convention.
  • Commit messages and codestyle follow conventions.
  • Relevant issues are linked in the PR description.
  • Tests added for new functionality.
  • Documentation/comments updated according to changes.

@PhilippGackstatter PhilippGackstatter changed the base branch from next to main September 25, 2024 09:42
Copy link

Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you!

@bobbinth bobbinth merged commit a924ac6 into main Sep 25, 2024
11 checks passed
@bobbinth bobbinth deleted the pgackst-digest-size-hint branch September 25, 2024 10:03
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