Skip to content

Commit

Permalink
chore: remove left over
Browse files Browse the repository at this point in the history
  • Loading branch information
sifnoc committed Oct 31, 2023
1 parent d8ef0cb commit ab5d31b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions backend/src/apis/round.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,25 +202,12 @@ where
MstInclusionCircuit::<LEVELS, N_ASSETS, N_BYTES>::init(self.mst.clone(), user_index);

// Currently, default manner of generating a inclusion proof for solidity-verifier.
// let proof = gen_evm_proof_shplonk(
// &self.trusted_setup[0].0,
// &self.trusted_setup[0].1,
// circuit.clone(),
// circuit.instances(),
// );

let calldata = gen_proof_solidity_calldata(
&self.trusted_setup[0].0,
&self.trusted_setup[0].1,
circuit.clone(),
);

// println!(
// "proof size in bytes: {:?}",
// Bytes::from(proof.clone()).len()
// );
// println!("proof_calldata size in bytes: {:?}", proof_calldata.0.len());

Ok(MstInclusionProof {
proof_calldata: calldata.0,
public_inputs: calldata.1,
Expand Down

0 comments on commit ab5d31b

Please sign in to comment.