mirror of
https://github.com/pezkuwichain/pezframe-metadata.git
synced 2026-10-24 12:45:08 +00:00
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
This commit is contained in:
1 parent
f8fa4d1338
commit
1ac42f8153
5 files changed
+858
-389
No files matched your search
@@ -74,7 +74,7 @@ jobs:
|
||||
with:
|
||||
command: check
|
||||
toolchain: stable
|
||||
args: --manifest-path ./frame-metadata/Cargo.toml --target wasm32-unknown-unknown --no-default-features
|
||||
args: --manifest-path ./frame-metadata/Cargo.toml --target wasm32-unknown-unknown --no-default-features
|
||||
|
||||
check-features:
|
||||
name: Check Features
|
||||
@@ -104,3 +104,16 @@ jobs:
|
||||
command: check
|
||||
toolchain: stable
|
||||
args: --manifest-path ./frame-metadata/Cargo.toml --no-default-features --features v12
|
||||
- name: Checking v13
|
||||
uses: actions-rs/cargo@master
|
||||
with:
|
||||
command: check
|
||||
toolchain: stable
|
||||
args: --manifest-path ./frame-metadata/Cargo.toml --no-default-features --features v13
|
||||
- name: Checking all versions
|
||||
uses: actions-rs/cargo@master
|
||||
with:
|
||||
command: check
|
||||
toolchain: stable
|
||||
args: --manifest-path ./frame-metadata/Cargo.toml --no-default-features --features v12,v13
|
||||
|
||||
Reference in new issue
Block a user