diff --git a/core/src/aligned_polling_service.rs b/core/src/aligned_polling_service.rs index 33e4e2ed..c68f4495 100644 --- a/core/src/aligned_polling_service.rs +++ b/core/src/aligned_polling_service.rs @@ -13,7 +13,8 @@ use log::{error, info}; use crate::proof::state_proof::{MinaStateProof, MinaStatePubInputs}; -/// Submits a Mina (state or account) proof to Aligned's batcher and waits until the batch is verified. +/// Submits a Mina state proof to Aligned's batcher and waits until the batch is verified. +#[allow(clippy::too_many_arguments)] pub async fn submit_state_proof( proof: &MinaStateProof, pub_input: &MinaStatePubInputs, diff --git a/core/src/smart_contract_utility.rs b/core/src/smart_contract_utility.rs index 58b3c92f..3e1c7707 100644 --- a/core/src/smart_contract_utility.rs +++ b/core/src/smart_contract_utility.rs @@ -145,7 +145,7 @@ pub async fn update_chain( // TODO(xqft): do the same for ledger hashes debug!("Getting chain state hashes"); - let new_chain_state_hashes = get_bridge_chain_state_hashes(&chain, ð_rpc_url) + let new_chain_state_hashes = get_bridge_chain_state_hashes(chain, eth_rpc_url) .await .map_err(|err| err.to_string())?; @@ -303,7 +303,7 @@ pub async fn get_bridge_chain_state_hashes( .and_then(|hashes| { hashes .try_into() - .map_err(|_| format!("Failed to convert chain state hashes vec into array")) + .map_err(|_| "Failed to convert chain state hashes vec into array".to_string()) }) }