mirror of
https://github.com/adria0/plonk-by-fingers.git
synced 2026-01-09 13:37:57 -05:00
stark101
This commit is contained in:
@@ -85,4 +85,4 @@ fn fri() {
|
||||
|
||||
let proof = FriProof::prove(Poly::from([1,2,3,4,5,6,7,8]), &domain, rands.clone());
|
||||
assert!(proof.verify(&domain, rands));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(clippy::module_inception)]
|
||||
|
||||
use crate::field::{Field, U64Field};
|
||||
use crate::poly::Poly;
|
||||
@@ -19,8 +18,8 @@ mod stark101 {
|
||||
|
||||
use itertools::Itertools;
|
||||
|
||||
use crate::{stark101::stark::Program, field::Field, poly::Poly, stark101::stark::StarkDomain};
|
||||
use super::{FF, mt::MerkleTree, channel::Channel, stark::FriCommit};
|
||||
use crate::{stark101::stark::Program, field::Field, poly::Poly};
|
||||
use super::{FF, mt::MerkleTree, channel::Channel, stark::{FriCommit, StarkDomain}};
|
||||
|
||||
struct FibonacciSq {}
|
||||
|
||||
@@ -124,7 +123,6 @@ fn stark101() {
|
||||
.iter()
|
||||
.map(|_| channel.receive_random_field_element())
|
||||
.collect();
|
||||
|
||||
for (constrain, alpha) in constraints.iter().zip_eq(alphas.iter()) {
|
||||
cp = cp + constrain * alpha;
|
||||
}
|
||||
@@ -152,4 +150,4 @@ fn stark101() {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -300,7 +300,3 @@ impl FriCommit {
|
||||
}
|
||||
}
|
||||
|
||||
pub trait StarkProver<P: Program> {
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user