Copy v13 metadata from substrate, move new scale-info version to v14 (#12)

* Copy v13 metadata from substrate, move new scale-info version to v14

* Fmt

* Remove common lib types

* Extract decode different types

* Update CI to check v14

* Add Storage NMap to v14

* Bump version

* NMap keys is a Type

* Fix NMap IntoPortable

* Update frame-metadata/src/v13.rs

Co-authored-by: David <dvdplm@gmail.com>

* Remove All the metadata comments

* More clean up of v12 and v13

* review: fix comment

* Fix v13 Debug derives

Co-authored-by: David <dvdplm@gmail.com>
This commit is contained in:
Andrew Jones
2021-05-18 10:33:59 +01:00
committed by GitHub
parent f4b1727ec9
commit 385bbbd82a
7 changed files with 860 additions and 554 deletions
+4 -3
View File
@@ -1,6 +1,6 @@
[package]
name = "frame-metadata"
version = "12.0.0"
version = "14.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
@@ -19,9 +19,10 @@ scale-info = { version = "0.6.0", default-features = false, optional = true, fea
serde = { version = "1.0.101", optional = true, features = ["derive"] }
[features]
default = ["std", "v12"]
default = ["std", "v14"]
v12 = []
v13 = ["scale-info"]
v13 = []
v14 = ["scale-info"]
std = [
"codec/std",
"scale-info/std",