set ghost emoji as prefix for logging
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
6a2b5a34d2
commit
3be36b6db2
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ghost-slow-clap"
|
||||
version = "0.3.56"
|
||||
version = "0.3.57"
|
||||
description = "Applause protocol for the EVM bridge"
|
||||
license.workspace = true
|
||||
authors.workspace = true
|
||||
|
||||
@ -127,7 +127,7 @@ impl EvmResponseType {
|
||||
|
||||
log::info!(
|
||||
target: LOG_TARGET,
|
||||
"🧐 Found {:?} claps for network {:?}",
|
||||
"👻 Found {:?} claps for network {:?}",
|
||||
claps_len,
|
||||
network_id,
|
||||
);
|
||||
@ -138,7 +138,7 @@ impl EvmResponseType {
|
||||
None => {
|
||||
log::info!(
|
||||
target: LOG_TARGET,
|
||||
"🧐 Clap #{} signing failed from authority #{:?} for network {:?}",
|
||||
"👻 Clap #{} signing failed from authority #{:?} for network {:?}",
|
||||
clap_index,
|
||||
authority_index,
|
||||
network_id,
|
||||
@ -157,7 +157,7 @@ impl EvmResponseType {
|
||||
{
|
||||
log::info!(
|
||||
target: LOG_TARGET,
|
||||
"🧐 Failed to submit clap #{} from authority #{:?} for network {:?}: {:?}",
|
||||
"👻 Failed to submit clap #{} from authority #{:?} for network {:?}: {:?}",
|
||||
clap_index,
|
||||
authority_index,
|
||||
network_id,
|
||||
@ -198,7 +198,7 @@ impl EvmResponseType {
|
||||
|
||||
log::info!(
|
||||
target: LOG_TARGET,
|
||||
"🧐 New block commitment from authority #{:?} for network {:?}",
|
||||
"👻 New block commitment from authority #{:?} for network {:?}",
|
||||
authority_index,
|
||||
network_id,
|
||||
);
|
||||
@ -208,7 +208,7 @@ impl EvmResponseType {
|
||||
None => {
|
||||
log::info!(
|
||||
target: LOG_TARGET,
|
||||
"🧐 Block commitment signing failed from authority #{:?} for network {:?}",
|
||||
"👻 Block commitment signing failed from authority #{:?} for network {:?}",
|
||||
authority_index,
|
||||
network_id,
|
||||
);
|
||||
@ -224,7 +224,7 @@ impl EvmResponseType {
|
||||
if let Err(e) = SubmitTransaction::<T, Call<T>>::submit_unsigned_transaction(call.into()) {
|
||||
log::info!(
|
||||
target: LOG_TARGET,
|
||||
"🧐 Failed to submit block commitment from authority #{:?} for network {:?}: {:?}",
|
||||
"👻 Failed to submit block commitment from authority #{:?} for network {:?}: {:?}",
|
||||
authority_index,
|
||||
network_id,
|
||||
e,
|
||||
|
||||
@ -450,7 +450,7 @@ pub mod pallet {
|
||||
if let Err(e) = Self::start_slow_clapping(now) {
|
||||
log::info!(
|
||||
target: LOG_TARGET,
|
||||
"👏 Skipping slow clap at {:?}: {:?}",
|
||||
"👻 Skipping slow clap at {:?}: {:?}",
|
||||
now,
|
||||
e,
|
||||
)
|
||||
@ -648,7 +648,7 @@ impl<T: Config> Pallet<T> {
|
||||
let _ = Self::try_applause(&clap, &received_claps_key).inspect_err(|error_msg| {
|
||||
log::info!(
|
||||
target: LOG_TARGET,
|
||||
"👏 Could not applause because of: {:?}",
|
||||
"👻 Could not applause because of: {:?}",
|
||||
error_msg,
|
||||
)
|
||||
});
|
||||
@ -770,7 +770,7 @@ impl<T: Config> Pallet<T> {
|
||||
|
||||
log::info!(
|
||||
target: LOG_TARGET,
|
||||
"🧐 Offchain worker started for network #{:?} at block #{:?}",
|
||||
"👻 Offchain worker started for network #{:?} at block #{:?}",
|
||||
network_in_use.0,
|
||||
block_number,
|
||||
);
|
||||
@ -855,7 +855,7 @@ impl<T: Config> Pallet<T> {
|
||||
StorageValueRef::persistent(&block_number_key).set(&new_block_range);
|
||||
|
||||
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(());
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user