Skip to content

Commit 9200146

Browse files
committed
fix: read max cells per chip in segment correctly
1 parent aba2456 commit 9200146

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bin/host/src/main.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ struct HostArgs {
6868

6969
#[clap(flatten)]
7070
benchmark: BenchmarkCli,
71+
72+
/// Max cells per chip in segment for continuations
73+
#[arg(short, long, alias = "max_cells_per_chip_in_segment")]
74+
pub max_cells_per_chip_in_segment: Option<usize>,
7175
}
7276

7377
const OPENVM_CLIENT_ETH_ELF: &[u8] = include_bytes!("../elf/openvm-client-eth");
@@ -181,7 +185,7 @@ async fn main() -> eyre::Result<()> {
181185
let app_log_blowup = args.benchmark.app_log_blowup.unwrap_or(DEFAULT_APP_LOG_BLOWUP);
182186
let max_segment_length = args.benchmark.max_segment_length.unwrap_or((1 << 23) - 100);
183187
let max_cells_per_chip_in_segment =
184-
args.benchmark.max_cells_per_chip_in_segment.unwrap_or(((1 << 23) - 100) * 120);
188+
args.max_cells_per_chip_in_segment.unwrap_or(((1 << 23) - 100) * 120);
185189

186190
let vm_config =
187191
reth_vm_config(app_log_blowup, max_segment_length, max_cells_per_chip_in_segment);

0 commit comments

Comments
 (0)