Skip to content

Commit 697c46e

Browse files
api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 14.1.1
1 parent 6dd2b5b commit 697c46e

40 files changed

+6782
-3206
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} 14.1.1
56
- hw-{ledger, ledger-transports}, keyring, networks, util, util-crypto, x-{bigint, fetch, global, randomvalues, textdecoder, textencoder, ws} 13.2.1
67
- wasm-{bridge, crypto, crypto-{asmjs, init, wasm}, util} 7.4.1
78
- phishing 0.23.7

api-augment/kusama/runtime.ts

Lines changed: 214 additions & 185 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: '14.0.1' };
3+
export const packageInfo = { name: '@polkadot/api-augment', path: new URL(import.meta.url).pathname, type: 'deno', version: '14.1.1' };

api-augment/polkadot/consts.ts

Lines changed: 50 additions & 66 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 } from 'https://deno.land/x/polkadot/types/lookup.ts';
9+
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Junctions } from 'https://deno.land/x/polkadot/types/lookup.ts';
1010

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

@@ -77,10 +77,14 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
7777
/**
7878
* The maximum number of locks that should exist on an account.
7979
* Not strictly enforced, but used for weight estimation.
80+
*
81+
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
8082
**/
8183
maxLocks: u32 & AugmentedConst<ApiType>;
8284
/**
8385
* The maximum number of named reserves that can exist on an account.
86+
*
87+
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
8488
**/
8589
maxReserves: u32 & AugmentedConst<ApiType>;
8690
/**
@@ -199,6 +203,20 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
199203
**/
200204
[key: string]: Codec;
201205
};
206+
coretime: {
207+
/**
208+
* The ParaId of the coretime chain.
209+
**/
210+
brokerId: u32 & AugmentedConst<ApiType>;
211+
/**
212+
* The coretime chain pot location.
213+
**/
214+
brokerPotLocation: StagingXcmV4Junctions & AugmentedConst<ApiType>;
215+
/**
216+
* Generic const
217+
**/
218+
[key: string]: Codec;
219+
};
202220
crowdloan: {
203221
/**
204222
* The minimum amount that may be contributed into a crowdloan. Should almost certainly be
@@ -277,18 +295,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
277295
* this value.
278296
**/
279297
signedMaxWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
280-
/**
281-
* Duration of the signed phase.
282-
**/
283-
signedPhase: u32 & AugmentedConst<ApiType>;
284298
/**
285299
* Base reward for a signed solution
286300
**/
287301
signedRewardBase: u128 & AugmentedConst<ApiType>;
288-
/**
289-
* Duration of the unsigned phase.
290-
**/
291-
unsignedPhase: u32 & AugmentedConst<ApiType>;
292302
/**
293303
* Generic const
294304
**/
@@ -328,47 +338,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
328338
**/
329339
[key: string]: Codec;
330340
};
331-
identity: {
332-
/**
333-
* The amount held on deposit for a registered identity.
334-
**/
335-
basicDeposit: u128 & AugmentedConst<ApiType>;
336-
/**
337-
* The amount held on deposit per encoded byte for a registered identity.
338-
**/
339-
byteDeposit: u128 & AugmentedConst<ApiType>;
340-
/**
341-
* Maxmimum number of registrars allowed in the system. Needed to bound the complexity
342-
* of, e.g., updating judgements.
343-
**/
344-
maxRegistrars: u32 & AugmentedConst<ApiType>;
345-
/**
346-
* The maximum number of sub-accounts allowed per identified account.
347-
**/
348-
maxSubAccounts: u32 & AugmentedConst<ApiType>;
349-
/**
350-
* The maximum length of a suffix.
351-
**/
352-
maxSuffixLength: u32 & AugmentedConst<ApiType>;
353-
/**
354-
* The maximum length of a username, including its suffix and any system-added delimiters.
355-
**/
356-
maxUsernameLength: u32 & AugmentedConst<ApiType>;
357-
/**
358-
* The number of blocks within which a username grant must be accepted.
359-
**/
360-
pendingUsernameExpiration: u32 & AugmentedConst<ApiType>;
361-
/**
362-
* The amount held on deposit for a registered subaccount. This should account for the fact
363-
* that one storage item's value will increase by the size of an account ID, and there will
364-
* be another trie item whose value is the size of an account ID plus 32 bytes.
365-
**/
366-
subAccountDeposit: u128 & AugmentedConst<ApiType>;
367-
/**
368-
* Generic const
369-
**/
370-
[key: string]: Codec;
371-
};
372341
indices: {
373342
/**
374343
* The deposit needed for reserving an index.
@@ -388,6 +357,14 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
388357
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
389358
**/
390359
heapSize: u32 & AugmentedConst<ApiType>;
360+
/**
361+
* The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
362+
* should be provided to the message queue for servicing enqueued items `on_idle`.
363+
* Useful for parachains to process messages at the same block they are received.
364+
*
365+
* If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
366+
**/
367+
idleMaxServiceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
391368
/**
392369
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
393370
* can happen. Once there are more stale pages than this, then historical pages may be
@@ -396,10 +373,11 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
396373
maxStale: u32 & AugmentedConst<ApiType>;
397374
/**
398375
* The amount of weight (if any) which should be provided to the message queue for
399-
* servicing enqueued items.
376+
* servicing enqueued items `on_initialize`.
400377
*
401378
* This may be legitimately `None` in the case that you will call
402-
* `ServiceQueues::service_queues` manually.
379+
* `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
380+
* it run in `on_idle`.
403381
**/
404382
serviceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
405383
/**
@@ -461,6 +439,25 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
461439
**/
462440
[key: string]: Codec;
463441
};
442+
onDemand: {
443+
/**
444+
* The maximum number of blocks some historical revenue
445+
* information stored for.
446+
**/
447+
maxHistoricalRevenue: u32 & AugmentedConst<ApiType>;
448+
/**
449+
* Identifier for the internal revenue balance.
450+
**/
451+
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
452+
/**
453+
* The default value for the spot traffic multiplier.
454+
**/
455+
trafficDefaultValue: u128 & AugmentedConst<ApiType>;
456+
/**
457+
* Generic const
458+
**/
459+
[key: string]: Codec;
460+
};
464461
paras: {
465462
unsignedPriority: u64 & AugmentedConst<ApiType>;
466463
/**
@@ -714,7 +711,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
714711
**/
715712
ss58Prefix: u16 & AugmentedConst<ApiType>;
716713
/**
717-
* Get the chain's current version.
714+
* Get the chain's in-code version.
718715
**/
719716
version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;
720717
/**
@@ -786,19 +783,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
786783
* The period during which an approved treasury spend has to be claimed.
787784
**/
788785
payoutPeriod: u32 & AugmentedConst<ApiType>;
789-
/**
790-
* Fraction of a proposal's value that should be bonded in order to place the proposal.
791-
* An accepted proposal gets these back. A rejected proposal does not.
792-
**/
793-
proposalBond: Permill & AugmentedConst<ApiType>;
794-
/**
795-
* Maximum amount of funds that should be placed in a deposit for making a proposal.
796-
**/
797-
proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
798-
/**
799-
* Minimum amount of funds that should be placed in a deposit for making a proposal.
800-
**/
801-
proposalBondMinimum: u128 & AugmentedConst<ApiType>;
802786
/**
803787
* Period between successive spends.
804788
**/

0 commit comments

Comments
 (0)