Skip to content

Commit

Permalink
Requested PR changes for #405 (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
BGluth committed Aug 12, 2024
1 parent 888e20b commit 0bc3a86
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion zero_bin/common/src/prover_state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use clap::ValueEnum;
use evm_arithmetization::{
proof::AllProof, prover::prove, AllStark, GenerationInputs, StarkConfig,
};
use persistence::set_circuit_cache_dir_env_if_not_set;
use plonky2::{
field::goldilocks_field::GoldilocksField, plonk::config::PoseidonGoldilocksConfig,
util::timing::TimingTree,
Expand Down
4 changes: 3 additions & 1 deletion zero_bin/leader/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ use ops::register;
use paladin::runtime::Runtime;
use proof_gen::proof_types::GeneratedBlockProof;
use tracing::{info, warn};
use zero_bin_common::{block_interval::BlockInterval, prover_state::persistence::set_circuit_cache_dir_env_if_not_set};
use zero_bin_common::version;
use zero_bin_common::{
block_interval::BlockInterval, prover_state::persistence::set_circuit_cache_dir_env_if_not_set,
};

use crate::client::{client_main, ProofParams};

Expand Down
3 changes: 2 additions & 1 deletion zero_bin/verifier/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ use dotenvy::dotenv;
use proof_gen::proof_types::GeneratedBlockProof;
use serde_json::Deserializer;
use tracing::info;
use zero_bin_common::version;
use zero_bin_common::{prover_state::persistence::set_circuit_cache_dir_env_if_not_set, version};

mod cli;
mod init;

fn main() -> Result<()> {
dotenv().ok();
init::tracing();
set_circuit_cache_dir_env_if_not_set()?;

let args: Vec<String> = env::args().collect();
if args.contains(&"--version".to_string()) {
Expand Down
4 changes: 3 additions & 1 deletion zero_bin/worker/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ use clap::Parser;
use dotenvy::dotenv;
use ops::register;
use paladin::runtime::WorkerRuntime;
use zero_bin_common::prover_state::{cli::CliProverStateConfig, persistence::set_circuit_cache_dir_env_if_not_set};
use zero_bin_common::prover_state::{
cli::CliProverStateConfig, persistence::set_circuit_cache_dir_env_if_not_set,
};
use zero_bin_common::version;

mod init;
Expand Down

0 comments on commit 0bc3a86

Please sign in to comment.