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

* update cargo.toml

* use 2.0 in mmmr
This commit is contained in:
Guillaume Thiolliere authored and GitHub committed 2021-01-29 12:22:45 +00:00
1 parent bea4a6524d
commit f48296e9ad
179 files changed
+316 -383

No files matched your search

+2 -2
View File
@@ -31,12 +31,12 @@ pub struct HostError;
pub enum ExternEntity {
/// Function that is specified by an index in a default table of
/// a module that creates the sandbox.
#[codec(index = "1")]
#[codec(index = 1)]
Function(u32),
/// Linear memory that is specified by some identifier returned by sandbox
/// module upon creation new sandboxed memory.
#[codec(index = "2")]
#[codec(index = 2)]
Memory(u32),
}