Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions batcher/client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::path::PathBuf;
use alloy_primitives::Address;
use env_logger::Env;
use futures_util::{future, SinkExt, StreamExt, TryStreamExt};
use log::{info, warn};
use log::{info};
use tokio_tungstenite::connect_async;

use batcher::types::{parse_proving_system, VerificationData};
Expand Down Expand Up @@ -82,21 +82,21 @@ async fn main() {
if let Ok(data) = std::fs::read(args.pub_input_file_name) {
pub_input = Some(data);
} else {
warn!("No public input file provided, continuing without public input...");
info!("No public input file provided, continuing without public input...");
}

let mut verification_key: Option<Vec<u8>> = None;
if let Ok(data) = std::fs::read(args.verification_key_file_name) {
verification_key = Some(data);
} else {
warn!("No verification key file provided, continuing without verification key...");
info!("No verification key file provided, continuing without verification key...");
}

let mut vm_program_code: Option<Vec<u8>> = None;
if let Ok(data) = std::fs::read(args.vm_program_code_file_name) {
vm_program_code = Some(data);
} else {
warn!("No VM program code file provided, continuing without VM program code...");
info!("No VM program code file provided, continuing without VM program code...");
}

let proof_generator_addr: Address = Address::parse_checksummed(&args.proof_generator_addr, None).unwrap();
Expand Down