Bump metadata (#5586)

* Bump metadata

* TransactionPaymentApi/4
This commit is contained in:
Jaco
2023-04-09 11:46:12 +03:00
committed by GitHub
parent 3d5b69d6e6
commit 71273dbce3
38 changed files with 10161 additions and 6461 deletions
+2
View File
@@ -6,6 +6,8 @@ Changes:
- Add `BitVec.toBoolArray()` helper function
- Tie down `BitVec` from metadata to only allow (default) Lsb
- Support for `TransactionPaymentApi/4`
- Update to latest Polkadot, Kusama & Substrate metadata
## 10.2.2 Apr 1, 2023
+2 -2
View File
@@ -40,11 +40,11 @@
"test:one": "polkadot-dev-run-test --env node"
},
"devDependencies": {
"@polkadot/dev": "^0.72.34",
"@polkadot/dev": "^0.72.38",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/node": "^18.15.11"
},
"resolutions": {
"typescript": "^5.0.3"
"typescript": "^5.0.4"
}
}
@@ -700,6 +700,10 @@ declare module '@polkadot/api-base/types/consts' {
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
/**
* The maximum number of scheduled calls in the queue for a single block.
*
* NOTE:
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
* higher limit under `runtime-benchmarks` feature.
**/
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
/**
@@ -914,9 +914,6 @@ declare module '@polkadot/api-base/types/errors' {
* The portion supplied is beyond the value of the receipt.
**/
PortionTooBig: AugmentedError<ApiType>;
Release1: AugmentedError<ApiType>;
Release2: AugmentedError<ApiType>;
Tah: AugmentedError<ApiType>;
/**
* The thaw throttle has been reached for this period.
**/
+1 -1
View File
@@ -369,7 +369,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x37c8bb1350a9a2a8/3 */
/** 0x37c8bb1350a9a2a8/4 */
transactionPaymentApi: {
/**
* The transaction fee details
@@ -660,6 +660,10 @@ declare module '@polkadot/api-base/types/consts' {
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
/**
* The maximum number of scheduled calls in the queue for a single block.
*
* NOTE:
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
* higher limit under `runtime-benchmarks` feature.
**/
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
/**
+1 -1
View File
@@ -369,7 +369,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x37c8bb1350a9a2a8/3 */
/** 0x37c8bb1350a9a2a8/4 */
transactionPaymentApi: {
/**
* The transaction fee details
-54
View File
@@ -903,33 +903,6 @@ declare module '@polkadot/api-base/types/submittable' {
* - `P2` is proposal-count (code-bounded)
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved or whose voting period has ended.
*
* May be called by any signed account in order to finish voting and close the proposal.
*
* If called before the end of the voting period it will only close the vote if it is
* has enough votes to be approved or disapproved.
*
* If called after the end of the voting period abstentions are counted as rejections
* unless there is a prime member set and the prime member cast an approval.
*
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
* ## Complexity
* - `O(B + M + P1 + P2)` where:
* - `B` is `proposal` size in bytes (length-fee-bounded)
* - `M` is members-count (code- and governance-bounded)
* - `P1` is the complexity of `proposal` preimage.
* - `P2` is proposal-count (code-bounded)
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
@@ -3411,33 +3384,6 @@ declare module '@polkadot/api-base/types/submittable' {
* - `P2` is proposal-count (code-bounded)
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved or whose voting period has ended.
*
* May be called by any signed account in order to finish voting and close the proposal.
*
* If called before the end of the voting period it will only close the vote if it is
* has enough votes to be approved or disapproved.
*
* If called after the end of the voting period abstentions are counted as rejections
* unless there is a prime member set and the prime member cast an approval.
*
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
* ## Complexity
* - `O(B + M + P1 + P2)` where:
* - `B` is `proposal` size in bytes (length-fee-bounded)
* - `M` is members-count (code- and governance-bounded)
* - `P1` is the complexity of `proposal` preimage.
* - `P2` is proposal-count (code-bounded)
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
@@ -998,6 +998,10 @@ declare module '@polkadot/api-base/types/consts' {
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
/**
* The maximum number of scheduled calls in the queue for a single block.
*
* NOTE:
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
* higher limit under `runtime-benchmarks` feature.
**/
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
/**
@@ -1465,9 +1465,6 @@ declare module '@polkadot/api-base/types/errors' {
* The portion supplied is beyond the value of the receipt.
**/
PortionTooBig: AugmentedError<ApiType>;
Release1: AugmentedError<ApiType>;
Release2: AugmentedError<ApiType>;
Tah: AugmentedError<ApiType>;
/**
* The thaw throttle has been reached for this period.
**/
@@ -324,7 +324,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x37c8bb1350a9a2a8/3 */
/** 0x37c8bb1350a9a2a8/4 */
transactionPaymentApi: {
/**
* The transaction fee details
-87
View File
@@ -39,12 +39,6 @@ declare module '@polkadot/api-base/types/submittable' {
* Must be called by a Fellow.
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved, or whose voting period has ended.
*
* Must be called by a Fellow.
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disband the Alliance, remove all active members and unreserve deposits.
*
@@ -145,33 +139,6 @@ declare module '@polkadot/api-base/types/submittable' {
* - `P2` is proposal-count (code-bounded)
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved or whose voting period has ended.
*
* May be called by any signed account in order to finish voting and close the proposal.
*
* If called before the end of the voting period it will only close the vote if it is
* has enough votes to be approved or disapproved.
*
* If called after the end of the voting period abstentions are counted as rejections
* unless there is a prime member set and the prime member cast an approval.
*
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
* ## Complexity
* - `O(B + M + P1 + P2)` where:
* - `B` is `proposal` size in bytes (length-fee-bounded)
* - `M` is members-count (code- and governance-bounded)
* - `P1` is the complexity of `proposal` preimage.
* - `P2` is proposal-count (code-bounded)
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
@@ -1506,33 +1473,6 @@ declare module '@polkadot/api-base/types/submittable' {
* - `P2` is proposal-count (code-bounded)
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved or whose voting period has ended.
*
* May be called by any signed account in order to finish voting and close the proposal.
*
* If called before the end of the voting period it will only close the vote if it is
* has enough votes to be approved or disapproved.
*
* If called after the end of the voting period abstentions are counted as rejections
* unless there is a prime member set and the prime member cast an approval.
*
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
* ## Complexity
* - `O(B + M + P1 + P2)` where:
* - `B` is `proposal` size in bytes (length-fee-bounded)
* - `M` is members-count (code- and governance-bounded)
* - `P1` is the complexity of `proposal` preimage.
* - `P2` is proposal-count (code-bounded)
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
@@ -5139,33 +5079,6 @@ declare module '@polkadot/api-base/types/submittable' {
* - `P2` is proposal-count (code-bounded)
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* Close a vote that is either approved, disapproved or whose voting period has ended.
*
* May be called by any signed account in order to finish voting and close the proposal.
*
* If called before the end of the voting period it will only close the vote if it is
* has enough votes to be approved or disapproved.
*
* If called after the end of the voting period abstentions are counted as rejections
* unless there is a prime member set and the prime member cast an approval.
*
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
* ## Complexity
* - `O(B + M + P1 + P2)` where:
* - `B` is `proposal` size in bytes (length-fee-bounded)
* - `M` is members-count (code- and governance-bounded)
* - `P1` is the complexity of `proposal` preimage.
* - `P2` is proposal-count (code-bounded)
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
+5 -2
View File
@@ -93,10 +93,13 @@ describe('Abi', (): void => {
const abi = new Abi(abiJson);
const registryJson = stringifyJson(abi.registry);
const cmpFile = path.join(cmpPath, `${abiName}.test.json`);
const cmpText = fs.readFileSync(cmpFile, 'utf-8');
try {
expect(JSON.parse(registryJson)).toEqual(JSON.parse(cmpText));
expect(
JSON.parse(registryJson)
).toEqual(
JSON.parse(fs.readFileSync(cmpFile, 'utf-8'))
);
} catch (error) {
if (process.env.GITHUB_REPOSITORY) {
console.error(registryJson);
File diff suppressed because it is too large Load Diff
@@ -4,5 +4,6 @@
import { createVersionedExport } from '../util.js';
import * as v0 from './v0/index.js';
import * as v3 from './v3/index.js';
import * as v4 from './v4/index.js';
export default createVersionedExport({ v0, v3 });
export default createVersionedExport({ v0, v3, v4 });
File diff suppressed because one or more lines are too long
@@ -0,0 +1,4 @@
// Copyright 2017-2023 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { default as events } from './events.contract.json' assert { type: 'json' };
+1 -4
View File
@@ -8,7 +8,4 @@ export * from './votingBalances.js';
const votingBalance = all;
export {
all,
votingBalance
};
export { all, votingBalance };
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -140,14 +140,13 @@ const encoders: Record<TypeDefInfo, (registry: Registry, typeDef: TypeDef) => st
throw new Error('Unable to encode Struct type');
}
return encodeSubTypes(registry, sub, false,
alias
? {
_alias: [...alias.entries()].reduce<Record<string, string>>((all, [k, v]) =>
objectSpread(all, { [k]: v }), {}
)
}
: {}
return encodeSubTypes(registry, sub, false, alias
? {
_alias: [...alias.entries()].reduce<Record<string, string>>((all, [k, v]) =>
objectSpread(all, { [k]: v }), {}
)
}
: {}
);
},
File diff suppressed because one or more lines are too long
@@ -268,7 +268,7 @@
{
"name": "Version",
"type": 504,
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000ae2400000000000044df6acb689907609b0400000037e397fc7c91f5e40200000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0400000049eaaf1b548a0cb00200000091d5df18b0d2cf5802000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a803000000f3ff14d5ab5270590300000017a6bc0d0062aeb30100000018ef58a3b67ba770010000001400000000",
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000ae2400000000000044df6acb689907609b0400000037e397fc7c91f5e40200000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0400000049eaaf1b548a0cb00200000091d5df18b0d2cf5802000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a804000000f3ff14d5ab5270590300000017a6bc0d0062aeb30100000018ef58a3b67ba770010000001400000000",
"docs": [
" Get the chain's current version."
]
@@ -3602,7 +3602,11 @@
"type": 4,
"value": "0x32000000",
"docs": [
" The maximum number of scheduled calls in the queue for a single block."
" The maximum number of scheduled calls in the queue for a single block.",
"",
" NOTE:",
" + Dependent pallets' benchmarks might require a higher limit for the setting. Set a",
" higher limit under `runtime-benchmarks` feature."
]
}
],
@@ -44439,24 +44439,6 @@
"docs": [
"The receipt is already private."
]
},
{
"name": "Release1",
"fields": [],
"index": 15,
"docs": []
},
{
"name": "Release2",
"fields": [],
"index": 16,
"docs": []
},
{
"name": "Tah",
"fields": [],
"index": 17,
"docs": []
}
]
}
@@ -48599,6 +48581,12 @@
],
"index": 6,
"docs": []
},
{
"name": "WasmExtBulkMemory",
"fields": [],
"index": 7,
"docs": []
}
]
}
@@ -66,7 +66,7 @@ export default {
],
[
"0x37c8bb1350a9a2a8",
3
4
],
[
"0xf3ff14d5ab527059",
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -74,7 +74,7 @@ export default {
],
[
"0x37c8bb1350a9a2a8",
3
4
],
[
"0xf3ff14d5ab527059",
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -66,7 +66,7 @@ export default {
],
[
"0x37c8bb1350a9a2a8",
3
4
],
[
"0xf3ff14d5ab527059",
@@ -11,8 +11,7 @@ describe('Registration', (): void => {
it('decodes a Registration', (): void => {
expect(
createType(
registry, 'Registration',
'0x' +
registry, 'Registration', '0x' +
'00' + // no judgements
'00a0724e180900000000000000000000' + // balance
'00' + // no length
@@ -5,7 +5,7 @@ import type { DefinitionCall, DefinitionsCall } from '../../types/index.js';
import { objectSpread } from '@polkadot/util';
const V1_V2_V3_SHARED_PAY: Record<string, DefinitionCall> = {
const V1_TO_V4_SHARED_PAY: Record<string, DefinitionCall> = {
query_fee_details: {
description: 'The transaction fee details',
params: [
@@ -22,7 +22,7 @@ const V1_V2_V3_SHARED_PAY: Record<string, DefinitionCall> = {
}
};
const V1_V2_V3_SHARED_CALL: Record<string, DefinitionCall> = {
const V1_TO_V3_SHARED_CALL: Record<string, DefinitionCall> = {
query_call_fee_details: {
description: 'The call fee details',
params: [
@@ -39,7 +39,7 @@ const V1_V2_V3_SHARED_CALL: Record<string, DefinitionCall> = {
}
};
const V2_V3_SHARED_PAY: Record<string, DefinitionCall> = {
const V2_TO_V4_SHARED_PAY: Record<string, DefinitionCall> = {
query_info: {
description: 'The transaction info',
params: [
@@ -99,19 +99,29 @@ const V3_SHARED_PAY_CALL: Record<string, DefinitionCall> = {
export const runtime: DefinitionsCall = {
TransactionPaymentApi: [
{
// V4 is equivalent to V3 (V4 just dropped all V1 references)
methods: objectSpread(
{},
V3_SHARED_PAY_CALL,
V2_V3_SHARED_PAY,
V1_V2_V3_SHARED_PAY
V2_TO_V4_SHARED_PAY,
V1_TO_V4_SHARED_PAY
),
version: 4
},
{
methods: objectSpread(
{},
V3_SHARED_PAY_CALL,
V2_TO_V4_SHARED_PAY,
V1_TO_V4_SHARED_PAY
),
version: 3
},
{
methods: objectSpread(
{},
V2_V3_SHARED_PAY,
V1_V2_V3_SHARED_PAY
V2_TO_V4_SHARED_PAY,
V1_TO_V4_SHARED_PAY
),
version: 2
},
@@ -134,7 +144,7 @@ export const runtime: DefinitionsCall = {
// runtime. (We do detect the weight type, so correct)
type: 'RuntimeDispatchInfo'
}
}, V1_V2_V3_SHARED_PAY),
}, V1_TO_V4_SHARED_PAY),
version: 1
}
],
@@ -144,7 +154,7 @@ export const runtime: DefinitionsCall = {
{},
V3_SHARED_PAY_CALL,
V2_V3_SHARED_CALL,
V1_V2_V3_SHARED_CALL
V1_TO_V3_SHARED_CALL
),
version: 3
},
@@ -152,7 +162,7 @@ export const runtime: DefinitionsCall = {
methods: objectSpread(
{},
V2_V3_SHARED_CALL,
V1_V2_V3_SHARED_CALL
V1_TO_V3_SHARED_CALL
),
version: 2
},
@@ -174,7 +184,7 @@ export const runtime: DefinitionsCall = {
// _may_ yield fallback decoding on some versions of the runtime
type: 'RuntimeDispatchInfo'
}
}, V1_V2_V3_SHARED_CALL),
}, V1_TO_V3_SHARED_CALL),
version: 1
}
]
+63 -137
View File
@@ -101,10 +101,10 @@ __metadata:
languageName: node
linkType: hard
"@eslint/js@npm:8.37.0, @eslint/js@npm:^8.37.0":
version: 8.37.0
resolution: "@eslint/js@npm:8.37.0"
checksum: 7a07fb085c94ce1538949012c292fd3a6cd734f149bc03af6157dfbd8a7477678899ef57b4a27e15b36470a997389ad79a0533d5880c71e67720ae1a7de7c62d
"@eslint/js@npm:8.38.0, @eslint/js@npm:^8.38.0":
version: 8.38.0
resolution: "@eslint/js@npm:8.38.0"
checksum: 1f28987aa8c9cd93e23384e16c7220863b39b5dc4b66e46d7cdbccce868040f455a98d24cd8b567a884f26545a0555b761f7328d4a00c051e7ef689cbea5fce1
languageName: node
linkType: hard
@@ -452,47 +452,47 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/dev-test@npm:^0.72.34":
version: 0.72.34
resolution: "@polkadot/dev-test@npm:0.72.34"
"@polkadot/dev-test@npm:^0.72.38":
version: 0.72.38
resolution: "@polkadot/dev-test@npm:0.72.38"
dependencies:
jsdom: ^21.1.1
tslib: ^2.5.0
checksum: d0ed394e28c5ffa24c23ed302c9049291efd360b7139f37396924ff860f38fe322685731e197c87fdcd90ecd22d9f97ba46602a304e1e5c7bc8496fe8b5ca96c
checksum: fd6d903bf957fd9d632d0e2bece9c7e1a9744e03c76eab4b256d0abda952b8c5868b1c9dabe9ceb85227a8f0290ff87277e4b6defbb07e897e45764e789f038d
languageName: node
linkType: hard
"@polkadot/dev-ts@npm:^0.72.34":
version: 0.72.34
resolution: "@polkadot/dev-ts@npm:0.72.34"
"@polkadot/dev-ts@npm:^0.72.38":
version: 0.72.38
resolution: "@polkadot/dev-ts@npm:0.72.38"
dependencies:
json5: ^2.2.3
tslib: ^2.5.0
typescript: ^5.0.3
checksum: 647caea264932dd1a926e6271c8bd1a679ef30bab59522e2fe2b0b6506a035d66f791b184114848b4231c1aa77012801d808e6a41730c033fa1d289d5fefea54
typescript: ^5.0.4
checksum: 2c4007ac738cb36c2ed0d30a105a60e443dd2ede71d42273e1ff6c77702fae771f0283cff0bff5ecdfffee38013ed2f0d219b7351cc12b67d1102de5810762c9
languageName: node
linkType: hard
"@polkadot/dev@npm:^0.72.34":
version: 0.72.34
resolution: "@polkadot/dev@npm:0.72.34"
"@polkadot/dev@npm:^0.72.38":
version: 0.72.38
resolution: "@polkadot/dev@npm:0.72.38"
dependencies:
"@eslint/js": ^8.37.0
"@polkadot/dev-test": ^0.72.34
"@polkadot/dev-ts": ^0.72.34
"@rollup/plugin-alias": ^4.0.3
"@eslint/js": ^8.38.0
"@polkadot/dev-test": ^0.72.38
"@polkadot/dev-ts": ^0.72.38
"@rollup/plugin-alias": ^5.0.0
"@rollup/plugin-commonjs": ^24.0.1
"@rollup/plugin-dynamic-import-vars": ^2.0.3
"@rollup/plugin-inject": ^5.0.3
"@rollup/plugin-json": ^6.0.0
"@rollup/plugin-node-resolve": ^15.0.1
"@rollup/plugin-node-resolve": ^15.0.2
"@rushstack/eslint-patch": ^1.2.0
"@typescript-eslint/eslint-plugin": ^5.57.1
"@typescript-eslint/parser": ^5.57.1
eslint: ^8.37.0
eslint: ^8.38.0
eslint-config-standard: ^17.0.0
eslint-import-resolver-node: ^0.3.7
eslint-plugin-deprecation: ^1.4.0
eslint-plugin-deprecation: ^1.4.1
eslint-plugin-header: ^3.1.1
eslint-plugin-import: ^2.27.5
eslint-plugin-import-newlines: ^1.3.1
@@ -509,8 +509,8 @@ __metadata:
rollup: ^3.20.2
rollup-plugin-cleanup: ^3.2.1
tslib: ^2.5.0
typescript: ^5.0.3
webpack: ^5.77.0
typescript: ^5.0.4
webpack: ^5.78.0
webpack-cli: ^5.0.1
webpack-dev-server: ^4.13.2
webpack-merge: ^5.8.0
@@ -540,7 +540,7 @@ __metadata:
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
checksum: 509a6f0ca90a795f6c92f719abb3241032ea19538b2aef446b90e5f0af6a77c3761f26053d46899b48ea348ac83ccf6dbbca5372cdd83bcce59baccb406dfc00
checksum: 0a68f5c60e7e0c396cb61af68fe065a7adc03bf39c536784a31778ea25db236b7afa8229b27fe42de1687d3ca7485edbd7e6d14c9fe2ba508e96863668f04572
languageName: node
linkType: hard
@@ -907,9 +907,9 @@ __metadata:
languageName: node
linkType: hard
"@rollup/plugin-alias@npm:^4.0.3":
version: 4.0.3
resolution: "@rollup/plugin-alias@npm:4.0.3"
"@rollup/plugin-alias@npm:^5.0.0":
version: 5.0.0
resolution: "@rollup/plugin-alias@npm:5.0.0"
dependencies:
slash: ^4.0.0
peerDependencies:
@@ -917,7 +917,7 @@ __metadata:
peerDependenciesMeta:
rollup:
optional: true
checksum: 3efabf35bfe2a40722609397328513dcb72ed4e2d1e35082cd1c60b231af9041214285b3e74d8702e0f00e214ee5ef3022fbc442a1beb8d1b641e85cf2b10cbf
checksum: 2810bdbcaa61381998858379e353d573f266f952d7f6974366336ae0587acfdee12b992fe25c9b740f14e25092d6bf73b04bcbf71fc543d76d1a214547bc27c9
languageName: node
linkType: hard
@@ -987,14 +987,14 @@ __metadata:
languageName: node
linkType: hard
"@rollup/plugin-node-resolve@npm:^15.0.1":
version: 15.0.1
resolution: "@rollup/plugin-node-resolve@npm:15.0.1"
"@rollup/plugin-node-resolve@npm:^15.0.2":
version: 15.0.2
resolution: "@rollup/plugin-node-resolve@npm:15.0.2"
dependencies:
"@rollup/pluginutils": ^5.0.1
"@types/resolve": 1.20.2
deepmerge: ^4.2.2
is-builtin-module: ^3.2.0
is-builtin-module: ^3.2.1
is-module: ^1.0.0
resolve: ^1.22.1
peerDependencies:
@@ -1002,7 +1002,7 @@ __metadata:
peerDependenciesMeta:
rollup:
optional: true
checksum: 90e30b41626a15ebf02746a83d34b15f9fe9051ddc156a9bf785504f489947980b3bdeb7bf2f80828a9becfe472a03a96d0238328a3e3e2198a482fcac7eb3aa
checksum: 328eafee06ff967a36441b55e77fbd0d4f599d256e5d1977800ee71915846c46bc1b6185df35c7b512ad2b4023b05b65a332be77b8b00b9d8a20f87d056b8166
languageName: node
linkType: hard
@@ -1364,17 +1364,6 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/experimental-utils@npm:^5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/experimental-utils@npm:5.57.0"
dependencies:
"@typescript-eslint/utils": 5.57.0
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: 661e99b5caaf424bff93410403fada2900d24408de2708fa76010cfd3d31789977357ff1a7db4229b0c6aee038cc724c5f696388e6a67eaad7710b49a4ab7c6d
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:^5.57.1":
version: 5.57.1
resolution: "@typescript-eslint/parser@npm:5.57.1"
@@ -1392,16 +1381,6 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/scope-manager@npm:5.57.0"
dependencies:
"@typescript-eslint/types": 5.57.0
"@typescript-eslint/visitor-keys": 5.57.0
checksum: 4a851f23da2adbf6341b04c1e3f19fcb66415683f26805d3123725d18845bd4a150bd182de0a91279d5682f2568bb5dd831d4ad0bdb70f49d9ca7381cec4dd17
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:5.57.1":
version: 5.57.1
resolution: "@typescript-eslint/scope-manager@npm:5.57.1"
@@ -1436,13 +1415,6 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/types@npm:5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/types@npm:5.57.0"
checksum: 79a100fb650965f63c01c20e6abd79ca0d2043c3a329b9fef89917d6b9ba3c0f946dca3f14f2975ee6349daadd6ce0e98fde3aafe4b710e5a27abe1adc590c85
languageName: node
linkType: hard
"@typescript-eslint/types@npm:5.57.1":
version: 5.57.1
resolution: "@typescript-eslint/types@npm:5.57.1"
@@ -1450,24 +1422,6 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/typescript-estree@npm:5.57.0"
dependencies:
"@typescript-eslint/types": 5.57.0
"@typescript-eslint/visitor-keys": 5.57.0
debug: ^4.3.4
globby: ^11.1.0
is-glob: ^4.0.3
semver: ^7.3.7
tsutils: ^3.21.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 648b88f88ea6cc293ec67b4c0f4f3c2bf733be7e0f2eee08aadbaec6939fd724a6c287decc336abbf67b9e366cc2c48f2e0e48d8302b533e783f798332a06e83
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:5.57.1, @typescript-eslint/typescript-estree@npm:^5.13.0":
version: 5.57.1
resolution: "@typescript-eslint/typescript-estree@npm:5.57.1"
@@ -1504,25 +1458,7 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/utils@npm:5.57.0"
dependencies:
"@eslint-community/eslint-utils": ^4.2.0
"@types/json-schema": ^7.0.9
"@types/semver": ^7.3.12
"@typescript-eslint/scope-manager": 5.57.0
"@typescript-eslint/types": 5.57.0
"@typescript-eslint/typescript-estree": 5.57.0
eslint-scope: ^5.1.1
semver: ^7.3.7
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: 461258e1194d24c5e642c65ba1afd612712fa8e617ac85cfbbe3dde2557fe4abadedbce19a6954ae0cccbfb92b8a09f38d65a3eedca0394861a5d1c4c893c5ed
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:5.57.1, @typescript-eslint/utils@npm:^5.10.0":
"@typescript-eslint/utils@npm:5.57.1, @typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.57.0":
version: 5.57.1
resolution: "@typescript-eslint/utils@npm:5.57.1"
dependencies:
@@ -1550,16 +1486,6 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:5.57.0":
version: 5.57.0
resolution: "@typescript-eslint/visitor-keys@npm:5.57.0"
dependencies:
"@typescript-eslint/types": 5.57.0
eslint-visitor-keys: ^3.3.0
checksum: 77d53f74648e48bf1c6313cd60568c2b1539157ac13945f26204a54beb156666c24f3d033dd0db8ed5d1d4595ee63c072732b17132e4488b46763bf8fdcefa49
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:5.57.1":
version: 5.57.1
resolution: "@typescript-eslint/visitor-keys@npm:5.57.1"
@@ -3539,17 +3465,17 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-deprecation@npm:^1.4.0":
version: 1.4.0
resolution: "eslint-plugin-deprecation@npm:1.4.0"
"eslint-plugin-deprecation@npm:^1.4.1":
version: 1.4.1
resolution: "eslint-plugin-deprecation@npm:1.4.1"
dependencies:
"@typescript-eslint/experimental-utils": ^5.57.0
"@typescript-eslint/utils": ^5.57.0
tslib: ^2.3.1
tsutils: ^3.21.0
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
typescript: ^3.7.5 || ^4.0.0 || ^5.0.0
checksum: 2e52dd3d94befa7b7d1ab1bcba80e5d91c4ec28331711598985ccadb325ae124f94b3f6ffb9fa851062df271f3f84ec34e2295e5c47ea1c61c773d2f69d1c661
checksum: 75c7535d820d1749664705724cc979d706da126a2277f2937467f70156a2c220b10c66670f18226801c9555e4cd02312d353936f14d5752c2d2c648455fe5769
languageName: node
linkType: hard
@@ -3769,14 +3695,14 @@ __metadata:
languageName: node
linkType: hard
"eslint@npm:^8.37.0":
version: 8.37.0
resolution: "eslint@npm:8.37.0"
"eslint@npm:^8.38.0":
version: 8.38.0
resolution: "eslint@npm:8.38.0"
dependencies:
"@eslint-community/eslint-utils": ^4.2.0
"@eslint-community/regexpp": ^4.4.0
"@eslint/eslintrc": ^2.0.2
"@eslint/js": 8.37.0
"@eslint/js": 8.38.0
"@humanwhocodes/config-array": ^0.11.8
"@humanwhocodes/module-importer": ^1.0.1
"@nodelib/fs.walk": ^1.2.8
@@ -3815,7 +3741,7 @@ __metadata:
text-table: ^0.2.0
bin:
eslint: bin/eslint.js
checksum: 80f3d5cdce2d671f4794e392d234a78d039c347673defb0596268bd481e8f30a53d93c01ff4f66a546c87d97ab4122c0e9cafe1371f87cb03cee6b7d5aa97595
checksum: 73b6d9b650d0434aa7c07d0a1802f099b086ee70a8d8ba7be730439a26572a5eb71def12125c82942be2ec8ee5be38a6f1b42a13e40d4b67f11a148ec9e263eb
languageName: node
linkType: hard
@@ -5151,12 +5077,12 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"is-builtin-module@npm:^3.2.0":
version: 3.2.0
resolution: "is-builtin-module@npm:3.2.0"
"is-builtin-module@npm:^3.2.1":
version: 3.2.1
resolution: "is-builtin-module@npm:3.2.1"
dependencies:
builtin-modules: ^3.3.0
checksum: 0315751b898feff0646511c896e88b608a755c5025d0ce9a3ad25783de50be870e47dafb838cebbb06fbb2a948b209ea55348eee267836c9dd40d3a11ec717d3
checksum: e8f0ffc19a98240bda9c7ada84d846486365af88d14616e737d280d378695c8c448a621dcafc8332dbf0fcd0a17b0763b845400709963fa9151ddffece90ae88
languageName: node
linkType: hard
@@ -7431,7 +7357,7 @@ fsevents@~2.3.2:
version: 0.0.0-use.local
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@polkadot/dev": ^0.72.34
"@polkadot/dev": ^0.72.38
"@polkadot/typegen": "workspace:packages/typegen"
"@types/node": ^18.15.11
languageName: unknown
@@ -8459,23 +8385,23 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"typescript@npm:^5.0.3":
version: 5.0.3
resolution: "typescript@npm:5.0.3"
"typescript@npm:^5.0.4":
version: 5.0.4
resolution: "typescript@npm:5.0.4"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 3cce0576d218cb4277ff8b6adfef1a706e9114a98b4261a38ad658a7642f1b274a8396394f6cbff8c0ba852996d7ed2e233e9b8431d5d55ac7c2f6fea645af02
checksum: 82b94da3f4604a8946da585f7d6c3025fff8410779e5bde2855ab130d05e4fd08938b9e593b6ebed165bda6ad9292b230984f10952cf82f0a0ca07bbeaa08172
languageName: node
linkType: hard
"typescript@patch:typescript@npm%3A^5.0.3#~builtin<compat/typescript>":
version: 5.0.3
resolution: "typescript@patch:typescript@npm%3A5.0.3#~builtin<compat/typescript>::version=5.0.3&hash=bda367"
"typescript@patch:typescript@npm%3A^5.0.4#~builtin<compat/typescript>":
version: 5.0.4
resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin<compat/typescript>::version=5.0.4&hash=bda367"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 9ec0a8eed38d46cc2c8794555b7674e413604c56c159f71b8ff21ce7f17334a44127a68724cb2ef8221ff3b19369f8f05654e8a5266621d7d962aeed889bd630
checksum: 6a1fe9a77bb9c5176ead919cc4a1499ee63e46b4e05bf667079f11bf3a8f7887f135aa72460a4c3b016e6e6bb65a822cb8689a6d86cbfe92d22cc9f501f09213
languageName: node
linkType: hard
@@ -8854,9 +8780,9 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"webpack@npm:^5.77.0":
version: 5.77.0
resolution: "webpack@npm:5.77.0"
"webpack@npm:^5.78.0":
version: 5.78.0
resolution: "webpack@npm:5.78.0"
dependencies:
"@types/eslint-scope": ^3.7.3
"@types/estree": ^0.0.51
@@ -8887,7 +8813,7 @@ fsevents@~2.3.2:
optional: true
bin:
webpack: bin/webpack.js
checksum: 21341bb72cbbf61dfb3af91eabe9290a6c05139f268eff3c419e5339deb6c79f2f36de55d9abf017d3ccbad290a535c02325001b2816acc393f3c022e67ac17c
checksum: 4213e5bcc23e54c2f2a589e8e96f1fb71a2c05d5033ffda6dd8bae32284abfa0eb6b6d0707806e8dcfa48a8fcda2448d3af6c4539061679251d94c0996bebf99
languageName: node
linkType: hard