mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 14:41:11 +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:
@@ -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" }
|
||||
|
||||
@@ -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