Unverified Commit 71a528e8 authored by thiolliere's avatar thiolliere Committed by GitHub
Browse files

Upgrade codec to 2.0 and bitvec to 0.20 (companion) (#2343)

* upgrade codec and bitvec

* "Update Substrate"

Co-authored-by: parity-processbot <>
parent 1dd53d43
Pipeline #122339 passed with stages
in 29 minutes and 42 seconds
......@@ -65,13 +65,13 @@ pub enum Statement<Candidate, Digest> {
/// Broadcast by an authority to indicate that this is its candidate for inclusion.
///
/// Broadcasting two different candidate messages per round is not allowed.
#[codec(index = "1")]
#[codec(index = 1)]
Candidate(Candidate),
/// Broadcast by a authority to attest that the candidate with given digest is valid.
#[codec(index = "2")]
#[codec(index = 2)]
Valid(Digest),
/// Broadcast by a authority to attest that the candidate with given digest is invalid.
#[codec(index = "3")]
#[codec(index = 3)]
Invalid(Digest),
}
......
......@@ -6,7 +6,7 @@ description = "The basic XCM datastructures."
edition = "2018"
[dependencies]
parity-scale-codec = { version = "1.3.6", default-features = false, features = [ "derive" ] }
parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] }
[features]
default = ["std"]
......
......@@ -6,7 +6,7 @@ description = "Tools & types for building with XCM and its executor."
version = "0.8.22"
[dependencies]
parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
xcm = { path = "..", default-features = false }
xcm-executor = { path = "../xcm-executor", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
......
......@@ -7,7 +7,7 @@ version = "0.8.22"
[dependencies]
impl-trait-for-tuples = "0.2.0"
parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
xcm = { path = "..", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment