set ghost emoji as prefix for logging

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2025-11-21 13:49:40 +03:00
parent 6a2b5a34d2
commit 3be36b6db2
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
3 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ghost-slow-clap" name = "ghost-slow-clap"
version = "0.3.56" version = "0.3.57"
description = "Applause protocol for the EVM bridge" description = "Applause protocol for the EVM bridge"
license.workspace = true license.workspace = true
authors.workspace = true authors.workspace = true

View File

@ -127,7 +127,7 @@ impl EvmResponseType {
log::info!( log::info!(
target: LOG_TARGET, target: LOG_TARGET,
"🧐 Found {:?} claps for network {:?}", "👻 Found {:?} claps for network {:?}",
claps_len, claps_len,
network_id, network_id,
); );
@ -138,7 +138,7 @@ impl EvmResponseType {
None => { None => {
log::info!( log::info!(
target: LOG_TARGET, target: LOG_TARGET,
"🧐 Clap #{} signing failed from authority #{:?} for network {:?}", "👻 Clap #{} signing failed from authority #{:?} for network {:?}",
clap_index, clap_index,
authority_index, authority_index,
network_id, network_id,
@ -157,7 +157,7 @@ impl EvmResponseType {
{ {
log::info!( log::info!(
target: LOG_TARGET, target: LOG_TARGET,
"🧐 Failed to submit clap #{} from authority #{:?} for network {:?}: {:?}", "👻 Failed to submit clap #{} from authority #{:?} for network {:?}: {:?}",
clap_index, clap_index,
authority_index, authority_index,
network_id, network_id,
@ -198,7 +198,7 @@ impl EvmResponseType {
log::info!( log::info!(
target: LOG_TARGET, target: LOG_TARGET,
"🧐 New block commitment from authority #{:?} for network {:?}", "👻 New block commitment from authority #{:?} for network {:?}",
authority_index, authority_index,
network_id, network_id,
); );
@ -208,7 +208,7 @@ impl EvmResponseType {
None => { None => {
log::info!( log::info!(
target: LOG_TARGET, target: LOG_TARGET,
"🧐 Block commitment signing failed from authority #{:?} for network {:?}", "👻 Block commitment signing failed from authority #{:?} for network {:?}",
authority_index, authority_index,
network_id, network_id,
); );
@ -224,7 +224,7 @@ impl EvmResponseType {
if let Err(e) = SubmitTransaction::<T, Call<T>>::submit_unsigned_transaction(call.into()) { if let Err(e) = SubmitTransaction::<T, Call<T>>::submit_unsigned_transaction(call.into()) {
log::info!( log::info!(
target: LOG_TARGET, target: LOG_TARGET,
"🧐 Failed to submit block commitment from authority #{:?} for network {:?}: {:?}", "👻 Failed to submit block commitment from authority #{:?} for network {:?}: {:?}",
authority_index, authority_index,
network_id, network_id,
e, e,

View File

@ -450,7 +450,7 @@ pub mod pallet {
if let Err(e) = Self::start_slow_clapping(now) { if let Err(e) = Self::start_slow_clapping(now) {
log::info!( log::info!(
target: LOG_TARGET, target: LOG_TARGET,
"👏 Skipping slow clap at {:?}: {:?}", "👻 Skipping slow clap at {:?}: {:?}",
now, now,
e, e,
) )
@ -648,7 +648,7 @@ impl<T: Config> Pallet<T> {
let _ = Self::try_applause(&clap, &received_claps_key).inspect_err(|error_msg| { let _ = Self::try_applause(&clap, &received_claps_key).inspect_err(|error_msg| {
log::info!( log::info!(
target: LOG_TARGET, target: LOG_TARGET,
"👏 Could not applause because of: {:?}", "👻 Could not applause because of: {:?}",
error_msg, error_msg,
) )
}); });
@ -770,7 +770,7 @@ impl<T: Config> Pallet<T> {
log::info!( log::info!(
target: LOG_TARGET, target: LOG_TARGET,
"🧐 Offchain worker started for network #{:?} at block #{:?}", "👻 Offchain worker started for network #{:?} at block #{:?}",
network_in_use.0, network_in_use.0,
block_number, block_number,
); );
@ -855,7 +855,7 @@ impl<T: Config> Pallet<T> {
StorageValueRef::persistent(&block_number_key).set(&new_block_range); StorageValueRef::persistent(&block_number_key).set(&new_block_range);
if !sp_io::offchain::is_validator() { if !sp_io::offchain::is_validator() {
log::info!(target: LOG_TARGET, "🧐 Not a validator; no transactions available"); log::info!(target: LOG_TARGET, "👻 Not a validator; no transactions available");
return Ok(()); return Ok(());
} }