You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of macros, we should have a ProverSetup struct, like so:
pubstructMixerProverSetup<F:PrimeField,H:CRHTrait,HG:CRHGadget<H,F>,LHGT:CRHGadget<P::LeafH,F>,HGT:CRHGadget<P::H,F>,P:Config,constK:usize,>{h3_params:H::Parameters,h5_params:H::Parameters,leaf_params: <P::LeafHasCRHTrait>::Parameters,inner_params: <P::HasCRHTrait>::Parameters,};implMixerProverSetup{fnsetup_arbitrary_data(...);fnsetup_leaf(...);fnsetup_tree_and_root_set(...);fnsetup_circuit(...) -> (MixerCircuit,Vec<F>// Public inputs);fnsetup_circuit_with_random_inputs(...);fnsetup_circuit_with_raw_inputs(...);fnsetup_proving_and_verifying_key(...);fnprove(...);fnverify(...);// For testing}
Instead of macros, we should have a
ProverSetup
struct, like so:Inside tests should be used like so:
The text was updated successfully, but these errors were encountered: