diff --git a/pallets/author-noting/src/lib.rs b/pallets/author-noting/src/lib.rs index 4aaa199b5..866dedf06 100644 --- a/pallets/author-noting/src/lib.rs +++ b/pallets/author-noting/src/lib.rs @@ -174,7 +174,6 @@ pub mod pallet { ContainerChainBlockInfo, >| { if let Some(ref mut old_block_info) = maybe_old_block_info { - log::info!("set_latest_author_data: {} > {}", block_info.block_number, old_block_info.block_number); if block_info.block_number > old_block_info.block_number { // We only reward author if the block increases total_weight = total_weight.saturating_add( diff --git a/pallets/collator-assignment/src/lib.rs b/pallets/collator-assignment/src/lib.rs index a9001a89f..227b5e7b3 100644 --- a/pallets/collator-assignment/src/lib.rs +++ b/pallets/collator-assignment/src/lib.rs @@ -591,11 +591,7 @@ pub mod pallet { // Avoid division by zero below return None; } - let author_index = u64::from(slot) % collators.len() as u64; - - log::info!("pallet_collator_assignment author_for_slot: slot {} index {} for para_id {}", u64::from(slot), author_index, u32::from(para_id)); - collators.get(author_index as usize).cloned() } diff --git a/pallets/inflation-rewards/src/lib.rs b/pallets/inflation-rewards/src/lib.rs index 4a81919d5..ca90e7a97 100644 --- a/pallets/inflation-rewards/src/lib.rs +++ b/pallets/inflation-rewards/src/lib.rs @@ -230,7 +230,7 @@ pub mod pallet { } } Err(e) => { - log::error!("Fail to distribute rewards: {:?}", e) + log::debug!("Fail to distribute rewards: {:?}", e) } } } else { @@ -284,7 +284,7 @@ impl AuthorNotingHook for Pallet { } } Err(e) => { - log::error!("Fail to distribute rewards: {:?}", e) + log::debug!("Fail to distribute rewards: {:?}", e) } } // we remove the para id from container-chains to reward