Skip to content

Commit 2142acf

Browse files
committed
add note about stark parameters that are hardcoded in the EE Script
1 parent edc7c4f commit 2142acf

File tree

1 file changed

+2
-0
lines changed
  • scripts/mimc-stark-verifier/src

1 file changed

+2
-0
lines changed

scripts/mimc-stark-verifier/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ use num_bigint::{BigInt, BigUint};
1212

1313
fn process_block(pre_state_root: types::Bytes32, block_data: &[u8]) -> types::Bytes32 {
1414
let (stark_proof, _) = deserializer::from_bytes(&block_data).expect("couldn't deserialize");
15+
16+
// TODO: package subsequent parameters in the proof itself
1517
const LOG_STEPS: usize = 13;
1618
let mut constants: Vec<BigInt> = Vec::new();
1719
let modulus: BigInt = num_bigint::BigInt::from_str(MODULUS).expect("modulus couldn't be deserialized into bigint");

0 commit comments

Comments
 (0)