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:
Squirrel
2021-08-13 15:18:37 +01:00
committed by GitHub
parent 76504e56d7
commit 7e9b8d278e
129 changed files with 487 additions and 726 deletions
+6 -3
View File
@@ -14,17 +14,20 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "2.0.0" }
futures = "0.3.16"
hash-db = "0.15.2"
hex = "0.4"
serde = "1.0.126"
serde_json = "1.0.55"
sc-client-api = { version = "4.0.0-dev", path = "../../client/api" }
sc-client-db = { version = "0.10.0-dev", features = ["test-helpers"], path = "../../client/db" }
sc-client-db = { version = "0.10.0-dev", features = [
"test-helpers",
], path = "../../client/db" }
sc-consensus = { version = "0.10.0-dev", path = "../../client/consensus/common" }
sc-executor = { version = "0.10.0-dev", path = "../../client/executor" }
sc-light = { version = "4.0.0-dev", path = "../../client/light" }
sc-offchain = { version = "4.0.0-dev", path = "../../client/offchain" }
sc-service = { version = "0.10.0-dev", default-features = false, features = ["test-helpers"], path = "../../client/service" }
sc-service = { version = "0.10.0-dev", default-features = false, features = [
"test-helpers",
], path = "../../client/service" }
sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" }
sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" }
sp-core = { version = "4.0.0-dev", path = "../../primitives/core" }
@@ -24,5 +24,4 @@ sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" }
sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
sc-client-api = { version = "4.0.0-dev", path = "../../../client/api" }
sc-service = { version = "0.10.0-dev", default-features = false, path = "../../../client/service" }
futures = "0.3.9"
@@ -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" }
+6 -4
View File
@@ -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)
},
}
}
}