Use system.version constant for runtime typegen (#5048)

* Use system.version constant for runtime typegen

* Adjust entries cast

* Adjust
This commit is contained in:
Jaco
2022-07-09 08:24:23 +03:00
committed by GitHub
parent 63094fa179
commit 62e437ba06
9 changed files with 35 additions and 254 deletions
@@ -1,72 +0,0 @@
// Copyright 2017-2022 @polkadot/types-support authors & contributors
// SPDX-License-Identifier: Apache-2.0
/* eslint-disable sort-keys */
export default {
specName: 'kusama',
implName: 'parity-kusama',
authoringVersion: 2,
specVersion: 9230,
implVersion: 0,
apis: [
[
'0xdf6acb689907609b',
4
],
[
'0x37e397fc7c91f5e4',
1
],
[
'0x40fe3ad401f8959a',
6
],
[
'0xd2bc9897eed08f15',
3
],
[
'0xf78b278be53f454c',
2
],
[
'0xaf2c0297a23e6d3d',
2
],
[
'0x49eaaf1b548a0cb0',
1
],
[
'0x91d5df18b0d2cf58',
1
],
[
'0xed99c5acb25eedf5',
3
],
[
'0xcbca25e39f142387',
2
],
[
'0x687ad44ad37f03c2',
1
],
[
'0xab3c0572291feb8b',
1
],
[
'0xbc9d89904f5b923f',
1
],
[
'0x37c8bb1350a9a2a8',
1
]
],
transactionVersion: 11,
stateVersion: 0
};
@@ -1,72 +0,0 @@
// Copyright 2017-2022 @polkadot/types-support authors & contributors
// SPDX-License-Identifier: Apache-2.0
/* eslint-disable sort-keys */
export default {
specName: 'polkadot',
implName: 'parity-polkadot',
authoringVersion: 0,
specVersion: 9230,
implVersion: 0,
apis: [
[
'0xdf6acb689907609b',
4
],
[
'0x37e397fc7c91f5e4',
1
],
[
'0x40fe3ad401f8959a',
6
],
[
'0xd2bc9897eed08f15',
3
],
[
'0xf78b278be53f454c',
2
],
[
'0xaf2c0297a23e6d3d',
2
],
[
'0x49eaaf1b548a0cb0',
1
],
[
'0x91d5df18b0d2cf58',
1
],
[
'0xed99c5acb25eedf5',
3
],
[
'0xcbca25e39f142387',
2
],
[
'0x687ad44ad37f03c2',
1
],
[
'0xab3c0572291feb8b',
1
],
[
'0xbc9d89904f5b923f',
1
],
[
'0x37c8bb1350a9a2a8',
1
]
],
transactionVersion: 12,
stateVersion: 0
};
@@ -1,68 +0,0 @@
// Copyright 2017-2022 @polkadot/types-support authors & contributors
// SPDX-License-Identifier: Apache-2.0
/* eslint-disable sort-keys */
export default {
specName: 'node',
implName: 'substrate-node',
authoringVersion: 10,
specVersion: 268,
implVersion: 0,
apis: [
[
'0xdf6acb689907609b',
4
],
[
'0x37e397fc7c91f5e4',
1
],
[
'0x40fe3ad401f8959a',
6
],
[
'0xd2bc9897eed08f15',
3
],
[
'0xf78b278be53f454c',
2
],
[
'0xed99c5acb25eedf5',
3
],
[
'0xcbca25e39f142387',
2
],
[
'0x687ad44ad37f03c2',
1
],
[
'0xbc9d89904f5b923f',
1
],
[
'0x68b66ba122c93fa7',
1
],
[
'0x37c8bb1350a9a2a8',
1
],
[
'0x91d5df18b0d2cf58',
1
],
[
'0xab3c0572291feb8b',
1
]
],
transactionVersion: 2,
stateVersion: 1
};