@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.
- package/bundle.d.ts +2 -2
- package/bundle.js +2 -5
- package/chain/index.js +0 -4
- package/cjs/bundle.js +8 -34
- package/cjs/chain/index.js +2 -11
- package/cjs/detectOther.js +3 -10
- package/cjs/detectPackage.js +6 -11
- package/cjs/index.js +4 -16
- package/cjs/packageInfo.js +2 -16
- package/cjs/spec/centrifuge-chain.js +99 -93
- package/cjs/spec/index.js +23 -32
- package/cjs/spec/kusama.js +201 -195
- package/cjs/spec/node-template.js +12 -20
- package/cjs/spec/node.js +12 -20
- package/cjs/spec/polkadot.js +77 -82
- package/cjs/spec/rococo.js +52 -59
- package/cjs/spec/shell.js +10 -18
- package/cjs/spec/statemint.js +49 -50
- package/cjs/spec/westend.js +95 -96
- package/cjs/upgrades/e2e/index.js +11 -26
- package/cjs/upgrades/e2e/kusama.js +4176 -14
- package/cjs/upgrades/e2e/polkadot.js +2626 -14
- package/cjs/upgrades/e2e/westend.js +4014 -14
- package/cjs/upgrades/index.js +23 -40
- package/cjs/upgrades/manual/index.js +11 -26
- package/cjs/upgrades/manual/kusama.js +20 -13
- package/cjs/upgrades/manual/polkadot.js +13 -11
- package/cjs/upgrades/manual/westend.js +18 -11
- package/cjs/upgrades/types.js +2 -1
- package/cjs/util.js +55 -105
- package/detectOther.js +0 -3
- package/detectPackage.js +2 -7
- package/index.d.ts +2 -2
- package/index.js +2 -5
- package/package.json +11 -8
- package/packageInfo.js +1 -11
- package/spec/centrifuge-chain.js +95 -84
- package/spec/index.js +20 -25
- package/spec/kusama.js +197 -187
- package/spec/node-template.js +10 -13
- package/spec/node.js +10 -13
- package/spec/polkadot.js +74 -75
- package/spec/rococo.js +48 -52
- package/spec/shell.js +8 -11
- package/spec/statemint.js +45 -42
- package/spec/westend.js +91 -88
- package/upgrades/e2e/index.d.ts +3 -3
- package/upgrades/e2e/index.js +3 -6
- package/upgrades/e2e/kusama.d.ts +1 -1
- package/upgrades/e2e/kusama.js +4174 -7
- package/upgrades/e2e/polkadot.d.ts +1 -1
- package/upgrades/e2e/polkadot.js +2624 -7
- package/upgrades/e2e/westend.d.ts +1 -1
- package/upgrades/e2e/westend.js +4012 -7
- package/upgrades/index.js +17 -25
- package/upgrades/manual/index.d.ts +3 -3
- package/upgrades/manual/index.js +3 -6
- package/upgrades/manual/kusama.d.ts +1 -1
- package/upgrades/manual/kusama.js +18 -6
- package/upgrades/manual/polkadot.d.ts +1 -1
- package/upgrades/manual/polkadot.js +11 -4
- package/upgrades/manual/westend.d.ts +1 -1
- package/upgrades/manual/westend.js +16 -4
- 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
AccountInfo: 'AccountInfoWithRefCount',
|
|
23
|
+
Address: 'AccountId',
|
|
24
|
+
DispatchErrorModule: 'DispatchErrorModuleU8',
|
|
25
|
+
Keys: 'SessionKeys5',
|
|
26
|
+
LookupSource: 'AccountId',
|
|
27
|
+
ValidatorPrefs: 'ValidatorPrefsWithCommission'
|
|
33
28
|
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}, {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
//
|
|
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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
41
|
-
//
|
|
42
|
-
//
|
|
43
|
-
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}, {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
//
|
|
90
|
-
|
|
91
|
-
|
|
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;
|
package/upgrades/e2e/index.d.ts
CHANGED
|
@@ -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';
|
package/upgrades/e2e/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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';
|
package/upgrades/e2e/kusama.d.ts
CHANGED