Skip to content

Commit 5657bab

Browse files
api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 15.10.1
1 parent f73efe4 commit 5657bab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+6039
-3324
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## master
44

5+
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 15.10.1
56
- phishing 0.25.10
67
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 15.9.3
78
- phishing 0.25.9

api-augment/kusama/consts.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { ApiTypes, AugmentedConst } from 'https://deno.land/x/polkadot/api-
66
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from 'https://deno.land/x/polkadot/types-codec/mod.ts';
77
import type { Codec, ITuple } from 'https://deno.land/x/polkadot/types-codec/types/index.ts';
88
import type { Perbill, Permill, Perquintill } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts';
9-
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Junctions } from 'https://deno.land/x/polkadot/types/lookup.ts';
9+
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from 'https://deno.land/x/polkadot/types/lookup.ts';
1010

1111
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
1212

@@ -211,7 +211,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
211211
/**
212212
* The coretime chain pot location.
213213
**/
214-
brokerPotLocation: StagingXcmV4Junctions & AugmentedConst<ApiType>;
214+
brokerPotLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
215215
/**
216216
* Generic const
217217
**/
@@ -964,6 +964,9 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
964964
**/
965965
burn: Permill & AugmentedConst<ApiType>;
966966
/**
967+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
968+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
969+
*
967970
* The maximum number of approvals that can wait in the spending queue.
968971
*
969972
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.

api-augment/kusama/errors.ts

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -356,27 +356,11 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
356356
};
357357
coretimeAssignmentProvider: {
358358
AssignmentsEmpty: AugmentedError<ApiType>;
359-
/**
360-
* Tried to add an unsorted set of assignments
361-
**/
362-
AssignmentsNotSorted: AugmentedError<ApiType>;
363359
/**
364360
* assign_core is only allowed to append new assignments at the end of already existing
365-
* ones.
361+
* ones or update the last entry.
366362
**/
367363
DisallowedInsert: AugmentedError<ApiType>;
368-
/**
369-
* Tried to insert a schedule for the same core and block number as an existing schedule
370-
**/
371-
DuplicateInsert: AugmentedError<ApiType>;
372-
/**
373-
* Assignments together exceeded 57600.
374-
**/
375-
OverScheduled: AugmentedError<ApiType>;
376-
/**
377-
* Assignments together less than 57600
378-
**/
379-
UnderScheduled: AugmentedError<ApiType>;
380364
/**
381365
* Generic error
382366
**/
@@ -1277,10 +1261,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
12771261
* A reward pool does not exist. In all cases this is a system logic error.
12781262
**/
12791263
RewardPoolNotFound: AugmentedError<ApiType>;
1280-
/**
1281-
* The slash amount is too low to be applied.
1282-
**/
1283-
SlashTooLow: AugmentedError<ApiType>;
12841264
/**
12851265
* A sub pool does not exist.
12861266
**/
@@ -1384,14 +1364,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
13841364
};
13851365
paraInherent: {
13861366
/**
1387-
* A candidate was filtered during inherent execution. This should have only been done
1367+
* Inherent data was filtered during execution. This should have only been done
13881368
* during creation.
13891369
**/
1390-
CandidatesFilteredDuringExecution: AugmentedError<ApiType>;
1391-
/**
1392-
* The data given to the inherent will result in an overweight block.
1393-
**/
1394-
InherentOverweight: AugmentedError<ApiType>;
1370+
InherentDataFilteredDuringExecution: AugmentedError<ApiType>;
13951371
/**
13961372
* The hash of the submitted parent header doesn't correspond to the saved block hash of
13971373
* the parent.

api-augment/kusama/events.ts

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

api-augment/kusama/query.ts

Lines changed: 43 additions & 25 deletions
Large diffs are not rendered by default.

api-augment/kusama/runtime.ts

Lines changed: 25 additions & 17 deletions
Large diffs are not rendered by default.

api-augment/kusama/tx.ts

Lines changed: 54 additions & 41 deletions
Large diffs are not rendered by default.

api-augment/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22

3-
export const packageInfo = { name: '@polkadot/api-augment', path: new URL(import.meta.url).pathname, type: 'deno', version: '15.9.3' };
3+
export const packageInfo = { name: '@polkadot/api-augment', path: new URL(import.meta.url).pathname, type: 'deno', version: '15.10.1' };

api-augment/polkadot/consts.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { ApiTypes, AugmentedConst } from 'https://deno.land/x/polkadot/api-
66
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from 'https://deno.land/x/polkadot/types-codec/mod.ts';
77
import type { Codec, ITuple } from 'https://deno.land/x/polkadot/types-codec/types/index.ts';
88
import type { Perbill, Permill } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts';
9-
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Junctions } from 'https://deno.land/x/polkadot/types/lookup.ts';
9+
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from 'https://deno.land/x/polkadot/types/lookup.ts';
1010

1111
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
1212

@@ -211,7 +211,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
211211
/**
212212
* The coretime chain pot location.
213213
**/
214-
brokerPotLocation: StagingXcmV4Junctions & AugmentedConst<ApiType>;
214+
brokerPotLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
215215
/**
216216
* Generic const
217217
**/
@@ -784,6 +784,9 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
784784
**/
785785
burn: Permill & AugmentedConst<ApiType>;
786786
/**
787+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
788+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
789+
*
787790
* The maximum number of approvals that can wait in the spending queue.
788791
*
789792
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.

api-augment/polkadot/errors.ts

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -356,27 +356,11 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
356356
};
357357
coretimeAssignmentProvider: {
358358
AssignmentsEmpty: AugmentedError<ApiType>;
359-
/**
360-
* Tried to add an unsorted set of assignments
361-
**/
362-
AssignmentsNotSorted: AugmentedError<ApiType>;
363359
/**
364360
* assign_core is only allowed to append new assignments at the end of already existing
365-
* ones.
361+
* ones or update the last entry.
366362
**/
367363
DisallowedInsert: AugmentedError<ApiType>;
368-
/**
369-
* Tried to insert a schedule for the same core and block number as an existing schedule
370-
**/
371-
DuplicateInsert: AugmentedError<ApiType>;
372-
/**
373-
* Assignments together exceeded 57600.
374-
**/
375-
OverScheduled: AugmentedError<ApiType>;
376-
/**
377-
* Assignments together less than 57600
378-
**/
379-
UnderScheduled: AugmentedError<ApiType>;
380364
/**
381365
* Generic error
382366
**/
@@ -1044,10 +1028,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
10441028
* A reward pool does not exist. In all cases this is a system logic error.
10451029
**/
10461030
RewardPoolNotFound: AugmentedError<ApiType>;
1047-
/**
1048-
* The slash amount is too low to be applied.
1049-
**/
1050-
SlashTooLow: AugmentedError<ApiType>;
10511031
/**
10521032
* A sub pool does not exist.
10531033
**/
@@ -1151,14 +1131,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
11511131
};
11521132
paraInherent: {
11531133
/**
1154-
* A candidate was filtered during inherent execution. This should have only been done
1134+
* Inherent data was filtered during execution. This should have only been done
11551135
* during creation.
11561136
**/
1157-
CandidatesFilteredDuringExecution: AugmentedError<ApiType>;
1158-
/**
1159-
* The data given to the inherent will result in an overweight block.
1160-
**/
1161-
InherentOverweight: AugmentedError<ApiType>;
1137+
InherentDataFilteredDuringExecution: AugmentedError<ApiType>;
11621138
/**
11631139
* The hash of the submitted parent header doesn't correspond to the saved block hash of
11641140
* the parent.

0 commit comments

Comments
 (0)