* Alter Deprecation bits to avoid weird states
* fmt
* No need to deprecate the entire enum, only variants
* Make it easy to signal nothing deprecated on EnumDeprecationInfo
* Bump to 22.0.0
* Update changelog
* Address V16 pre-stabilization niggles
* fmt
* Add wrapper around Compact which can be Serialized
* Compact => CompactSer to differentiate
* Actually, Compact impls serialize with feature flag
* Add common types between v14 and v15
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Use common types
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Guard common types by feature flags
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Use feature flags on the imports
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Revert "Use feature flags on the imports"
This reverts commit 5988d8a221c4f8bb8b9dd095fc703d1e5e99d7ef.
Revert "Guard common types by feature flags"
This reverts commit f12cdc650765da455bf29f1eca0205662a039267.
Revert "Use common types"
This reverts commit a012d1ce2b0ff83039a8ecd7097d66fa96d62b1a.
Revert "Add common types between v14 and v15"
This reverts commit 718c9d39e9c53c5ba51ed249595f8263b8604605.
* Adjust feature flags
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Use v14 types for v15
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Rename `module_error_ty` to be consisten with `event`/`call`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Mark V15 as unstable
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Adjust feature flags
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Metadata supporting scale-info can be decoded and serialized in no_std (#2)
* Metadata supporting scale-info can be decoded and serialized in no_std (feature flag scale_info)
* Changes from review: rename feature flag into full_derive
* Changes from review: std implies full-derive
* Changes from review: optimization
Co-authored-by: echevrier <edith.chevrier@scs.ch>
* split full_derive into decode and sered_codec features.
(drop new Debug impls)
* cargo fmt
* rename serde_codec to serde_full
* Prior to v14 everything was Debug.
Are there any downsides? Unused debug impls will just get optimised away won't they?
* rust fmt
* Debug for the masses. Make it work for no_std
* check all combos of features
(if this plays well with ci then we should double up,
doing the same again but target wasm32)
* all wasm feature combos
Co-authored-by: echevrier <84318241+echevrier@users.noreply.github.com>
Co-authored-by: echevrier <edith.chevrier@scs.ch>
* add v11 metadata
* add v10 metadata
* add v8/v9 metadata
* add version and legacy features
* add debug impl for legacy metadata
* any for features in RuntimeMetadata enum
* revert codec version change
* spaces
* add v8-v13 test metadata
* remove runtime version from meta bin name
* move test_data outside of src/
* add tests for v9-v14 metadata
* remove println
* Update frame-metadata/src/lib.rs
Co-authored-by: David <dvdplm@gmail.com>
* add docs per meta version upto 13
* cargo fmt
Co-authored-by: David <dvdplm@gmail.com>
* 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>
* 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
* 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