Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nulltea committed Apr 3, 2024
1 parent 5451a32 commit 6e47c70
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion contracts
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ gen-verifier-step network:

gen-verifier-step-compressed network:
cargo run -r -p spectre-prover -- circuit sync-step-compressed -p ./build/sync_step_$1.pkey -P ./build/sync_step_verifier_$1.pkey \
gen-verifier -o ./contracts/$1/snark-verifiers/sync_step_verifier.sol
gen-verifier -o ./contracts/snark-verifiers/$1/sync_step_verifier.sol

gen-verifier-committee-update network:
cargo run -r -p spectre-prover -- circuit committee-update -p ./build/committee_update_$1.pkey -P ./build/committee_update_verifier_$1.pkey \
gen-verifier -o ./contracts/$1/snark-verifiers/committee_update_verifier.sol
gen-verifier -o ./contracts/snark-verifiers/$1/committee_update_verifier.sol

build-contracts:
cd contracts && forge build
Expand Down
4 changes: 2 additions & 2 deletions lightclient-circuits/config/committee_update_testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"num_fixed": 1,
"num_lookup_advice_per_phase": [
1,
0,
0,
0
],
Expand All @@ -18,4 +18,4 @@
1048566
]
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
"break_points": [
[]
]
}
}
6 changes: 3 additions & 3 deletions lightclient-circuits/config/sync_step_testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
2097142,
2097140,
2097140,
2097142,
2097141,
2097140,
2097140,
2097140,
2097142
]
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
"break_points": [
[]
]
}
}
4 changes: 2 additions & 2 deletions prover/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ where
&params,
&pk,
&cfg_path,
None::<String>,
Some("./build/committee_update_dummy.snark"),
&Default::default(),
)
.map_err(|e| eyre::eyre!("Failed to generate proof: {}", e))
Expand Down Expand Up @@ -176,7 +176,7 @@ where
&params,
&pk,
&cfg_path,
None::<String>,
Some("./build/step_dummy.snark"),
&Default::default(),
)
.map_err(|e| eyre::eyre!("Failed to generate proof: {}", e))
Expand Down

0 comments on commit 6e47c70

Please sign in to comment.