Skip to content

Commit

Permalink
Remove Monolithic load stragegy restriction for InMemory leader…
Browse files Browse the repository at this point in the history
… mode (#100)
  • Loading branch information
Nashtare authored Jun 8, 2024
1 parent f685308 commit cd604d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions zero_bin/leader/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use std::{fs::File, path::PathBuf};
use anyhow::Result;
use clap::Parser;
use cli::Command;
use common::prover_state::TableLoadStrategy;
use dotenvy::dotenv;
use ops::register;
use paladin::runtime::Runtime;
Expand Down Expand Up @@ -55,9 +54,6 @@ async fn main() -> Result<()> {
// state here.
args.prover_state_config
.into_prover_state_manager()
// Use the monolithic load strategy for the prover state when running in
// emulation mode.
.with_load_strategy(TableLoadStrategy::Monolithic)
.initialize()?;
}

Expand Down
2 changes: 1 addition & 1 deletion zero_bin/tools/simple_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fi
cargo build --release --jobs "$num_procs"

start_time=$(date +%s%N)
../target/release/leader --runtime in-memory stdio < witness.json | tee leader.out
../target/release/leader --runtime in-memory --load-strategy monolithic stdio < witness.json | tee leader.out
end_time=$(date +%s%N)

tail -n 1 leader.out > proof.json
Expand Down

0 comments on commit cd604d3

Please sign in to comment.