From d45cc9bd13a23302263062f3ceb66b365098b1cd Mon Sep 17 00:00:00 2001 From: Uncle Stretch Date: Thu, 27 Nov 2025 19:22:48 +0300 Subject: [PATCH] add latest from_block to logs Signed-off-by: Uncle Stretch --- pallets/slow-clap/Cargo.toml | 2 +- pallets/slow-clap/src/lib.rs | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pallets/slow-clap/Cargo.toml b/pallets/slow-clap/Cargo.toml index 0c0eda9..fe41a18 100644 --- a/pallets/slow-clap/Cargo.toml +++ b/pallets/slow-clap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-slow-clap" -version = "0.4.3" +version = "0.4.4" description = "Applause protocol for the EVM bridge" license.workspace = true authors.workspace = true diff --git a/pallets/slow-clap/src/lib.rs b/pallets/slow-clap/src/lib.rs index d051def..18a91d2 100644 --- a/pallets/slow-clap/src/lib.rs +++ b/pallets/slow-clap/src/lib.rs @@ -897,6 +897,14 @@ impl Pallet { StorageValueRef::persistent(&block_number_key).set(&new_block_range); + log::info!( + target: LOG_TARGET, + "👻 Stored from_block is #{:?} from authority #{:?} for network {:?}", + new_block_range.0, + authority_index, + network_id, + ); + if !sp_io::offchain::is_validator() { log::info!(target: LOG_TARGET, "👻 Not a validator; no transactions available"); return Ok(());