Skip to content

Commit 6eb99df

Browse files
committed
set dependency on 0.05, update risc_proof, set verification to use universal
1 parent e25cc76 commit 6eb99df

File tree

13 files changed

+259875
-259869
lines changed

13 files changed

+259875
-259869
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ rescue_poseidon = { git = "https://github.com/matter-labs/zksync-crypto.git", pa
2222
# rescue_poseidon = { path = "../zksync-crypto/crates/rescue-poseidon"}
2323
snark_wrapper = { git = "https://github.com/matter-labs/zksync-crypto.git", package="snark_wrapper", branch = "main" }
2424
# snark_wrapper = { path = "../zksync-crypto/crates/snark-wrapper"}
25-
risc_verifier = {git="https://github.com/matter-labs/zksync-airbender.git", package="final_reduced_risc_v_machine_verifier", features=["proof_utils"], branch="main"}
25+
risc_verifier = {git="https://github.com/matter-labs/zksync-airbender.git", package="final_reduced_risc_v_machine_verifier", features=["proof_utils"], tag="0.0.5"}
2626
# risc_verifier = {path="../air_compiler/circuit_defs/final_reduced_risc_v_machine/verifier", package="final_reduced_risc_v_machine_verifier", features=["proof_utils"]}
27-
execution_utils = {git="https://github.com/matter-labs/zksync-airbender.git", package="execution_utils", branch="main"}
27+
execution_utils = {git="https://github.com/matter-labs/zksync-airbender.git", package="execution_utils", tag="0.0.5"}
2828
# execution_utils = {path="../air_compiler/execution_utils"}
29-
setups = {git="https://github.com/matter-labs/zksync-airbender.git", package="setups", branch="main"}
29+
setups = {git="https://github.com/matter-labs/zksync-airbender.git", package="setups", tag="0.0.5"}
3030
# setups = {path="../../air_compiler/circuit_defs/setups"}
3131
circuit_mersenne_field = {path="circuit_mersenne_field"}
3232
serde_json = { version = "*" }

circuit_mersenne_field/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ edition = "2021"
66
[dependencies]
77
boojum = { git = "https://github.com/matter-labs/zksync-crypto.git", package="boojum", branch = "main" }
88
# boojum = { path = "../../zksync-crypto/crates/boojum"}
9-
mersenne_field = {git="https://github.com/matter-labs/zksync-airbender.git", package="field", branch="main"}
9+
mersenne_field = {git="https://github.com/matter-labs/zksync-airbender.git", package="field", tag="0.0.5"}
1010
# mersenne_field = {path="../../air_compiler/field", package="field"}
1111
rand = "0.8"

src/tests/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ fn all_layers_setup_test() {
5959
snark_wrapper_tests::snark_wrapper_setup_test();
6060
}
6161

62+
// To regenerate this test data (which must happen every time something changes in the verifier)
63+
// please run (from the zksync-airbender - and make sure to match the current dependency):
64+
// Make sure that you have a machine with >140GB of RAM for this step:
65+
// cargo run -p cli --release prove --bin examples/hashed_fibonacci/app.bin --input-file examples/hashed_fibonacci/input.txt --output-dir /tmp/ --until final-proof
66+
// And then copy /tmp/final_program_proof testing_data/risc_proof
6267
const RISC_PROOF_PATH: &str = "testing_data/risc_proof";
6368
const RISC_WRAPPER_PROOF_PATH: &str = "testing_data/risc_wrapper_proof";
6469
const RISC_WRAPPER_VK_PATH: &str = "testing_data/risc_wrapper_vk";
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
pub(crate) const FINAL_RISC_CIRCUIT_END_PARAMS: [u32; 8usize] = [
2-
1084790708u32,
3-
5361886u32,
4-
780007677u32,
5-
2427515337u32,
6-
1615785659u32,
7-
2910616041u32,
8-
872871208u32,
9-
2091005209u32,
2+
2586816750u32,
3+
1756482444u32,
4+
2217339332u32,
5+
3005136617u32,
6+
2913066018u32,
7+
4166213675u32,
8+
3558549238u32,
9+
4123692041u32,
1010
];
1111
pub(crate) const FINAL_RISC_CIRCUIT_AUX_REGISTERS_VALUES: [u32; 8usize] = [
12-
2369219390u32,
13-
1113127411u32,
14-
3416575085u32,
15-
2776983668u32,
16-
99649126u32,
17-
2857787559u32,
18-
4051254451u32,
19-
3927721995u32,
12+
3855435084u32,
13+
2553247074u32,
14+
2421719871u32,
15+
1449244899u32,
16+
4239845664u32,
17+
2609063432u32,
18+
767403438u32,
19+
3072000801u32,
2020
];

0 commit comments

Comments
 (0)