mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +00:00
Validate encoding of extrinsics passed to runtime (#6442)
* Validate encoding of extrinsics passed to runtime * Bump codec version explicitly
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user