Skip to content

Fix auto-resizing the circuit #19

Open
@rpalakkal

Description

Currently we set the calculated optimal value of k to 1 higher than what we calculate halo2-lib-js. This is because otherwise the circuit could fail and error out if the number of lookup cells is greater than expected (due to the number of lookup bits changing with k).

Instead, can we iteratively minimize k until the circuit fails as a way of auto-configuring the circuit? (and when it does fail, ensure we can catch the error and reinstantiate the WASM module and other deps if needed)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    halo2-lib-jsIssues related to halo2-lib-js

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions