From a432c47a9906842a9bc0260be50f232471e06fa3 Mon Sep 17 00:00:00 2001 From: Daniel Olano Date: Sat, 13 Jul 2024 09:13:03 +0200 Subject: [PATCH] Revert change of added logs to service.rs --- node/src/service.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/node/src/service.rs b/node/src/service.rs index 1920d052..d3285d71 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -200,13 +200,7 @@ fn start_consensus( para_client: client.clone(), para_backend: backend, relay_client: relay_chain_interface, - code_hash_provider: move |block_hash| { - use polkadot_cli::service::HeaderProvider; - let code_hash = client.code_at(block_hash).ok().map(|c| ValidationCode::from(c).hash()); - let number = client.number(block_hash).expect("block exists; qed"); - log::trace!(">>> providing code hash for Aura: block_number = {number:?}, block_hash = {block_hash:?}, code_hash = {code_hash:?} <<<"); - client.code_at(block_hash).ok().map(|c| ValidationCode::from(c).hash()) - }, + code_hash_provider: move |block_hash| client.code_at(block_hash).ok().map(|c| ValidationCode::from(c).hash()), sync_oracle, keystore, collator_key,