Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Commit 77b2a73

Browse files
committed
params increased
1 parent 78899ef commit 77b2a73

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bin/mpt-test/src/main.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,20 @@ async fn mock_prove(block_no: u64, access_list: &str) -> Result<()> {
1616

1717
let access_list: AccessList = serde_json::from_str(access_list)?;
1818
let proof_count = 2 * access_list.0.len() * 3
19-
+ access_list
19+
+ 2 * access_list
2020
.0
2121
.iter()
2222
.map(|k| k.storage_keys.len())
2323
.sum::<usize>();
2424

25-
let max_nodes = 40000;
25+
let max_nodes = 1000000;
26+
let degree = 20;
2627

2728
let witness = Witness::<Fr>::build(provider_url, U64::from(block_no), Some(access_list), true)
2829
.await?
2930
.unwrap();
3031

31-
let circuit = StateUpdateCircuit::new(witness, 16, max_nodes, proof_count + 10)?;
32+
let circuit = StateUpdateCircuit::new(witness, degree, max_nodes, proof_count + 10)?;
3233
circuit.assert_satisfied();
3334
Ok(())
3435
}

0 commit comments

Comments
 (0)