utils: fix benches and tests

This commit is contained in:
Rostyslav Tyshko 2023-07-28 11:31:53 +02:00
parent 412a959f41
commit ff0e157383
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
use criterion::{criterion_group, criterion_main, Criterion}; use criterion::{criterion_group, criterion_main, Criterion};
use hex_literal::hex; use hex_literal::hex;
use tiny_keccak::{Hasher as _, Keccak}; use tiny_keccak::{Hasher as _, Keccak};
use utils::{ use zerokit_utils::{
FullMerkleConfig, FullMerkleTree, Hasher, OptimalMerkleConfig, OptimalMerkleTree, FullMerkleConfig, FullMerkleTree, Hasher, OptimalMerkleConfig, OptimalMerkleTree,
ZerokitMerkleTree, ZerokitMerkleTree,
}; };

View File

@ -3,7 +3,7 @@
mod test { mod test {
use hex_literal::hex; use hex_literal::hex;
use tiny_keccak::{Hasher as _, Keccak}; use tiny_keccak::{Hasher as _, Keccak};
use utils::{ use zerokit_utils::{
FullMerkleConfig, FullMerkleTree, Hasher, OptimalMerkleConfig, OptimalMerkleTree, FullMerkleConfig, FullMerkleTree, Hasher, OptimalMerkleConfig, OptimalMerkleTree,
ZerokitMerkleProof, ZerokitMerkleTree, ZerokitMerkleProof, ZerokitMerkleTree,
}; };

View File

@ -3,7 +3,7 @@ mod test {
use ark_bn254::Fr; use ark_bn254::Fr;
use num_bigint::BigUint; use num_bigint::BigUint;
use num_traits::Num; use num_traits::Num;
use utils::poseidon_hash::Poseidon; use zerokit_utils::poseidon_hash::Poseidon;
const ROUND_PARAMS: [(usize, usize, usize, usize); 8] = [ const ROUND_PARAMS: [(usize, usize, usize, usize); 8] = [
(2, 8, 56, 0), (2, 8, 56, 0),