Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Aug 28, 2024
1 parent ce31ee8 commit ed4caed
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Binary file modified elf/aggregation-elf
Binary file not shown.
Binary file modified elf/fault-proof-elf
Binary file not shown.
Binary file modified elf/range-elf
Binary file not shown.
5 changes: 3 additions & 2 deletions op-succinct-proposer/bin/cost_estimator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ use rayon::iter::{IntoParallelRefIterator, ParallelIterator};
use reqwest::Client;
use serde::{Deserialize, Serialize};
use sp1_sdk::{utils, ProverClient};
use tokio::task::block_in_place;
use std::{
cmp::min,
env, fs,
future::Future,
path::PathBuf,
time::{Duration, Instant},
};
use tokio::task::block_in_place;

pub const MULTI_BLOCK_ELF: &[u8] = include_bytes!("../../elf/range-elf");

Expand Down Expand Up @@ -171,8 +171,9 @@ async fn run_native_data_generation(
split_ranges: &[SpanBatchRange],
) -> Vec<BatchHostCli> {
const CONCURRENT_NATIVE_HOST_RUNNERS: usize = 5;
const NATIVE_HOST_TIMEOUT: Duration = Duration::from_secs(180);
const NATIVE_HOST_TIMEOUT: Duration = Duration::from_secs(300);

// TODO: Shut down all processes when the program exits OR a Ctrl+C is pressed.
let futures = split_ranges
.chunks(CONCURRENT_NATIVE_HOST_RUNNERS)
.map(|chunk| {
Expand Down

0 comments on commit ed4caed

Please sign in to comment.