diff --git a/halo2_gadgets_optimized/benches/poseidon.rs b/halo2_gadgets_optimized/benches/poseidon.rs index 31f21d2795..f41190c93f 100644 --- a/halo2_gadgets_optimized/benches/poseidon.rs +++ b/halo2_gadgets_optimized/benches/poseidon.rs @@ -11,7 +11,7 @@ use halo2_proofs::{ }; use pasta_curves::{pallas, vesta}; -use halo2_gadgets::poseidon::{ +use halo2_gadgets_optimized::poseidon::{ primitives::{self as poseidon, generate_constants, ConstantLength, Mds, Spec}, Hash, Pow5Chip, Pow5Config, }; diff --git a/halo2_gadgets_optimized/benches/primitives.rs b/halo2_gadgets_optimized/benches/primitives.rs index a6cb824ac7..1b96b333f9 100644 --- a/halo2_gadgets_optimized/benches/primitives.rs +++ b/halo2_gadgets_optimized/benches/primitives.rs @@ -1,6 +1,6 @@ use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; use ff::Field; -use halo2_gadgets::{ +use halo2_gadgets_optimized::{ poseidon::primitives::{self as poseidon, ConstantLength, P128Pow5T3}, sinsemilla::primitives as sinsemilla, }; diff --git a/halo2_gadgets_optimized/benches/sha256.rs b/halo2_gadgets_optimized/benches/sha256.rs index ffb4165a70..e856c76f16 100644 --- a/halo2_gadgets_optimized/benches/sha256.rs +++ b/halo2_gadgets_optimized/benches/sha256.rs @@ -17,7 +17,7 @@ use std::{ path::Path, }; -use halo2_gadgets::sha256::{BlockWord, Sha256, Table16Chip, Table16Config, BLOCK_SIZE}; +use halo2_gadgets_optimized::sha256::{BlockWord, Sha256, Table16Chip, Table16Config, BLOCK_SIZE}; #[allow(dead_code)] fn bench(name: &str, k: u32, c: &mut Criterion) {