Closed akokoshn closed 8 months ago
generate-type
(CIRCUIT, ASSIGNMENT, CIRCUIT-ASSIGNMENT)generate-type
flag, generate circuit for FALSE branch (same circuit for different inputs) - https://github.com/NilFoundation/zkllvm-assigner/tree/433-split-generate-circuit-assignmentsgenerate_circuit
Implementation: https://github.com/NilFoundation/zkLLVM/pull/514
Instructions unsupported without generate assignment:
Skip CPP examples/tests due to unsupported dynamic loop:
Modify examples/tests due to unsupported dynamic parameters:
reduce size of inputs for zkbridge
Enable unroll constant loops in RUST examples by using macros #[unroll_for_loop]
- https://github.com/akokoshn/zkllvm-unroll, with follow limitations:
PRs, synced with the current issue:
Note: Please do not edit this comment; it's generated automatically.
Problem Circuit file produced by
assigner
must be independent on input. Now it's not true if we have in code runtime condition dependent on input: generated constraints only for TRUE branch.Solution Generate circuits for both branches
Related issues https://github.com/NilFoundation/zkLLVM/issues/419