axiom-crypto / halo2-lib

Monorepo of halo2 crates
MIT License
236 stars 145 forks source link

[chore] make `KeccakComponentShardCircuit` `inputs` into `RefCell` #231

Closed jonathanpwang closed 9 months ago

jonathanpwang commented 9 months ago

Some downstream traits only borrow and not mutably borrow, but we want to be able to initialize the circuit first and then set the input later.

Also added a getter for base_circuit_builder.