Skip to content

Commit

Permalink
Use poseidon2 for starky proof system
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekvpandya committed Oct 6, 2023
1 parent b8c711a commit e5d48cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions poseidon2-starky/benches/poseidon2_starky.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use criterion::{criterion_group, criterion_main, Criterion};
use plonky2::field::types::Sample;
use plonky2::plonk::config::{GenericConfig, PoseidonGoldilocksConfig};
use plonky2::plonk::config::{GenericConfig, Poseidon2GoldilocksConfig};
use plonky2::util::timing::TimingTree;
use poseidon2_starky::horizen::columns::STATE_SIZE;
use poseidon2_starky::horizen::generation::{generate_poseidon2_trace, Row};
Expand All @@ -9,7 +9,7 @@ use starky::config::StarkConfig;
use starky::prover::prove;

const D: usize = 2;
type C = PoseidonGoldilocksConfig;
type C = Poseidon2GoldilocksConfig;
type F = <C as GenericConfig<D>>::F;
type S = Poseidon2Stark<F, D>;

Expand Down
4 changes: 2 additions & 2 deletions poseidon2-starky/benches/poseidon2_starky_plonky2.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use criterion::{criterion_group, criterion_main, Criterion};
use plonky2::field::types::Sample;
use plonky2::plonk::config::{GenericConfig, PoseidonGoldilocksConfig};
use plonky2::plonk::config::{GenericConfig, Poseidon2GoldilocksConfig};
use plonky2::util::timing::TimingTree;
use poseidon2_starky::plonky2::columns::STATE_SIZE;
use poseidon2_starky::plonky2::generation::{generate_poseidon2_trace, Row};
Expand All @@ -9,7 +9,7 @@ use starky::config::StarkConfig;
use starky::prover::prove;

const D: usize = 2;
type C = PoseidonGoldilocksConfig;
type C = Poseidon2GoldilocksConfig;
type F = <C as GenericConfig<D>>::F;
type S = Poseidon2_12Stark<F, D>;

Expand Down

0 comments on commit e5d48cf

Please sign in to comment.