Commit Graph

5 Commits

Author SHA1 Message Date
Andrew Jones aa716b2bd6 Complete v13 type definitions, support metadata decoding and serde (#4)
* Add String type param for Decode impl, fix serde serialization

* Remove Deserialize derives and fix FormString impl for no_std

* Add SignedExtensionMetadata type, name is possibly be different than type name

* Add Extrinsic type

* Fix SignedExtenstionMetadata compilation issues

* Fmt

* Use PhantomData for V0 to fix no features check

* Restore ModuleMetadata index field

* Add module constants metadata

* Fmt
2021-01-15 09:26:17 +00:00
Andrew Jones 1ac42f8153 Integrate scale-info for type generation (#2)
* scale-info infused metadata

* Include type registry in metadata

* Fix errors and fmt

* Fix errors

* Add scale-info std

* Use FormString trait

* Make TypeSpec fields public

* WIP v13

* Split v12 and v13 features

* Fmt

* Add v13 CI check

* Fix v12 errors

* Define RuntimeMetadata only once

* Add Extrinsic metadata

* Add errors to module metadata

* Add StorageMetadata to v13

* Allow both v12 and v13, add check
2021-01-06 14:06:14 +01:00
Tomasz Drwięga f8fa4d1338 CI build & reformat. (#1)
* CI build & reformat.

* Fix no default features builds.

* Fix v12 build.
2020-12-10 13:23:33 +01:00
Tomasz Drwięga 6826ca8a00 Add frame-metadata from substrate. 2020-12-10 13:02:22 +01:00
Tomasz Drwięga 81929036fd Initial commit 2020-12-10 12:35:18 +01:00