add decode with depth limit to opaque types (#11947)

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2022-08-11 15:39:56 +01:00
committed by GitHub
parent 98252cb900
commit a6c95cbb13
3 changed files with 33 additions and 3 deletions
+2
View File
@@ -17,6 +17,7 @@ serde = { version = "1.0.136", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
frame-metadata = { version = "15.0.0", default-features = false, features = ["v14"] }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../primitives/api" }
sp-std = { version = "4.0.0", default-features = false, path = "../../primitives/std" }
sp-io = { version = "6.0.0", default-features = false, path = "../../primitives/io" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../primitives/runtime" }
@@ -49,6 +50,7 @@ default = ["std"]
std = [
"once_cell",
"serde",
"sp-api/std",
"sp-io/std",
"codec/std",
"scale-info/std",