Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Sep 16, 2024
1 parent b383d2d commit ccccd3d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Binary file modified elf/range-elf
Binary file not shown.
4 changes: 3 additions & 1 deletion programs/range/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,10 @@ fn main() {
Sealed::new_unchecked(new_block_header.clone(), new_block_header.hash_slow()),
);

// Produce the next payload.
println!("cycle-tracker-report-start: payload-derivation");
// Produce the next payload. If a span batch boundary is passed, the driver will step until the next batch.
payload = driver.produce_payloads().await.unwrap();
println!("cycle-tracker-report-end: payload-derivation");
}

println!("cycle-tracker-start: output-root");
Expand Down
7 changes: 6 additions & 1 deletion utils/host/src/witnessgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ pub fn convert_host_cli_to_args(host_cli: &HostCli) -> Vec<String> {
format!("--l2-block-number={}", host_cli.l2_block_number),
format!("--l2-chain-id={}", host_cli.l2_chain_id),
];
// The verbosity should be passed as -v, -vv, -vvv, etc.
if host_cli.v > 0 {
args.push(format!("-{}", "v".repeat(host_cli.v as usize)));
}

if let Some(addr) = &host_cli.l2_node_address {
args.push("--l2-node-address".to_string());
args.push(addr.to_string());
Expand Down Expand Up @@ -45,7 +50,7 @@ pub fn convert_host_cli_to_args(host_cli: &HostCli) -> Vec<String> {
}

/// Default timeout for witness generation.
pub const WITNESSGEN_TIMEOUT: Duration = Duration::from_secs(120);
pub const WITNESSGEN_TIMEOUT: Duration = Duration::from_secs(1000);

struct WitnessGenProcess {
child: tokio::process::Child,
Expand Down

0 comments on commit ccccd3d

Please sign in to comment.