Skip to content

Commit

Permalink
PARTIAL: cargo lint on benchmarks
Browse files Browse the repository at this point in the history
Refs #3556
  • Loading branch information
conorsch committed Jan 3, 2024
1 parent 21d6021 commit 442ce6d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/bench/benches/undelegate_claim.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
use ark_ff::UniformRand;
use ark_relations::r1cs::{
ConstraintSynthesizer, ConstraintSystem, OptimizationGoal, SynthesisMode,
ConstraintSystem, OptimizationGoal, SynthesisMode,
};
use decaf377::{Fq, Fr};
use decaf377_rdsa as rdsa;
use penumbra_asset::{asset, balance};
use penumbra_num::Amount;
use penumbra_proof_params::UNDELEGATECLAIM_PROOF_PROVING_KEY;
use penumbra_shielded_pool::ConvertCircuit;
use penumbra_stake::{
IdentityKey, Penalty, UnbondingToken, UndelegateClaimCircuit, UndelegateClaimProof,
IdentityKey, Penalty, UnbondingToken, UndelegateClaimProof,
};

use criterion::{criterion_group, criterion_main, Criterion};
Expand Down Expand Up @@ -67,7 +68,7 @@ fn undelegate_claim_proving_time(c: &mut Criterion) {
});

// Also print out the number of constraints.
let circuit = UndelegateClaimCircuit::new(
let circuit = ConvertCircuit::new(
unbonding_amount,
balance_blinding,
balance_commitment,
Expand Down

0 comments on commit 442ce6d

Please sign in to comment.