Skip to content

Commit

Permalink
bug(zero-bin): verifier binary not picking up pre-processed circuits (#…
Browse files Browse the repository at this point in the history
…474)

* set env var at runtime

* env var already set at compiletime
  • Loading branch information
temaniarpit27 authored Aug 8, 2024
1 parent fb636ad commit 3f20a79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zero_bin/common/src/prover_state/persistence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl DiskResource for BaseProverResource {
"{}/{}_base_{}_{}",
&relative_circuit_dir_path(),
PROVER_STATE_FILE_PREFIX,
env::var("EVM_ARITHMETIZATION_PKG_VER").unwrap_or("NA".to_string()),
env!("EVM_ARITHMETIZATION_PKG_VER"),
p.get_configuration_digest()
)
}
Expand Down Expand Up @@ -145,7 +145,7 @@ impl DiskResource for MonolithicProverResource {
"{}/{}_monolithic_{}_{}",
&relative_circuit_dir_path(),
PROVER_STATE_FILE_PREFIX,
env::var("EVM_ARITHMETIZATION_PKG_VER").unwrap_or("NA".to_string()),
env!("EVM_ARITHMETIZATION_PKG_VER"),
p.get_configuration_digest()
)
}
Expand Down Expand Up @@ -180,7 +180,7 @@ impl DiskResource for RecursiveCircuitResource {
"{}/{}_{}_{}_{}",
&relative_circuit_dir_path(),
PROVER_STATE_FILE_PREFIX,
env::var("EVM_ARITHMETIZATION_PKG_VER").unwrap_or("NA".to_string()),
env!("EVM_ARITHMETIZATION_PKG_VER"),
circuit_type.as_short_str(),
size
)
Expand Down Expand Up @@ -224,7 +224,7 @@ impl DiskResource for VerifierResource {
"{}/{}_{}_{}",
&relative_circuit_dir_path(),
VERIFIER_STATE_FILE_PREFIX,
env::var("EVM_ARITHMETIZATION_PKG_VER").unwrap_or("NA".to_string()),
env!("EVM_ARITHMETIZATION_PKG_VER"),
p.get_configuration_digest()
)
}
Expand Down

0 comments on commit 3f20a79

Please sign in to comment.