Alexandru Vasile fc36bec2cb Simplify feature-flag and use common types (#62)
* 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>
2023-06-27 16:11:07 +03:00
2020-12-10 12:35:18 +01:00
2020-12-10 13:02:22 +01:00
2023-03-30 16:49:57 +03:00
2020-12-10 13:23:33 +01:00
2022-02-08 18:21:15 +00:00
2022-02-08 18:21:15 +00:00
2020-12-10 13:23:33 +01:00

frame-metadata

Defines FRAME metadata types for Substrate runtimes.

Originally part of the substrate repository, it was extracted here as part of https://github.com/paritytech/substrate/pull/8615.

Versioning

Starting from v8, all historical metadata type definitions are retained. These can be enabled via features e.g. v13. The latest version is enabled by default. All legacy versions are available under the legacy feature.

Tooling

The intention is to provide tooling here in the future to handle the different versions of metadata.

S
Description
No description provided
Readme 374 KiB
Languages
Rust 100%