Update parity-scale-codec to 2.0 (#7994)

* update cargo.toml

* use 2.0 in mmmr
This commit is contained in:
Guillaume Thiolliere
2021-01-29 13:22:45 +01:00
committed by GitHub
parent bea4a6524d
commit f48296e9ad
179 changed files with 316 additions and 383 deletions
+1 -1
View File
@@ -713,7 +713,7 @@ mod tests {
pub enum TestEventSystemRenamed for TestRuntime2 {
system_renamed,
event_module<T>,
#[codec(index = "5")] event_module2<T>,
#[codec(index = 5)] event_module2<T>,
event_module3,
}
}
+2 -2
View File
@@ -478,9 +478,9 @@ mod tests {
);
impl_outer_origin!(
pub enum OriginIndices for TestRuntime where system = frame_system, system_index = "11" {
pub enum OriginIndices for TestRuntime where system = frame_system, system_index = 11 {
origin_with_generic<T>,
#[codec(index = "10")] origin_without_generic,
#[codec(index = 10)] origin_without_generic,
}
);