Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ snark-verifier-sdk = { git = "https://github.com/axiom-crypto/snark-verifier.git
] }

# ethereum types
ethereum-consensus-types = { git = "https://github.com/ChainSafe/ethereum-consensus-types", branch = "capella" }
ethereum-consensus-types = { git = "https://github.com/ChainSafe/ethereum-consensus-types", branch = "deneb" }
beacon-api-client = { git = "https://github.com/ralexstokes/ethereum-consensus.git", rev = "f3bff52e9c43866f231ec40c8ab0e34125a8957f" }
ssz_rs = "0.9"

Expand Down
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ setup-committee-update network *k='24':
-K $2 -P ./build/committee_update_verifier_$1.pkey setup

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

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/snark-verifiers/sync_step_verifier.sol
gen-verifier -o ./contracts/$1/snark-verifiers/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/snark-verifiers/committee_update_verifier.sol
gen-verifier -o ./contracts/$1/snark-verifiers/committee_update_verifier.sol

build-contracts:
cd contracts && forge build
Expand Down
4 changes: 2 additions & 2 deletions prover/src/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl ProverState {
params_map.get(step.degree()).unwrap(),
step.pk(),
step.config_path(),
None::<String>,
Some("./build/step_dummy.snark"),
&Default::default(),
)
.unwrap();
Expand All @@ -90,7 +90,7 @@ impl ProverState {
params_map.get(committee_update.degree()).unwrap(),
committee_update.pk(),
committee_update.config_path(),
None::<String>,
Some("./build/committee_update_dummy.snark"),
&Default::default(),
)
.unwrap();
Expand Down