Skip to content

Commit 7ed09f5

Browse files
api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 13.0.1
1 parent 19587a7 commit 7ed09f5

File tree

29 files changed

+4448
-741
lines changed

29 files changed

+4448
-741
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} 13.0.1
56
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 12.4.2
67
- phishing 0.23.4
78
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 12.4.1

api-augment/kusama/consts.ts

Lines changed: 35 additions & 26 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 } 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
/**
@@ -201,9 +205,13 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
201205
};
202206
coretime: {
203207
/**
204-
* The ParaId of the broker system parachain.
208+
* The ParaId of the coretime chain.
205209
**/
206210
brokerId: u32 & AugmentedConst<ApiType>;
211+
/**
212+
* The coretime chain pot location.
213+
**/
214+
brokerPotLocation: StagingXcmV4Junctions & AugmentedConst<ApiType>;
207215
/**
208216
* Generic const
209217
**/
@@ -287,18 +295,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
287295
* this value.
288296
**/
289297
signedMaxWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
290-
/**
291-
* Duration of the signed phase.
292-
**/
293-
signedPhase: u32 & AugmentedConst<ApiType>;
294298
/**
295299
* Base reward for a signed solution
296300
**/
297301
signedRewardBase: u128 & AugmentedConst<ApiType>;
298-
/**
299-
* Duration of the unsigned phase.
300-
**/
301-
unsignedPhase: u32 & AugmentedConst<ApiType>;
302302
/**
303303
* Generic const
304304
**/
@@ -386,6 +386,14 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
386386
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
387387
**/
388388
heapSize: u32 & AugmentedConst<ApiType>;
389+
/**
390+
* The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
391+
* should be provided to the message queue for servicing enqueued items `on_idle`.
392+
* Useful for parachains to process messages at the same block they are received.
393+
*
394+
* If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
395+
**/
396+
idleMaxServiceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
389397
/**
390398
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
391399
* can happen. Once there are more stale pages than this, then historical pages may be
@@ -394,10 +402,11 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
394402
maxStale: u32 & AugmentedConst<ApiType>;
395403
/**
396404
* The amount of weight (if any) which should be provided to the message queue for
397-
* servicing enqueued items.
405+
* servicing enqueued items `on_initialize`.
398406
*
399407
* This may be legitimately `None` in the case that you will call
400-
* `ServiceQueues::service_queues` manually.
408+
* `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
409+
* it run in `on_idle`.
401410
**/
402411
serviceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
403412
/**
@@ -512,10 +521,14 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
512521
/**
513522
* The maximum number of locks that should exist on an account.
514523
* Not strictly enforced, but used for weight estimation.
524+
*
525+
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
515526
**/
516527
maxLocks: u32 & AugmentedConst<ApiType>;
517528
/**
518529
* The maximum number of named reserves that can exist on an account.
530+
*
531+
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
519532
**/
520533
maxReserves: u32 & AugmentedConst<ApiType>;
521534
/**
@@ -553,6 +566,15 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
553566
[key: string]: Codec;
554567
};
555568
onDemandAssignmentProvider: {
569+
/**
570+
* The maximum number of blocks some historical revenue
571+
* information stored for.
572+
**/
573+
maxHistoricalRevenue: u32 & AugmentedConst<ApiType>;
574+
/**
575+
* Identifier for the internal revenue balance.
576+
**/
577+
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
556578
/**
557579
* The default value for the spot traffic multiplier.
558580
**/
@@ -869,7 +891,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
869891
**/
870892
ss58Prefix: u16 & AugmentedConst<ApiType>;
871893
/**
872-
* Get the chain's current version.
894+
* Get the chain's in-code version.
873895
**/
874896
version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;
875897
/**
@@ -941,19 +963,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
941963
* The period during which an approved treasury spend has to be claimed.
942964
**/
943965
payoutPeriod: u32 & AugmentedConst<ApiType>;
944-
/**
945-
* Fraction of a proposal's value that should be bonded in order to place the proposal.
946-
* An accepted proposal gets these back. A rejected proposal does not.
947-
**/
948-
proposalBond: Permill & AugmentedConst<ApiType>;
949-
/**
950-
* Maximum amount of funds that should be placed in a deposit for making a proposal.
951-
**/
952-
proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
953-
/**
954-
* Minimum amount of funds that should be placed in a deposit for making a proposal.
955-
**/
956-
proposalBondMinimum: u128 & AugmentedConst<ApiType>;
957966
/**
958967
* Period between successive spends.
959968
**/

0 commit comments

Comments
 (0)