diff --git a/crates/bin/prove_block/src/main.rs b/crates/bin/prove_block/src/main.rs index a476e5d1..ddf11952 100644 --- a/crates/bin/prove_block/src/main.rs +++ b/crates/bin/prove_block/src/main.rs @@ -423,12 +423,8 @@ async fn main() -> Result<(), Box> { let generic_cc = generic_sierra_cc.compile()?; - let (_contract_class_hash, compiled_contract_hash) = write_class_facts( - generic_sierra_cc, - generic_cc.clone(), - &mut initial_state.ffc_for_class_hash, - ) - .await?; + let (_contract_class_hash, compiled_contract_hash) = + write_class_facts(generic_sierra_cc, generic_cc.clone(), &mut initial_state.ffc_for_class_hash).await?; class_hash_to_compiled_class_hash.insert(class_hash, compiled_contract_hash.into()); compiled_classes.insert(compiled_contract_hash.into(), generic_cc.clone()); diff --git a/crates/bin/prove_block/src/rpc_utils.rs b/crates/bin/prove_block/src/rpc_utils.rs index ebebc828..bf350ff8 100644 --- a/crates/bin/prove_block/src/rpc_utils.rs +++ b/crates/bin/prove_block/src/rpc_utils.rs @@ -229,7 +229,11 @@ pub(crate) async fn get_class_proofs( // Utility to extract all contract address in a nested call structure. Any given call can have // nested calls, creating a tree structure of calls, so this fn traverses this structure and // returns a flat list of all contracts encountered along the way. -pub(crate) fn process_function_invocations(inv: FunctionInvocation, contracts: &mut HashSet, nesting_level: u64) { +pub(crate) fn process_function_invocations( + inv: FunctionInvocation, + contracts: &mut HashSet, + nesting_level: u64, +) { log::info!("process_function_inv: contract: {:x} at level {}", inv.contract_address, nesting_level); contracts.insert(inv.contract_address); for call in inv.calls {