chore: only log block essentials (#2948)

This commit is contained in:
Matthias Seitz
2023-06-01 18:14:54 +02:00
committed by GitHub
parent 5dd49e4460
commit 48bf3990a0

View File

@ -45,7 +45,7 @@ impl<DB: Database, C: Consensus, EF: ExecutorFactory> BlockchainTreeEngine
}
fn insert_block(&self, block: SealedBlockWithSenders) -> Result<BlockStatus, InsertBlockError> {
trace!(target: "blockchain_tree", ?block, "Inserting block");
trace!(target: "blockchain_tree", hash=?block.hash, number=block.number, parent_hash=?block.parent_hash, "Inserting block");
self.tree.write().insert_block(block)
}