Relax types on DigestItemRef, such that byte slices can be used in addition to vector references (#10536)

* Relax types on `DigestItemRef`, such that byte slices can be used in addition to vector references

* Apply clippy suggestions
This commit is contained in:
Nazar Mokrynskyi
2022-01-20 12:02:22 +02:00
committed by GitHub
parent 1344e43d2d
commit 6b60c3dbff
159 changed files with 164 additions and 164 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ node-primitives = { version = "2.0.0", path = "../primitives" }
node-testing = { version = "3.0.0-dev", path = "../testing" }
node-runtime = { version = "3.0.0-dev", path = "../runtime" }
sc-client-api = { version = "4.0.0-dev", path = "../../../client/api/" }
sp-runtime = { version = "4.0.0", path = "../../../primitives/runtime" }
sp-runtime = { version = "4.1.0-dev", path = "../../../primitives/runtime" }
sp-state-machine = { version = "0.10.0", path = "../../../primitives/state-machine" }
serde = "1.0.132"
serde_json = "1.0.74"
+1 -1
View File
@@ -48,7 +48,7 @@ sp-consensus-babe = { version = "0.10.0-dev", path = "../../../primitives/consen
grandpa-primitives = { version = "4.0.0-dev", package = "sp-finality-grandpa", path = "../../../primitives/finality-grandpa" }
sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" }
sp-core = { version = "4.1.0-dev", path = "../../../primitives/core" }
sp-runtime = { version = "4.0.0", path = "../../../primitives/runtime" }
sp-runtime = { version = "4.1.0-dev", path = "../../../primitives/runtime" }
sp-timestamp = { version = "4.0.0-dev", path = "../../../primitives/timestamp" }
sp-authorship = { version = "4.0.0-dev", path = "../../../primitives/authorship" }
sp-inherents = { version = "4.0.0-dev", path = "../../../primitives/inherents" }
+1 -1
View File
@@ -36,7 +36,7 @@ pallet-timestamp = { version = "4.0.0-dev", path = "../../../frame/timestamp" }
pallet-treasury = { version = "4.0.0-dev", path = "../../../frame/treasury" }
sp-application-crypto = { version = "4.0.0", path = "../../../primitives/application-crypto" }
sp-consensus-babe = { version = "0.10.0-dev", path = "../../../primitives/consensus/babe" }
sp-runtime = { version = "4.0.0", path = "../../../primitives/runtime" }
sp-runtime = { version = "4.1.0-dev", path = "../../../primitives/runtime" }
sp-externalities = { version = "0.10.0", path = "../../../primitives/externalities" }
sp-keyring = { version = "4.1.0-dev", path = "../../../primitives/keyring" }
wat = "1.0"
+1 -1
View File
@@ -19,5 +19,5 @@ sc-executor = { version = "0.10.0-dev", path = "../../../client/executor" }
sc-service = { version = "0.10.0-dev", default-features = false, path = "../../../client/service" }
sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" }
sp-core = { version = "4.1.0-dev", path = "../../../primitives/core" }
sp-runtime = { version = "4.0.0", path = "../../../primitives/runtime" }
sp-runtime = { version = "4.1.0-dev", path = "../../../primitives/runtime" }
structopt = "0.3.8"
+1 -1
View File
@@ -18,7 +18,7 @@ scale-info = { version = "1.0", default-features = false, features = ["derive"]
frame-system = { version = "4.0.0-dev", default-features = false, path = "../../../frame/system" }
sp-application-crypto = { version = "4.0.0", default-features = false, path = "../../../primitives/application-crypto" }
sp-core = { version = "4.1.0-dev", default-features = false, path = "../../../primitives/core" }
sp-runtime = { version = "4.0.0", default-features = false, path = "../../../primitives/runtime" }
sp-runtime = { version = "4.1.0-dev", default-features = false, path = "../../../primitives/runtime" }
[features]
default = ["std"]
+1 -1
View File
@@ -32,6 +32,6 @@ sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain"
sp-keystore = { version = "0.10.0", path = "../../../primitives/keystore" }
sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" }
sp-consensus-babe = { version = "0.10.0-dev", path = "../../../primitives/consensus/babe" }
sp-runtime = { version = "4.0.0", path = "../../../primitives/runtime" }
sp-runtime = { version = "4.1.0-dev", path = "../../../primitives/runtime" }
sc-transaction-pool-api = { version = "4.0.0-dev", path = "../../../client/transaction-pool/api" }
substrate-frame-rpc-system = { version = "4.0.0-dev", path = "../../../utils/frame/rpc/system" }
+1 -1
View File
@@ -33,7 +33,7 @@ sp-offchain = { version = "4.0.0-dev", default-features = false, path = "../../.
sp-core = { version = "4.1.0-dev", default-features = false, path = "../../../primitives/core" }
sp-std = { version = "4.0.0", default-features = false, path = "../../../primitives/std" }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/api" }
sp-runtime = { version = "4.0.0", default-features = false, path = "../../../primitives/runtime" }
sp-runtime = { version = "4.1.0-dev", default-features = false, path = "../../../primitives/runtime" }
sp-staking = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/staking" }
sp-keyring = { version = "4.1.0-dev", optional = true, path = "../../../primitives/keyring" }
sp-session = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/session" }
+1 -1
View File
@@ -30,7 +30,7 @@ node-primitives = { version = "2.0.0", path = "../primitives" }
node-runtime = { version = "3.0.0-dev", path = "../runtime" }
sp-core = { version = "4.1.0-dev", path = "../../../primitives/core" }
sp-io = { version = "4.0.0-dev", path = "../../../primitives/io" }
sp-runtime = { version = "4.0.0", path = "../../../primitives/runtime" }
sp-runtime = { version = "4.1.0-dev", path = "../../../primitives/runtime" }
sc-executor = { version = "0.10.0-dev", path = "../../../client/executor", features = [
"wasmtime",
] }