imt-tree 0.1.0

Indexed Merkle Tree for nullifier non-membership proofs
Documentation
1
2
3
4
5
6
7
8
//! Shared test utilities for the imt-tree crate.

use pasta_curves::Fp;

/// Construct an `Fp` from a `u64` literal.
pub fn fp(v: u64) -> Fp {
    Fp::from(v)
}