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

chore: instance columns for poseidon bench #108

Merged
merged 1 commit into from
Dec 10, 2022
Merged

chore: instance columns for poseidon bench #108

merged 1 commit into from
Dec 10, 2022

Conversation

alexander-camuto
Copy link

Noticed a small lingering todo in halo2_gadgets/benches/poseidon.rs to move the outputs from a Value to an instance column. This PR does just that !

  • replaces HashCircuit.output, which is of type Value<Fp>, with MyConfig.expected of type Column<Instance>.
  • tested full suite of benchmarks
  • ran clippy

Copy link
Member

@CPerezz CPerezz left a comment

Choose a reason for hiding this comment

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

LGTM!! I highly suggest to push this into upstream too since this TODO is original from upstream. See: https://github.com/zcash/halo2/blob/7239a02ea34008b8973d742b3e918bbfbc01b75e/halo2_gadgets/benches/poseidon.rs#L31

Thanks in advance!!

@CPerezz CPerezz merged commit 50ee8ad into privacy-scaling-explorations:main Dec 10, 2022
iquerejeta pushed a commit to input-output-hk/halo2 that referenced this pull request May 8, 2024
…-hk/dev-feature/zk-folding

Add Zero Knowledge folding implementation
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