We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edc7c4f commit 2142acfCopy full SHA for 2142acf
scripts/mimc-stark-verifier/src/lib.rs
@@ -12,6 +12,8 @@ use num_bigint::{BigInt, BigUint};
12
13
fn process_block(pre_state_root: types::Bytes32, block_data: &[u8]) -> types::Bytes32 {
14
let (stark_proof, _) = deserializer::from_bytes(&block_data).expect("couldn't deserialize");
15
+
16
+ // TODO: package subsequent parameters in the proof itself
17
const LOG_STEPS: usize = 13;
18
let mut constants: Vec<BigInt> = Vec::new();
19
let modulus: BigInt = num_bigint::BigInt::from_str(MODULUS).expect("modulus couldn't be deserialized into bigint");
0 commit comments