@polkadot/types-known 9.14.2 → 10.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/bundle.d.ts +2 -2
  2. package/bundle.js +2 -5
  3. package/chain/index.js +0 -4
  4. package/cjs/bundle.js +8 -34
  5. package/cjs/chain/index.js +2 -11
  6. package/cjs/detectOther.js +3 -10
  7. package/cjs/detectPackage.js +6 -11
  8. package/cjs/index.js +4 -16
  9. package/cjs/packageInfo.js +2 -16
  10. package/cjs/spec/centrifuge-chain.js +99 -93
  11. package/cjs/spec/index.js +23 -32
  12. package/cjs/spec/kusama.js +201 -195
  13. package/cjs/spec/node-template.js +12 -20
  14. package/cjs/spec/node.js +12 -20
  15. package/cjs/spec/polkadot.js +77 -82
  16. package/cjs/spec/rococo.js +52 -59
  17. package/cjs/spec/shell.js +10 -18
  18. package/cjs/spec/statemint.js +49 -50
  19. package/cjs/spec/westend.js +95 -96
  20. package/cjs/upgrades/e2e/index.js +11 -26
  21. package/cjs/upgrades/e2e/kusama.js +4176 -14
  22. package/cjs/upgrades/e2e/polkadot.js +2626 -14
  23. package/cjs/upgrades/e2e/westend.js +4014 -14
  24. package/cjs/upgrades/index.js +23 -40
  25. package/cjs/upgrades/manual/index.js +11 -26
  26. package/cjs/upgrades/manual/kusama.js +20 -13
  27. package/cjs/upgrades/manual/polkadot.js +13 -11
  28. package/cjs/upgrades/manual/westend.js +18 -11
  29. package/cjs/upgrades/types.js +2 -1
  30. package/cjs/util.js +55 -105
  31. package/detectOther.js +0 -3
  32. package/detectPackage.js +2 -7
  33. package/index.d.ts +2 -2
  34. package/index.js +2 -5
  35. package/package.json +11 -8
  36. package/packageInfo.js +1 -11
  37. package/spec/centrifuge-chain.js +95 -84
  38. package/spec/index.js +20 -25
  39. package/spec/kusama.js +197 -187
  40. package/spec/node-template.js +10 -13
  41. package/spec/node.js +10 -13
  42. package/spec/polkadot.js +74 -75
  43. package/spec/rococo.js +48 -52
  44. package/spec/shell.js +8 -11
  45. package/spec/statemint.js +45 -42
  46. package/spec/westend.js +91 -88
  47. package/upgrades/e2e/index.d.ts +3 -3
  48. package/upgrades/e2e/index.js +3 -6
  49. package/upgrades/e2e/kusama.d.ts +1 -1
  50. package/upgrades/e2e/kusama.js +4174 -7
  51. package/upgrades/e2e/polkadot.d.ts +1 -1
  52. package/upgrades/e2e/polkadot.js +2624 -7
  53. package/upgrades/e2e/westend.d.ts +1 -1
  54. package/upgrades/e2e/westend.js +4012 -7
  55. package/upgrades/index.js +17 -25
  56. package/upgrades/manual/index.d.ts +3 -3
  57. package/upgrades/manual/index.js +3 -6
  58. package/upgrades/manual/kusama.d.ts +1 -1
  59. package/upgrades/manual/kusama.js +18 -6
  60. package/upgrades/manual/polkadot.d.ts +1 -1
  61. package/upgrades/manual/polkadot.js +11 -4
  62. package/upgrades/manual/westend.d.ts +1 -1
  63. package/upgrades/manual/westend.js +16 -4
  64. package/util.js +42 -77
package/spec/polkadot.js CHANGED
@@ -1,82 +1,81 @@
1
- // Copyright 2017-2023 @polkadot/types-known authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- /* eslint-disable sort-keys */
5
-
6
1
  import { objectSpread } from '@polkadot/util';
7
2
  const sharedTypes = {
8
- CompactAssignments: 'CompactAssignmentsWith16',
9
- DispatchErrorModule: 'DispatchErrorModuleU8',
10
- RawSolution: 'RawSolutionWith16',
11
- Keys: 'SessionKeys6',
12
- ProxyType: {
13
- _enum: {
14
- Any: 0,
15
- NonTransfer: 1,
16
- Governance: 2,
17
- Staking: 3,
18
- UnusedSudoBalances: 4,
19
- IdentityJudgement: 5,
20
- CancelProxy: 6,
21
- Auction: 7
22
- }
23
- },
24
- Weight: 'WeightV1'
3
+ CompactAssignments: 'CompactAssignmentsWith16',
4
+ DispatchErrorModule: 'DispatchErrorModuleU8',
5
+ RawSolution: 'RawSolutionWith16',
6
+ Keys: 'SessionKeys6',
7
+ ProxyType: {
8
+ _enum: {
9
+ Any: 0,
10
+ NonTransfer: 1,
11
+ Governance: 2,
12
+ Staking: 3,
13
+ UnusedSudoBalances: 4,
14
+ IdentityJudgement: 5,
15
+ CancelProxy: 6,
16
+ Auction: 7
17
+ }
18
+ },
19
+ Weight: 'WeightV1'
25
20
  };
26
21
  const addrAccountIdTypes = {
27
- AccountInfo: 'AccountInfoWithRefCount',
28
- Address: 'AccountId',
29
- DispatchErrorModule: 'DispatchErrorModuleU8',
30
- Keys: 'SessionKeys5',
31
- LookupSource: 'AccountId',
32
- ValidatorPrefs: 'ValidatorPrefsWithCommission'
22
+ AccountInfo: 'AccountInfoWithRefCount',
23
+ Address: 'AccountId',
24
+ DispatchErrorModule: 'DispatchErrorModuleU8',
25
+ Keys: 'SessionKeys5',
26
+ LookupSource: 'AccountId',
27
+ ValidatorPrefs: 'ValidatorPrefsWithCommission'
33
28
  };
34
-
35
- // these are override types for Polkadot
36
- const versioned = [{
37
- minmax: [0, 12],
38
- types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
39
- CompactAssignments: 'CompactAssignmentsTo257',
40
- OpenTip: 'OpenTipTo225',
41
- RefCount: 'RefCountTo259'
42
- })
43
- }, {
44
- minmax: [13, 22],
45
- types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
46
- CompactAssignments: 'CompactAssignmentsTo257',
47
- RefCount: 'RefCountTo259'
48
- })
49
- }, {
50
- minmax: [23, 24],
51
- types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
52
- RefCount: 'RefCountTo259'
53
- })
54
- }, {
55
- minmax: [25, 27],
56
- types: objectSpread({}, sharedTypes, addrAccountIdTypes)
57
- }, {
58
- minmax: [28, 29],
59
- types: objectSpread({}, sharedTypes, {
60
- AccountInfo: 'AccountInfoWithDualRefCount'
61
- })
62
- }, {
63
- minmax: [30, 9109],
64
- types: objectSpread({}, sharedTypes)
65
- }, {
66
- // metadata v14
67
- minmax: [9110, undefined],
68
- types: {
69
- Weight: 'WeightV1'
70
- }
71
- }
72
- // ,
73
- // {
74
- // // weight v2 introduction
75
- // minmax: [9300, undefined],
76
- // types: {
77
- // Weight: 'WeightV2'
78
- // }
79
- // }
29
+ const versioned = [
30
+ {
31
+ minmax: [0, 12],
32
+ types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
33
+ CompactAssignments: 'CompactAssignmentsTo257',
34
+ OpenTip: 'OpenTipTo225',
35
+ RefCount: 'RefCountTo259'
36
+ })
37
+ },
38
+ {
39
+ minmax: [13, 22],
40
+ types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
41
+ CompactAssignments: 'CompactAssignmentsTo257',
42
+ RefCount: 'RefCountTo259'
43
+ })
44
+ },
45
+ {
46
+ minmax: [23, 24],
47
+ types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
48
+ RefCount: 'RefCountTo259'
49
+ })
50
+ },
51
+ {
52
+ minmax: [25, 27],
53
+ types: objectSpread({}, sharedTypes, addrAccountIdTypes)
54
+ },
55
+ {
56
+ minmax: [28, 29],
57
+ types: objectSpread({}, sharedTypes, {
58
+ AccountInfo: 'AccountInfoWithDualRefCount'
59
+ })
60
+ },
61
+ {
62
+ minmax: [30, 9109],
63
+ types: objectSpread({}, sharedTypes)
64
+ },
65
+ {
66
+ // metadata v14
67
+ minmax: [9110, undefined],
68
+ types: {
69
+ Weight: 'WeightV1'
70
+ }
71
+ }
72
+ // ,
73
+ // {
74
+ // // weight v2 introduction
75
+ // minmax: [9300, undefined],
76
+ // types: {
77
+ // Weight: 'WeightV2'
78
+ // }
79
+ // }
80
80
  ];
81
-
82
81
  export default versioned;
package/spec/rococo.js CHANGED
@@ -1,59 +1,55 @@
1
- // Copyright 2017-2023 @polkadot/types-known authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- /* eslint-disable sort-keys */
5
-
6
1
  import { mapXcmTypes } from '@polkadot/types-create';
7
2
  import { objectSpread } from '@polkadot/util';
8
-
9
- // structs need to be in order
10
3
  /* eslint-disable sort-keys */
11
-
12
4
  const sharedTypes = {
13
- DispatchErrorModule: 'DispatchErrorModuleU8',
14
- FullIdentification: '()',
15
- // No staking, only session (as per config)
16
- Keys: 'SessionKeys7B',
17
- Weight: 'WeightV1'
18
- };
19
- const versioned = [{
20
- minmax: [0, 200],
21
- types: objectSpread({}, sharedTypes, {
22
- AccountInfo: 'AccountInfoWithDualRefCount',
23
- Address: 'AccountId',
24
- LookupSource: 'AccountId'
25
- })
26
- }, {
27
- minmax: [201, 214],
28
- types: objectSpread({}, sharedTypes, {
29
- AccountInfo: 'AccountInfoWithDualRefCount'
30
- })
31
- }, {
32
- minmax: [215, 228],
33
- types: objectSpread({}, sharedTypes, {
34
- Keys: 'SessionKeys6'
35
- })
36
- }, {
37
- minmax: [229, 9099],
38
- types: objectSpread({}, sharedTypes, mapXcmTypes('V0'))
39
- }, {
40
- minmax: [9100, 9105],
41
- types: objectSpread({}, sharedTypes, mapXcmTypes('V1'))
42
- }, {
43
- // metadata v14
44
- minmax: [9106, undefined],
45
- types: {
5
+ DispatchErrorModule: 'DispatchErrorModuleU8',
6
+ FullIdentification: '()',
7
+ Keys: 'SessionKeys7B',
46
8
  Weight: 'WeightV1'
47
- }
48
- }
49
- // ,
50
- // {
51
- // // weight v2 introduction
52
- // minmax: [9300, undefined],
53
- // types: {
54
- // Weight: 'WeightV2'
55
- // }
56
- // }
9
+ };
10
+ const versioned = [
11
+ {
12
+ minmax: [0, 200],
13
+ types: objectSpread({}, sharedTypes, {
14
+ AccountInfo: 'AccountInfoWithDualRefCount',
15
+ Address: 'AccountId',
16
+ LookupSource: 'AccountId'
17
+ })
18
+ },
19
+ {
20
+ minmax: [201, 214],
21
+ types: objectSpread({}, sharedTypes, {
22
+ AccountInfo: 'AccountInfoWithDualRefCount'
23
+ })
24
+ },
25
+ {
26
+ minmax: [215, 228],
27
+ types: objectSpread({}, sharedTypes, {
28
+ Keys: 'SessionKeys6'
29
+ })
30
+ },
31
+ {
32
+ minmax: [229, 9099],
33
+ types: objectSpread({}, sharedTypes, mapXcmTypes('V0'))
34
+ },
35
+ {
36
+ minmax: [9100, 9105],
37
+ types: objectSpread({}, sharedTypes, mapXcmTypes('V1'))
38
+ },
39
+ {
40
+ // metadata v14
41
+ minmax: [9106, undefined],
42
+ types: {
43
+ Weight: 'WeightV1'
44
+ }
45
+ }
46
+ // ,
47
+ // {
48
+ // // weight v2 introduction
49
+ // minmax: [9300, undefined],
50
+ // types: {
51
+ // Weight: 'WeightV2'
52
+ // }
53
+ // }
57
54
  ];
58
-
59
55
  export default versioned;
package/spec/shell.js CHANGED
@@ -1,12 +1,9 @@
1
- // Copyright 2017-2023 @polkadot/types-known authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- /* eslint-disable sort-keys */
5
-
6
- const versioned = [{
7
- minmax: [0, undefined],
8
- types: {
9
- // nothing, limited runtime
10
- }
11
- }];
1
+ const versioned = [
2
+ {
3
+ minmax: [0, undefined],
4
+ types: {
5
+ // nothing, limited runtime
6
+ }
7
+ }
8
+ ];
12
9
  export default versioned;
package/spec/statemint.js CHANGED
@@ -1,48 +1,51 @@
1
- // Copyright 2017-2023 @polkadot/types-known authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- /* eslint-disable sort-keys */
5
-
6
1
  import { mapXcmTypes } from '@polkadot/types-create';
7
2
  import { objectSpread } from '@polkadot/util';
8
3
  const sharedTypes = {
9
- DispatchErrorModule: 'DispatchErrorModuleU8',
10
- TAssetBalance: 'u128',
11
- ProxyType: {
12
- _enum: ['Any', 'NonTransfer', 'CancelProxy', 'Assets', 'AssetOwner', 'AssetManager', 'Staking']
13
- },
14
- Weight: 'WeightV1'
15
- };
16
-
17
- // these are override types for Statemine, Statemint, Westmint
18
- const versioned = [{
19
- minmax: [0, 3],
20
- types: objectSpread({
21
- // Enum was modified mid-flight -
22
- // https://github.com/paritytech/substrate/pull/10382/files#diff-e4e016b33a82268b6208dc974eea841bad47597865a749fee2f937eb6fdf67b4R498
23
- DispatchError: 'DispatchErrorPre6First'
24
- }, sharedTypes, mapXcmTypes('V0'))
25
- }, {
26
- minmax: [4, 5],
27
- types: objectSpread({
28
- // As above, see https://github.com/polkadot-js/api/issues/5301
29
- DispatchError: 'DispatchErrorPre6First'
30
- }, sharedTypes, mapXcmTypes('V1'))
31
- }, {
32
- // metadata V14
33
- minmax: [500, undefined],
34
- types: {
4
+ DispatchErrorModule: 'DispatchErrorModuleU8',
5
+ TAssetBalance: 'u128',
6
+ ProxyType: {
7
+ _enum: [
8
+ 'Any',
9
+ 'NonTransfer',
10
+ 'CancelProxy',
11
+ 'Assets',
12
+ 'AssetOwner',
13
+ 'AssetManager',
14
+ 'Staking'
15
+ ]
16
+ },
35
17
  Weight: 'WeightV1'
36
- }
37
- }
38
- // ,
39
- // {
40
- // // weight v2 introduction
41
- // minmax: [9300, undefined],
42
- // types: {
43
- // Weight: 'WeightV2'
44
- // }
45
- // }
18
+ };
19
+ const versioned = [
20
+ {
21
+ minmax: [0, 3],
22
+ types: objectSpread({
23
+ // Enum was modified mid-flight -
24
+ // https://github.com/paritytech/substrate/pull/10382/files#diff-e4e016b33a82268b6208dc974eea841bad47597865a749fee2f937eb6fdf67b4R498
25
+ DispatchError: 'DispatchErrorPre6First'
26
+ }, sharedTypes, mapXcmTypes('V0'))
27
+ },
28
+ {
29
+ minmax: [4, 5],
30
+ types: objectSpread({
31
+ // As above, see https://github.com/polkadot-js/api/issues/5301
32
+ DispatchError: 'DispatchErrorPre6First'
33
+ }, sharedTypes, mapXcmTypes('V1'))
34
+ },
35
+ {
36
+ // metadata V14
37
+ minmax: [500, undefined],
38
+ types: {
39
+ Weight: 'WeightV1'
40
+ }
41
+ }
42
+ // ,
43
+ // {
44
+ // // weight v2 introduction
45
+ // minmax: [9300, undefined],
46
+ // types: {
47
+ // Weight: 'WeightV2'
48
+ // }
49
+ // }
46
50
  ];
47
-
48
51
  export default versioned;
package/spec/westend.js CHANGED
@@ -1,96 +1,99 @@
1
- // Copyright 2017-2023 @polkadot/types-known authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- /* eslint-disable sort-keys */
5
-
6
1
  import { mapXcmTypes } from '@polkadot/types-create';
7
2
  import { objectSpread } from '@polkadot/util';
8
3
  const sharedTypes = {
9
- // 16 validators
10
- CompactAssignments: 'CompactAssignmentsWith16',
11
- DispatchErrorModule: 'DispatchErrorModuleU8',
12
- RawSolution: 'RawSolutionWith16',
13
- // general
14
- Keys: 'SessionKeys6',
15
- ProxyType: {
16
- _enum: ['Any', 'NonTransfer', 'Staking', 'SudoBalances', 'IdentityJudgement', 'CancelProxy']
17
- },
18
- Weight: 'WeightV1'
4
+ // 16 validators
5
+ CompactAssignments: 'CompactAssignmentsWith16',
6
+ DispatchErrorModule: 'DispatchErrorModuleU8',
7
+ RawSolution: 'RawSolutionWith16',
8
+ // general
9
+ Keys: 'SessionKeys6',
10
+ ProxyType: {
11
+ _enum: ['Any', 'NonTransfer', 'Staking', 'SudoBalances', 'IdentityJudgement', 'CancelProxy']
12
+ },
13
+ Weight: 'WeightV1'
19
14
  };
20
15
  const addrAccountIdTypes = {
21
- AccountInfo: 'AccountInfoWithRefCount',
22
- Address: 'AccountId',
23
- CompactAssignments: 'CompactAssignmentsWith16',
24
- DispatchErrorModule: 'DispatchErrorModuleU8',
25
- LookupSource: 'AccountId',
26
- Keys: 'SessionKeys5',
27
- RawSolution: 'RawSolutionWith16',
28
- ValidatorPrefs: 'ValidatorPrefsWithCommission'
16
+ AccountInfo: 'AccountInfoWithRefCount',
17
+ Address: 'AccountId',
18
+ CompactAssignments: 'CompactAssignmentsWith16',
19
+ DispatchErrorModule: 'DispatchErrorModuleU8',
20
+ LookupSource: 'AccountId',
21
+ Keys: 'SessionKeys5',
22
+ RawSolution: 'RawSolutionWith16',
23
+ ValidatorPrefs: 'ValidatorPrefsWithCommission'
29
24
  };
30
- const versioned = [{
31
- minmax: [1, 2],
32
- types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
33
- CompactAssignments: 'CompactAssignmentsTo257',
34
- DispatchInfo: 'DispatchInfoTo244',
35
- Heartbeat: 'HeartbeatTo244',
36
- Multiplier: 'Fixed64',
37
- OpenTip: 'OpenTipTo225',
38
- RefCount: 'RefCountTo259',
39
- Weight: 'u32'
40
- })
41
- }, {
42
- minmax: [3, 22],
43
- types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
44
- CompactAssignments: 'CompactAssignmentsTo257',
45
- DispatchInfo: 'DispatchInfoTo244',
46
- Heartbeat: 'HeartbeatTo244',
47
- OpenTip: 'OpenTipTo225',
48
- RefCount: 'RefCountTo259'
49
- })
50
- }, {
51
- minmax: [23, 42],
52
- types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
53
- CompactAssignments: 'CompactAssignmentsTo257',
54
- DispatchInfo: 'DispatchInfoTo244',
55
- Heartbeat: 'HeartbeatTo244',
56
- RefCount: 'RefCountTo259'
57
- })
58
- }, {
59
- minmax: [43, 44],
60
- types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
61
- DispatchInfo: 'DispatchInfoTo244',
62
- Heartbeat: 'HeartbeatTo244',
63
- RefCount: 'RefCountTo259'
64
- })
65
- }, {
66
- minmax: [45, 47],
67
- types: objectSpread({}, sharedTypes, addrAccountIdTypes)
68
- }, {
69
- minmax: [48, 49],
70
- types: objectSpread({}, sharedTypes, {
71
- AccountInfo: 'AccountInfoWithDualRefCount'
72
- })
73
- }, {
74
- minmax: [50, 9099],
75
- types: objectSpread({}, sharedTypes, mapXcmTypes('V0'))
76
- }, {
77
- minmax: [9100, 9105],
78
- types: objectSpread({}, sharedTypes, mapXcmTypes('V1'))
79
- }, {
80
- // metadata v14
81
- minmax: [9106, undefined],
82
- types: {
83
- Weight: 'WeightV1'
84
- }
85
- }
86
- // ,
87
- // {
88
- // // weight v2 introduction
89
- // minmax: [9300, undefined],
90
- // types: {
91
- // Weight: 'WeightV2'
92
- // }
93
- // }
25
+ const versioned = [
26
+ {
27
+ minmax: [1, 2],
28
+ types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
29
+ CompactAssignments: 'CompactAssignmentsTo257',
30
+ DispatchInfo: 'DispatchInfoTo244',
31
+ Heartbeat: 'HeartbeatTo244',
32
+ Multiplier: 'Fixed64',
33
+ OpenTip: 'OpenTipTo225',
34
+ RefCount: 'RefCountTo259',
35
+ Weight: 'u32'
36
+ })
37
+ },
38
+ {
39
+ minmax: [3, 22],
40
+ types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
41
+ CompactAssignments: 'CompactAssignmentsTo257',
42
+ DispatchInfo: 'DispatchInfoTo244',
43
+ Heartbeat: 'HeartbeatTo244',
44
+ OpenTip: 'OpenTipTo225',
45
+ RefCount: 'RefCountTo259'
46
+ })
47
+ },
48
+ {
49
+ minmax: [23, 42],
50
+ types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
51
+ CompactAssignments: 'CompactAssignmentsTo257',
52
+ DispatchInfo: 'DispatchInfoTo244',
53
+ Heartbeat: 'HeartbeatTo244',
54
+ RefCount: 'RefCountTo259'
55
+ })
56
+ },
57
+ {
58
+ minmax: [43, 44],
59
+ types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
60
+ DispatchInfo: 'DispatchInfoTo244',
61
+ Heartbeat: 'HeartbeatTo244',
62
+ RefCount: 'RefCountTo259'
63
+ })
64
+ },
65
+ {
66
+ minmax: [45, 47],
67
+ types: objectSpread({}, sharedTypes, addrAccountIdTypes)
68
+ },
69
+ {
70
+ minmax: [48, 49],
71
+ types: objectSpread({}, sharedTypes, {
72
+ AccountInfo: 'AccountInfoWithDualRefCount'
73
+ })
74
+ },
75
+ {
76
+ minmax: [50, 9099],
77
+ types: objectSpread({}, sharedTypes, mapXcmTypes('V0'))
78
+ },
79
+ {
80
+ minmax: [9100, 9105],
81
+ types: objectSpread({}, sharedTypes, mapXcmTypes('V1'))
82
+ },
83
+ {
84
+ // metadata v14
85
+ minmax: [9106, undefined],
86
+ types: {
87
+ Weight: 'WeightV1'
88
+ }
89
+ }
90
+ // ,
91
+ // {
92
+ // // weight v2 introduction
93
+ // minmax: [9300, undefined],
94
+ // types: {
95
+ // Weight: 'WeightV2'
96
+ // }
97
+ // }
94
98
  ];
95
-
96
99
  export default versioned;
@@ -1,3 +1,3 @@
1
- export { default as kusama } from './kusama';
2
- export { default as polkadot } from './polkadot';
3
- export { default as westend } from './westend';
1
+ export { default as kusama } from './kusama.js';
2
+ export { default as polkadot } from './polkadot.js';
3
+ export { default as westend } from './westend.js';
@@ -1,6 +1,3 @@
1
- // Copyright 2017-2023 @polkadot/types-known authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- export { default as kusama } from "./kusama.js";
5
- export { default as polkadot } from "./polkadot.js";
6
- export { default as westend } from "./westend.js";
1
+ export { default as kusama } from './kusama.js';
2
+ export { default as polkadot } from './polkadot.js';
3
+ export { default as westend } from './westend.js';
@@ -1,3 +1,3 @@
1
- import type { ChainUpgradesExpanded } from '../types';
1
+ import type { ChainUpgradesExpanded } from '../types.js';
2
2
  declare const upgrades: ChainUpgradesExpanded;
3
3
  export default upgrades;