Skip to content

Commit 5842d08

Browse files
author
debot
committed
chore: regenerate chaintypes
1 parent 73d8576 commit 5842d08

9 files changed

Lines changed: 8596 additions & 13432 deletions

File tree

packages/chaintypes/src/paseo/consts.d.ts

Lines changed: 9 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// Generated by dedot cli
22

33
import type { GenericChainConsts } from 'dedot/types';
4-
import type { RuntimeVersion, Permill, AccountId32, Bytes, Perbill, FixedU128 } from 'dedot/codecs';
4+
import type { RuntimeVersion, Permill, Bytes, Perbill, FixedU128 } from 'dedot/codecs';
55
import type {
66
FrameSystemLimitsBlockWeights,
77
FrameSystemLimitsBlockLength,
88
SpWeightsRuntimeDbWeight,
99
SpWeightsWeightV2Weight,
1010
FrameSupportPalletId,
11-
PalletReferendaTrackDetails,
12-
StagingXcmV5Junctions,
11+
PalletReferendaTrackInfo,
12+
StagingXcmV4Junctions,
1313
} from './types.js';
1414

1515
export interface ChainConsts extends GenericChainConsts {
@@ -301,11 +301,6 @@ export interface ChainConsts extends GenericChainConsts {
301301
**/
302302
maxExposurePageSize: number;
303303

304-
/**
305-
* The absolute maximum of winner validators this pallet should return.
306-
**/
307-
maxValidatorSet: number;
308-
309304
/**
310305
* The maximum number of `unlocking` chunks a [`StakingLedger`] can
311306
* have. Effectively determines how many unique eras a staker may be
@@ -347,11 +342,6 @@ export interface ChainConsts extends GenericChainConsts {
347342
* Pallet `Session`'s constants
348343
**/
349344
session: {
350-
/**
351-
* The amount to be held when setting keys.
352-
**/
353-
keyDeposit: bigint;
354-
355345
/**
356346
* Generic pallet constant
357347
**/
@@ -415,9 +405,6 @@ export interface ChainConsts extends GenericChainConsts {
415405
palletId: FrameSupportPalletId;
416406

417407
/**
418-
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
419-
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
420-
*
421408
* The maximum number of approvals that can wait in the spending queue.
422409
*
423410
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
@@ -429,11 +416,6 @@ export interface ChainConsts extends GenericChainConsts {
429416
**/
430417
payoutPeriod: number;
431418

432-
/**
433-
* Gets this pallet's derived pot account.
434-
**/
435-
potAccount: AccountId32;
436-
437419
/**
438420
* Generic pallet constant
439421
**/
@@ -492,11 +474,9 @@ export interface ChainConsts extends GenericChainConsts {
492474
alarmInterval: number;
493475

494476
/**
495-
* A list of tracks.
496-
*
497-
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
477+
* Information concerning the different referendum tracks.
498478
**/
499-
tracks: Array<[number, PalletReferendaTrackDetails]>;
479+
tracks: Array<[number, PalletReferendaTrackInfo]>;
500480

501481
/**
502482
* Generic pallet constant
@@ -659,12 +639,7 @@ export interface ChainConsts extends GenericChainConsts {
659639
bountyDepositPayoutDelay: number;
660640

661641
/**
662-
* The time limit for a curator to act before a bounty expires.
663-
*
664-
* The period that starts when a curator is approved, during which they must execute or
665-
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
666-
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
667-
* removing the need for `extend_bounty_expiry`.
642+
* Bounty duration in blocks.
668643
**/
669644
bountyUpdatePeriod: number;
670645

@@ -791,18 +766,12 @@ export interface ChainConsts extends GenericChainConsts {
791766
signedDepositWeight: bigint;
792767

793768
/**
794-
* Maximum number of winners that an election supports.
769+
* The maximum number of winners that can be elected by this `ElectionProvider`
770+
* implementation.
795771
*
796772
* Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
797773
**/
798774
maxWinners: number;
799-
800-
/**
801-
* Maximum number of voters that can support a winner in an election solution.
802-
*
803-
* This is needed to ensure election computation is bounded.
804-
**/
805-
maxBackersPerWinner: number;
806775
minerMaxLength: number;
807776
minerMaxWeight: SpWeightsWeightV2Weight;
808777
minerMaxVotesPerVoter: number;
@@ -864,14 +833,6 @@ export interface ChainConsts extends GenericChainConsts {
864833
**/
865834
bagThresholds: Array<bigint>;
866835

867-
/**
868-
* Maximum number of accounts that may be re-bagged automatically in `on_idle`.
869-
*
870-
* A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
871-
* the feature.
872-
**/
873-
maxAutoRebagPerBlock: number;
874-
875836
/**
876837
* Generic pallet constant
877838
**/
@@ -927,34 +888,6 @@ export interface ChainConsts extends GenericChainConsts {
927888
**/
928889
[name: string]: any;
929890
};
930-
/**
931-
* Pallet `DelegatedStaking`'s constants
932-
**/
933-
delegatedStaking: {
934-
/**
935-
* Injected identifier for the pallet.
936-
**/
937-
palletId: FrameSupportPalletId;
938-
939-
/**
940-
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
941-
**/
942-
slashRewardFraction: Perbill;
943-
944-
/**
945-
* Generic pallet constant
946-
**/
947-
[name: string]: any;
948-
};
949-
/**
950-
* Pallet `StakingAhClient`'s constants
951-
**/
952-
stakingAhClient: {
953-
/**
954-
* Generic pallet constant
955-
**/
956-
[name: string]: any;
957-
};
958891
/**
959892
* Pallet `ParachainsOrigin`'s constants
960893
**/
@@ -1208,7 +1141,7 @@ export interface ChainConsts extends GenericChainConsts {
12081141
/**
12091142
* The coretime chain pot location.
12101143
**/
1211-
brokerPotLocation: StagingXcmV5Junctions;
1144+
brokerPotLocation: StagingXcmV4Junctions;
12121145

12131146
/**
12141147
* Generic pallet constant
@@ -1253,27 +1186,6 @@ export interface ChainConsts extends GenericChainConsts {
12531186
* Pallet `XcmPallet`'s constants
12541187
**/
12551188
xcmPallet: {
1256-
/**
1257-
* This chain's Universal Location.
1258-
**/
1259-
universalLocation: StagingXcmV5Junctions;
1260-
1261-
/**
1262-
* The latest supported version that we advertise. Generally just set it to
1263-
* `pallet_xcm::CurrentXcmVersion`.
1264-
**/
1265-
advertisedXcmVersion: number;
1266-
1267-
/**
1268-
* The maximum number of local XCM locks that a single account may have.
1269-
**/
1270-
maxLockers: number;
1271-
1272-
/**
1273-
* The maximum number of consumers a single remote lock may have.
1274-
**/
1275-
maxRemoteLockConsumers: number;
1276-
12771189
/**
12781190
* Generic pallet constant
12791191
**/
@@ -1397,13 +1309,4 @@ export interface ChainConsts extends GenericChainConsts {
13971309
**/
13981310
[name: string]: any;
13991311
};
1400-
/**
1401-
* Pallet `RcMigrator`'s constants
1402-
**/
1403-
rcMigrator: {
1404-
/**
1405-
* Generic pallet constant
1406-
**/
1407-
[name: string]: any;
1408-
};
14091312
}

0 commit comments

Comments
 (0)