diff --git a/crates/l2geth/src/rpc_client.rs b/crates/l2geth/src/rpc_client.rs index ab249bdd8..6836c546e 100644 --- a/crates/l2geth/src/rpc_client.rs +++ b/crates/l2geth/src/rpc_client.rs @@ -136,7 +136,7 @@ impl> ChunkInterpreter for RpcClient<'_, T> { .send() .await .transpose() - .ok_or_else(|| eyre::eyre!("Block witness {block_num} not avaliable"))??; + .ok_or_else(|| eyre::eyre!("Block witness {block_num} not available"))??; Ok(witness) } diff --git a/crates/prover-bin/src/zk_circuits_handler/universal.rs b/crates/prover-bin/src/zk_circuits_handler/universal.rs index 7570a8fa2..fe1db141a 100644 --- a/crates/prover-bin/src/zk_circuits_handler/universal.rs +++ b/crates/prover-bin/src/zk_circuits_handler/universal.rs @@ -46,14 +46,6 @@ impl CircuitsHandler for Mutex { async fn get_proof_data(&self, u_task: &ProvingTask, need_snark: bool) -> Result { let mut handler_self = self.lock().await; - // if need_snark && handler_self.prover.evm_prover.is_none() { - // use base64::{prelude::BASE64_STANDARD, Engine}; - // eyre::bail!( - // "do not init prover for evm (vk: {})", - // BASE64_STANDARD.encode(handler_self.get_prover().get_app_vk()) - // ) - // } - let proof = handler_self .get_prover() .gen_proof_universal(u_task, need_snark)?;