Make some txpool logs a bit more compact (#1995)

* Improve logging for transaction pool.

* Change Debug in node-template runtime.

* Fix hexdisplay.

* Add some additional logging.

* Rebuild wasm
This commit is contained in:
Tomasz Drwięga
2019-03-27 23:36:18 +01:00
committed by Gav Wood
parent 039acb9518
commit ff4523cbec
8 changed files with 92 additions and 6 deletions
@@ -20,7 +20,7 @@
//
use std::{self, time, sync::Arc};
use log::{info, debug, warn};
use log::{info, debug, warn, trace};
use client::{
self, error, Client as SubstrateClient, CallExecutor,
@@ -227,6 +227,7 @@ impl<Block, C, A> Proposer<Block, C, A> where
break;
}
trace!("[{:?}] Pushing to the block.", pending.hash);
match block_builder.push_extrinsic(pending.data.clone()) {
Ok(()) => {
debug!("[{:?}] Pushed to the block.", pending.hash);