Validate encoding of extrinsics passed to runtime (#6442)

* Validate encoding of extrinsics passed to runtime

* Bump codec version explicitly
This commit is contained in:
Arkadiy Paronyan
2020-06-19 21:27:16 +02:00
committed by GitHub
parent 9ee2427289
commit 7b34438178
131 changed files with 141 additions and 134 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ sp-runtime = { version = "2.0.0-rc3", path = "../../runtime" }
sp-blockchain = { version = "2.0.0-rc3", path = "../../blockchain" }
sp-consensus = { version = "0.8.0-rc3", path = "../../../primitives/consensus/common" }
sc-block-builder = { version = "0.8.0-rc3", path = "../../../client/block-builder" }
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
sp-state-machine = { version = "0.8.0-rc3", path = "../../../primitives/state-machine" }
trybuild = "1.0.17"
rustversion = "1.0.0"
@@ -16,9 +16,9 @@ error[E0277]: the trait bound `u32: std::convert::From<std::string::String>` is
27 | | }
| |_^ the trait `std::convert::From<std::string::String>` is not implemented for `u32`
|
::: $WORKSPACE/primitives/api/src/lib.rs:347:35
::: $WORKSPACE/primitives/api/src/lib.rs:350:35
|
347 | type Error: std::fmt::Debug + From<String>;
350 | type Error: std::fmt::Debug + From<String>;
| ------------ required by this bound in `sp_api_hidden_includes_DECL_RUNTIME_APIS::sp_api::ApiErrorExt`
|
= help: the following implementations were found: