Bump parity-scale-codec from 2.2.0 to 2.3.1 (#9998)

* Bump parity-scale-codec from 2.2.0 to 2.3.1

Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec) from 2.2.0 to 2.3.1.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases)
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/v2.2...parity-scale-codec-v2.3.1)

---
updated-dependencies:
- dependency-name: parity-scale-codec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update UI test expectations

* Update UI test expectations

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
dependabot[bot]
2021-10-13 06:49:17 +00:00
committed by GitHub
parent cd6229810d
commit 71c8d423ca
7 changed files with 28 additions and 17 deletions
+4 -4
View File
@@ -6158,9 +6158,9 @@ dependencies = [
[[package]]
name = "parity-scale-codec"
version = "2.2.0"
version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8975095a2a03bbbdc70a74ab11a4f76a6d0b84680d87c68d722531b0ac28e8a9"
checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909"
dependencies = [
"arrayvec 0.7.0",
"bitvec 0.20.2",
@@ -6172,9 +6172,9 @@ dependencies = [
[[package]]
name = "parity-scale-codec-derive"
version = "2.2.0"
version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40dbbfef7f0a1143c5b06e0d76a6278e25dac0bc1af4be51a0fbb73f07e7ad09"
checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27"
dependencies = [
"proc-macro-crate 1.0.0",
"proc-macro2",
+1 -1
View File
@@ -19,7 +19,7 @@ tokio = { version = "1.10", features = [ "signal", "rt-multi-thread" ] }
futures = "0.3.9"
fdlimit = "0.2.1"
libp2p = "0.39.1"
parity-scale-codec = "2.0.0"
parity-scale-codec = "2.3.1"
hex = "0.4.2"
rand = "0.7.3"
tiny-bip39 = "0.8.2"
+1 -1
View File
@@ -23,7 +23,7 @@ futures-timer = "3.0.1"
log = "0.4.8"
parking_lot = "0.11.1"
rand = "0.8.4"
parity-scale-codec = { version = "2.0.0", features = ["derive"] }
parity-scale-codec = { version = "2.3.1", features = ["derive"] }
sp-application-crypto = { version = "4.0.0-dev", path = "../../primitives/application-crypto" }
sp-arithmetic = { version = "4.0.0-dev", path = "../../primitives/arithmetic" }
sp-runtime = { version = "4.0.0-dev", path = "../../primitives/runtime" }
+1 -1
View File
@@ -41,5 +41,5 @@ sc-client-api = { version = "4.0.0-dev", path = "../../api" }
sc-block-builder = { version = "0.10.0-dev", path = "../../block-builder" }
sc-executor = { version = "0.10.0-dev", path = "../../executor" }
sp-panic-handler = { version = "3.0.0", path = "../../../primitives/panic-handler" }
parity-scale-codec = "2.0.0"
parity-scale-codec = "2.3.1"
sp-tracing = { version = "4.0.0-dev", path = "../../../primitives/tracing" }
@@ -32,17 +32,28 @@ help: consider further restricting this bound
| ^^^^^^^^^^^^^^^^^^^^^
error[E0277]: the trait bound `<T as pallet::Config>::Bar: WrapperTypeEncode` is not satisfied
--> $DIR/call_argument_invalid_bound_2.rs:20:36
--> $DIR/call_argument_invalid_bound_2.rs:1:1
|
20 | pub fn foo(origin: OriginFor<T>, bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^ the trait `WrapperTypeEncode` is not implemented for `<T as pallet::Config>::Bar`
1 | #[frame_support::pallet]
| ^-----------------------
| |
| _in this procedural macro expansion
| |
2 | | mod pallet {
3 | | use frame_support::pallet_prelude::{Hooks, DispatchResultWithPostInfo};
4 | | use frame_system::pallet_prelude::{BlockNumberFor, OriginFor};
... |
16 | |
17 | | #[pallet::call]
| |__________________^ the trait `WrapperTypeEncode` is not implemented for `<T as pallet::Config>::Bar`
|
::: $CARGO/parity-scale-codec-2.2.0/src/codec.rs
::: $CARGO/parity-scale-codec-2.3.1/src/codec.rs
|
| fn encode_to<T: Output + ?Sized>(&self, dest: &mut T) {
| ------ required by this bound in `encode_to`
| fn encode_to<T: Output + ?Sized>(&self, dest: &mut T) {
| ------ required by this bound in `encode_to`
|
= note: required because of the requirements on the impl of `Encode` for `<T as pallet::Config>::Bar`
= note: this error originates in the derive macro `frame_support::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `<T as pallet::Config>::Bar: WrapperTypeDecode` is not satisfied
--> $DIR/call_argument_invalid_bound_2.rs:20:36
@@ -50,9 +61,9 @@ error[E0277]: the trait bound `<T as pallet::Config>::Bar: WrapperTypeDecode` is
20 | pub fn foo(origin: OriginFor<T>, bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^ the trait `WrapperTypeDecode` is not implemented for `<T as pallet::Config>::Bar`
|
::: $CARGO/parity-scale-codec-2.2.0/src/codec.rs
::: $CARGO/parity-scale-codec-2.3.1/src/codec.rs
|
| fn decode<I: Input>(input: &mut I) -> Result<Self, Error>;
| ----- required by this bound in `pallet::_::_parity_scale_codec::Decode::decode`
| ----- required by this bound in `parity_scale_codec::Decode::decode`
|
= note: required because of the requirements on the impl of `Decode` for `<T as pallet::Config>::Bar`
@@ -21,7 +21,7 @@ proc-macro2 = "1.0.29"
proc-macro-crate = "1.0.0"
[dev-dependencies]
parity-scale-codec = "2.0.1"
parity-scale-codec = "2.3.1"
scale-info = "1.0"
sp-arithmetic = { path = "../../arithmetic", version = "4.0.0-dev" }
# used by generate_solution_type:
@@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
log = "0.4.8"
parity-scale-codec = { version = "2.0.0" }
parity-scale-codec = { version = "2.3.1" }
serde = "1.0.126"
structopt = "0.3.8"