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
@@ -40,7 +40,7 @@ pallet-contracts-primitives = { version = "4.0.0-dev", default-features = false,
pallet-contracts-proc-macro = { version = "4.0.0-dev", path = "proc-macro" }
sp-core = { version = "4.1.0-dev", default-features = false, path = "../../primitives/core" }
sp-io = { version = "4.0.0-dev", default-features = false, path = "../../primitives/io" }
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-sandbox = { version = "0.10.0-dev", default-features = false, path = "../../primitives/sandbox" }
sp-std = { version = "4.0.0", default-features = false, path = "../../primitives/std" }
+1 -1
View File
@@ -22,7 +22,7 @@ serde = { version = "1", features = ["derive"], optional = true }
sp-core = { version = "4.1.0-dev", path = "../../../primitives/core", default-features = false }
sp-std = { version = "4.0.0", default-features = false, path = "../../../primitives/std" }
sp-rpc = { version = "4.0.0-dev", path = "../../../primitives/rpc", optional = true }
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
@@ -26,7 +26,7 @@ sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" }
sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" }
sp-core = { version = "4.1.0-dev", path = "../../../primitives/core" }
sp-rpc = { version = "4.0.0-dev", path = "../../../primitives/rpc" }
sp-runtime = { version = "4.0.0", path = "../../../primitives/runtime" }
sp-runtime = { version = "4.1.0-dev", path = "../../../primitives/runtime" }
[dev-dependencies]
serde_json = "1"
@@ -19,7 +19,7 @@ scale-info = { version = "1.0", default-features = false, features = ["derive"]
# Substrate Dependencies
pallet-contracts-primitives = { version = "4.0.0-dev", default-features = false, path = "../../common" }
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-std = { version = "4.0.0", default-features = false, path = "../../../../primitives/std" }
[features]