mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 07:41:08 +00:00
depend-o-pocalipse (#9450)
Remove unneeded dependencies and dev-dependencies. Made self_destruct test not dependent on wasm bin size. Updated code related to deprecated warning on tracing-subscriber `scope()` ( See https://github.com/tokio-rs/tracing/issues/1429 )
This commit is contained in:
@@ -32,7 +32,6 @@ sp-block-builder = { path = "../../primitives/block-builder" }
|
||||
sp-api = { path = "../../primitives/api" }
|
||||
sp-transaction-pool = { path = "../../primitives/transaction-pool" }
|
||||
sp-consensus = { path = "../../primitives/consensus/common" }
|
||||
sp-keystore = { path = "../../primitives/keystore" }
|
||||
sp-runtime = { path = "../../primitives/runtime" }
|
||||
sp-session = { path = "../../primitives/session" }
|
||||
sp-offchain = { path = "../../primitives/offchain" }
|
||||
|
||||
@@ -245,10 +245,12 @@ where
|
||||
future.await.expect(ERROR);
|
||||
|
||||
match future_block.await.expect(ERROR) {
|
||||
Ok(block) =>
|
||||
log::info!("sealed {} (hash: {}) of {} blocks", count + 1, block.hash, num),
|
||||
Err(err) =>
|
||||
log::error!("failed to seal block {} of {}, error: {:?}", count + 1, num, err),
|
||||
Ok(block) => {
|
||||
log::info!("sealed {} (hash: {}) of {} blocks", count + 1, block.hash, num)
|
||||
},
|
||||
Err(err) => {
|
||||
log::error!("failed to seal block {} of {}, error: {:?}", count + 1, num, err)
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user