1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
// Poseidon constants
pub(crate) const WIDTH: usize = 5;
pub(crate) const FULL_ROUNDS: usize = 8;
pub(crate) const PARTIAL_ROUNDS: usize = 59;

// Merkle constants
/// Arity of the merkle tree
pub const MERKLE_ARITY: usize = 4;
/// Width of the merkle tree
pub const MERKLE_WIDTH: usize = 64;
pub(crate) const MERKLE_HEIGHT: usize = 3;