mirror of
https://github.com/codex-storage/proof-aggregation.git
synced 2025-02-10 05:43:54 +00:00
clean up params
This commit is contained in:
parent
1a46bd085d
commit
5d2237cea8
@ -1,3 +1,4 @@
|
||||
use std::marker::PhantomData;
|
||||
use plonky2::hash::poseidon::PoseidonHash;
|
||||
use plonky2::plonk::config::PoseidonGoldilocksConfig;
|
||||
use plonky2::plonk::proof::ProofWithPublicInputs;
|
||||
@ -12,15 +13,3 @@ pub type C = PoseidonGoldilocksConfig;
|
||||
pub type H = PoseidonHash;
|
||||
pub type Plonky2Proof = ProofWithPublicInputs<F, C, D>;
|
||||
|
||||
|
||||
pub struct RecursionTreeParams{
|
||||
pub tree_width: usize,
|
||||
}
|
||||
|
||||
impl RecursionTreeParams {
|
||||
pub fn new(tree_width: usize) -> Self{
|
||||
Self{
|
||||
tree_width
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user