Skip to content

Conversation

@GarmashAlex
Copy link

with_halo2_pk silently ignored errors from set_halo2_pk, even though the docstring explicitly says it should panic if Halo2 keygen has already been called. This also diverged from the pattern used by with_app_pk and with_agg_pk, both of which panic when their respective keys are already set.

Update with_halo2_pk to panic on a failed set_halo2_pk call, restoring the documented behavior and making the builder-style API consistent.

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.

1 participant