mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-01 02:11:01 +00:00
grandpa: log everything under afg target (#4443)
This commit is contained in:
committed by
Robert Habermeier
parent
8f1b5b840d
commit
1fc3060feb
@@ -472,7 +472,7 @@ impl<B, E, Block: BlockT<Hash=H256>, RA, SC> BlockImport<Block>
|
||||
Some(justification) => {
|
||||
self.import_justification(hash, number, justification, needs_justification).unwrap_or_else(|err| {
|
||||
if needs_justification || enacts_consensus_change {
|
||||
debug!(target: "finality", "Imported block #{} that enacts authority set change with \
|
||||
debug!(target: "afg", "Imported block #{} that enacts authority set change with \
|
||||
invalid justification: {:?}, requesting justification from peers.", number, err);
|
||||
imported_aux.bad_justification = true;
|
||||
imported_aux.needs_justification = true;
|
||||
@@ -482,7 +482,7 @@ impl<B, E, Block: BlockT<Hash=H256>, RA, SC> BlockImport<Block>
|
||||
None => {
|
||||
if needs_justification {
|
||||
trace!(
|
||||
target: "finality",
|
||||
target: "afg",
|
||||
"Imported unjustified block #{} that enacts authority set change, waiting for finality for enactment.",
|
||||
number,
|
||||
);
|
||||
@@ -573,7 +573,7 @@ where
|
||||
|
||||
match result {
|
||||
Err(CommandOrError::VoterCommand(command)) => {
|
||||
info!(target: "finality", "Imported justification for block #{} that triggers \
|
||||
info!(target: "afg", "Imported justification for block #{} that triggers \
|
||||
command {}, signaling voter.", number, command);
|
||||
|
||||
// send the command to the voter
|
||||
|
||||
Reference in New Issue
Block a user