Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseAbram committed Dec 9, 2024
1 parent bcbb39d commit 784375c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pallets/propagation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ pub mod pallet {
pub fn post_reshare(block_number: BlockNumberFor<T>) -> Result<(), http::Error> {
let reshare_data = pallet_staking_extension::Pallet::<T>::reshare_data();
if reshare_data.block_number + sp_runtime::traits::One::one() != block_number {
log::warn!("reshare block numbers: {:?}, {:?}", reshare_data.block_number + sp_runtime::traits::One::one(), block_number);
return Ok(());
}

Expand Down
1 change: 1 addition & 0 deletions pallets/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@ pub mod pallet {
// Since not enough validators do not allow rotation
// TODO: https://github.com/entropyxyz/entropy-core/issues/943
if validators.len() <= current_signers_length {
log::warn!("validtor length less than current signer");
return Ok(weight);
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// We update this if the runtime behaviour has changed. When this happens we set the
// `impl_version` to `0`.
#[allow(clippy::zero_prefixed_literal)]
spec_version: 00_03_01,
spec_version: 00_03_02,

// We only bump this if the runtime behaviour remains unchanged, but the implementations details
// have changed.
Expand Down

0 comments on commit 784375c

Please sign in to comment.