mirror of
https://github.com/pezkuwichain/pezframe-metadata.git
synced 2026-04-22 04:17:58 +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:
@@ -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