Skip to content

Conversation

@Vindaar
Copy link
Contributor

@Vindaar Vindaar commented Oct 14, 2025

This implements using the uniform sampling of this Plonky3 PR: Plonky3/Plonky3#1050

It gives an idea of the amount of code one needs to change. Essentially it's all about changing a lot of GrindingChallenger traits to UniformGrindingChallenger. Aside from that it is just 3 lines (I think) to change sample_bits to sample_uniform_bits_may_panic and grind to grind_uniform_may_panic (where we use the overloads that may panic instead of doing rejection sampling).

Feel free to look at this or wait until we actually decide if the above Plonky3 PR is even going to be merged at all. Things seem to work locally here at least.

@tcoratger
Copy link
Owner

@Vindaar Now this can be closed no? With this one Plonky3/Plonky3#1050

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