add latest from_block to logs

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2025-11-27 19:22:48 +03:00
parent 7c57b9ea3f
commit d45cc9bd13
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -897,6 +897,14 @@ impl<T: Config> Pallet<T> {
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(());