Skip to content

Commit 2e4a478

Browse files
api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 16.4.1
1 parent 6b887aa commit 2e4a478

File tree

28 files changed

+534
-127
lines changed

28 files changed

+534
-127
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} 16.4.1
56
- phishing 0.25.14
67
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 16.3.1
78
- hw-{ledger, ledger-transports}, keyring, networks, util, util-crypto, x-{bigint, fetch, global, randomvalues, textdecoder, textencoder, ws} 13.5.3

api-augment/kusama/consts.ts

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import 'https://deno.land/x/polkadot/api-base/types/consts.ts';
55
import type { ApiTypes, AugmentedConst } from 'https://deno.land/x/polkadot/api-base/types/index.ts';
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';
8-
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, StagingXcmV5Junctions } from 'https://deno.land/x/polkadot/types/lookup.ts';
8+
import type { AccountId32, Perbill, Permill, Perquintill } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts';
9+
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from 'https://deno.land/x/polkadot/types/lookup.ts';
1010

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

@@ -125,7 +125,12 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
125125
**/
126126
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
127127
/**
128-
* Bounty duration in blocks.
128+
* The time limit for a curator to act before a bounty expires.
129+
*
130+
* The period that starts when a curator is approved, during which they must execute or
131+
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
132+
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
133+
* removing the need for `extend_bounty_expiry`.
129134
**/
130135
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
131136
/**
@@ -345,9 +350,11 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
345350
**/
346351
submissionDeposit: u128 & AugmentedConst<ApiType>;
347352
/**
348-
* Information concerning the different referendum tracks.
353+
* A list of tracks.
354+
*
355+
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
349356
**/
350-
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
357+
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
351358
/**
352359
* The number of blocks after submission that a referendum must begin being decided by.
353360
* Once this passes, then anyone may cancel the referendum.
@@ -704,9 +711,11 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
704711
**/
705712
submissionDeposit: u128 & AugmentedConst<ApiType>;
706713
/**
707-
* Information concerning the different referendum tracks.
714+
* A list of tracks.
715+
*
716+
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
708717
**/
709-
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
718+
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
710719
/**
711720
* The number of blocks after submission that a referendum must begin being decided by.
712721
* Once this passes, then anyone may cancel the referendum.
@@ -980,6 +989,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
980989
* The period during which an approved treasury spend has to be claimed.
981990
**/
982991
payoutPeriod: u32 & AugmentedConst<ApiType>;
992+
/**
993+
* Gets this pallet's derived pot account.
994+
**/
995+
potAccount: AccountId32 & AugmentedConst<ApiType>;
983996
/**
984997
* Period between successive spends.
985998
**/
@@ -1062,5 +1075,16 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
10621075
**/
10631076
[key: string]: Codec;
10641077
};
1078+
xcmPallet: {
1079+
/**
1080+
* The latest supported version that we advertise. Generally just set it to
1081+
* `pallet_xcm::CurrentXcmVersion`.
1082+
**/
1083+
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
1084+
/**
1085+
* Generic const
1086+
**/
1087+
[key: string]: Codec;
1088+
};
10651089
} // AugmentedConsts
10661090
} // declare module

api-augment/kusama/errors.ts

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,15 +951,16 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
951951
**/
952952
NoApprovalsNeeded: AugmentedError<ApiType>;
953953
/**
954-
* Multisig operation not found when attempting to cancel.
954+
* Multisig operation not found in storage.
955955
**/
956956
NotFound: AugmentedError<ApiType>;
957957
/**
958958
* No timepoint was given, yet the multisig operation is already underway.
959959
**/
960960
NoTimepoint: AugmentedError<ApiType>;
961961
/**
962-
* Only the account that originally created the multisig is able to cancel it.
962+
* Only the account that originally created the multisig is able to cancel it or update
963+
* its deposits.
963964
**/
964965
NotOwner: AugmentedError<ApiType>;
965966
/**
@@ -1257,10 +1258,19 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
12571258
* A (bonded) pool id does not exist.
12581259
**/
12591260
PoolNotFound: AugmentedError<ApiType>;
1261+
/**
1262+
* Account is restricted from participation in pools. This may happen if the account is
1263+
* staking in another way already.
1264+
**/
1265+
Restricted: AugmentedError<ApiType>;
12601266
/**
12611267
* A reward pool does not exist. In all cases this is a system logic error.
12621268
**/
12631269
RewardPoolNotFound: AugmentedError<ApiType>;
1270+
/**
1271+
* The slash amount is too low to be applied.
1272+
**/
1273+
SlashTooLow: AugmentedError<ApiType>;
12641274
/**
12651275
* A sub pool does not exist.
12661276
**/
@@ -1271,6 +1281,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
12711281
[key: string]: AugmentedError<ApiType>;
12721282
};
12731283
onDemandAssignmentProvider: {
1284+
/**
1285+
* The account doesn't have enough credits to purchase on-demand coretime.
1286+
**/
1287+
InsufficientCredits: AugmentedError<ApiType>;
12741288
/**
12751289
* The order queue is full, `place_order` will not continue.
12761290
**/
@@ -1998,6 +2012,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
19982012
* Rewards for this era have already been claimed for this validator.
19992013
**/
20002014
AlreadyClaimed: AugmentedError<ApiType>;
2015+
/**
2016+
* The stake of this account is already migrated to `Fungible` holds.
2017+
**/
2018+
AlreadyMigrated: AugmentedError<ApiType>;
20012019
/**
20022020
* Controller is already paired.
20032021
**/
@@ -2018,6 +2036,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
20182036
* The user has enough bond and thus cannot be chilled forcefully by an external person.
20192037
**/
20202038
CannotChillOther: AugmentedError<ApiType>;
2039+
/**
2040+
* Stash could not be reaped as other pallet might depend on it.
2041+
**/
2042+
CannotReapStash: AugmentedError<ApiType>;
20212043
/**
20222044
* Cannot reset a ledger.
20232045
**/
@@ -2096,6 +2118,11 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
20962118
* Can not rebond without unlocking chunks.
20972119
**/
20982120
NoUnlockChunk: AugmentedError<ApiType>;
2121+
/**
2122+
* Account is restricted from participation in staking. This may happen if the account is
2123+
* staking in another way already, such as via pool.
2124+
**/
2125+
Restricted: AugmentedError<ApiType>;
20992126
/**
21002127
* Provided reward destination is not allowed.
21012128
**/
@@ -2298,6 +2325,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
22982325
* The given account is not an identifiable sovereign account for any location.
22992326
**/
23002327
AccountNotSovereign: AugmentedError<ApiType>;
2328+
/**
2329+
* The alias to remove authorization for was not found.
2330+
**/
2331+
AliasNotFound: AugmentedError<ApiType>;
23012332
/**
23022333
* The location is invalid since it already has a subscription from us.
23032334
**/
@@ -2327,6 +2358,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
23272358
* The assets to be sent are empty.
23282359
**/
23292360
Empty: AugmentedError<ApiType>;
2361+
/**
2362+
* Expiry block number is in the past.
2363+
**/
2364+
ExpiresInPast: AugmentedError<ApiType>;
23302365
/**
23312366
* The operation required fees to be paid which the initiator could not meet.
23322367
**/
@@ -2376,6 +2411,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
23762411
* Too many assets have been attempted for transfer.
23772412
**/
23782413
TooManyAssets: AugmentedError<ApiType>;
2414+
/**
2415+
* Too many locations authorized to alias origin.
2416+
**/
2417+
TooManyAuthorizedAliases: AugmentedError<ApiType>;
23792418
/**
23802419
* The asset owner has too many locks on the asset.
23812420
**/

0 commit comments

Comments
 (0)