@dedot/chaintypes 0.175.0 → 0.176.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,18 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
- import type { RuntimeVersion, AccountId32, Permill } from 'dedot/codecs';
4
+ import type { RuntimeVersion, Bytes, AccountId32, Permill, Perbill } from 'dedot/codecs';
5
5
  import type {
6
6
  FrameSystemLimitsBlockWeights,
7
7
  FrameSystemLimitsBlockLength,
8
8
  SpWeightsRuntimeDbWeight,
9
9
  PolkadotParachainPrimitivesPrimitivesId,
10
+ SpWeightsWeightV2Weight,
10
11
  FrameSupportPalletId,
11
12
  StagingXcmV5Junctions,
12
- SpWeightsWeightV2Weight,
13
13
  PalletNftsBitFlagsPalletFeature,
14
14
  StagingXcmV5Location,
15
+ PalletReferendaTrackDetails,
15
16
  } from './types.js';
16
17
 
17
18
  export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
@@ -100,6 +101,47 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
100
101
  **/
101
102
  [name: string]: any;
102
103
  };
104
+ /**
105
+ * Pallet `Preimage`'s constants
106
+ **/
107
+ preimage: {
108
+ /**
109
+ * Generic pallet constant
110
+ **/
111
+ [name: string]: any;
112
+ };
113
+ /**
114
+ * Pallet `Scheduler`'s constants
115
+ **/
116
+ scheduler: {
117
+ /**
118
+ * The maximum weight that may be scheduled per block for any dispatchables.
119
+ **/
120
+ maximumWeight: SpWeightsWeightV2Weight;
121
+
122
+ /**
123
+ * The maximum number of scheduled calls in the queue for a single block.
124
+ *
125
+ * NOTE:
126
+ * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
127
+ * higher limit under `runtime-benchmarks` feature.
128
+ **/
129
+ maxScheduledPerBlock: number;
130
+
131
+ /**
132
+ * Generic pallet constant
133
+ **/
134
+ [name: string]: any;
135
+ };
136
+ /**
137
+ * Pallet `Parameters`'s constants
138
+ **/
139
+ parameters: {
140
+ /**
141
+ * Generic pallet constant
142
+ **/
143
+ [name: string]: any;
144
+ };
103
145
  /**
104
146
  * Pallet `Balances`'s constants
105
147
  **/
@@ -199,6 +241,17 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
199
241
  **/
200
242
  [name: string]: any;
201
243
  };
244
+ /**
245
+ * Pallet `Claims`'s constants
246
+ **/
247
+ claims: {
248
+ prefix: Bytes;
249
+
250
+ /**
251
+ * Generic pallet constant
252
+ **/
253
+ [name: string]: any;
254
+ };
202
255
  /**
203
256
  * Pallet `Authorship`'s constants
204
257
  **/
@@ -524,6 +577,20 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
524
577
  **/
525
578
  [name: string]: any;
526
579
  };
580
+ /**
581
+ * Pallet `Indices`'s constants
582
+ **/
583
+ indices: {
584
+ /**
585
+ * The deposit needed for reserving an index.
586
+ **/
587
+ deposit: bigint;
588
+
589
+ /**
590
+ * Generic pallet constant
591
+ **/
592
+ [name: string]: any;
593
+ };
527
594
  /**
528
595
  * Pallet `Assets`'s constants
529
596
  **/
@@ -842,6 +909,224 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
842
909
  **/
843
910
  [name: string]: any;
844
911
  };
912
+ /**
913
+ * Pallet `Treasury`'s constants
914
+ **/
915
+ treasury: {
916
+ /**
917
+ * Period between successive spends.
918
+ **/
919
+ spendPeriod: number;
920
+
921
+ /**
922
+ * Percentage of spare funds (if any) that are burnt per spend period.
923
+ **/
924
+ burn: Permill;
925
+
926
+ /**
927
+ * The treasury's pallet id, used for deriving its sovereign account ID.
928
+ **/
929
+ palletId: FrameSupportPalletId;
930
+
931
+ /**
932
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
933
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
934
+ *
935
+ * The maximum number of approvals that can wait in the spending queue.
936
+ *
937
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
938
+ **/
939
+ maxApprovals: number;
940
+
941
+ /**
942
+ * The period during which an approved treasury spend has to be claimed.
943
+ **/
944
+ payoutPeriod: number;
945
+
946
+ /**
947
+ * Gets this pallet's derived pot account.
948
+ **/
949
+ potAccount: AccountId32;
950
+
951
+ /**
952
+ * Generic pallet constant
953
+ **/
954
+ [name: string]: any;
955
+ };
956
+ /**
957
+ * Pallet `ConvictionVoting`'s constants
958
+ **/
959
+ convictionVoting: {
960
+ /**
961
+ * The maximum number of concurrent votes an account may have.
962
+ *
963
+ * Also used to compute weight, an overly large value can lead to extrinsics with large
964
+ * weight estimation: see `delegate` for instance.
965
+ **/
966
+ maxVotes: number;
967
+
968
+ /**
969
+ * The minimum period of vote locking.
970
+ *
971
+ * It should be no shorter than enactment period to ensure that in the case of an approval,
972
+ * those successful voters are locked into the consequences that their votes entail.
973
+ **/
974
+ voteLockingPeriod: number;
975
+
976
+ /**
977
+ * Generic pallet constant
978
+ **/
979
+ [name: string]: any;
980
+ };
981
+ /**
982
+ * Pallet `Referenda`'s constants
983
+ **/
984
+ referenda: {
985
+ /**
986
+ * The minimum amount to be used as a deposit for a public referendum proposal.
987
+ **/
988
+ submissionDeposit: bigint;
989
+
990
+ /**
991
+ * Maximum size of the referendum queue for a single track.
992
+ **/
993
+ maxQueued: number;
994
+
995
+ /**
996
+ * The number of blocks after submission that a referendum must begin being decided by.
997
+ * Once this passes, then anyone may cancel the referendum.
998
+ **/
999
+ undecidingTimeout: number;
1000
+
1001
+ /**
1002
+ * Quantization level for the referendum wakeup scheduler. A higher number will result in
1003
+ * fewer storage reads/writes needed for smaller voters, but also result in delays to the
1004
+ * automatic referendum status changes. Explicit servicing instructions are unaffected.
1005
+ **/
1006
+ alarmInterval: number;
1007
+
1008
+ /**
1009
+ * A list of tracks.
1010
+ *
1011
+ * Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
1012
+ **/
1013
+ tracks: Array<[number, PalletReferendaTrackDetails]>;
1014
+
1015
+ /**
1016
+ * Generic pallet constant
1017
+ **/
1018
+ [name: string]: any;
1019
+ };
1020
+ /**
1021
+ * Pallet `Origins`'s constants
1022
+ **/
1023
+ origins: {
1024
+ /**
1025
+ * Generic pallet constant
1026
+ **/
1027
+ [name: string]: any;
1028
+ };
1029
+ /**
1030
+ * Pallet `Whitelist`'s constants
1031
+ **/
1032
+ whitelist: {
1033
+ /**
1034
+ * Generic pallet constant
1035
+ **/
1036
+ [name: string]: any;
1037
+ };
1038
+ /**
1039
+ * Pallet `Bounties`'s constants
1040
+ **/
1041
+ bounties: {
1042
+ /**
1043
+ * The amount held on deposit for placing a bounty proposal.
1044
+ **/
1045
+ bountyDepositBase: bigint;
1046
+
1047
+ /**
1048
+ * The delay period for which a bounty beneficiary need to wait before claim the payout.
1049
+ **/
1050
+ bountyDepositPayoutDelay: number;
1051
+
1052
+ /**
1053
+ * The time limit for a curator to act before a bounty expires.
1054
+ *
1055
+ * The period that starts when a curator is approved, during which they must execute or
1056
+ * update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
1057
+ * curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
1058
+ * removing the need for `extend_bounty_expiry`.
1059
+ **/
1060
+ bountyUpdatePeriod: number;
1061
+
1062
+ /**
1063
+ * The curator deposit is calculated as a percentage of the curator fee.
1064
+ *
1065
+ * This deposit has optional upper and lower bounds with `CuratorDepositMax` and
1066
+ * `CuratorDepositMin`.
1067
+ **/
1068
+ curatorDepositMultiplier: Permill;
1069
+
1070
+ /**
1071
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
1072
+ **/
1073
+ curatorDepositMax: bigint | undefined;
1074
+
1075
+ /**
1076
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
1077
+ **/
1078
+ curatorDepositMin: bigint | undefined;
1079
+
1080
+ /**
1081
+ * Minimum value for a bounty.
1082
+ **/
1083
+ bountyValueMinimum: bigint;
1084
+
1085
+ /**
1086
+ * The amount held on deposit per byte within the tip report reason or bounty description.
1087
+ **/
1088
+ dataDepositPerByte: bigint;
1089
+
1090
+ /**
1091
+ * Maximum acceptable reason length.
1092
+ *
1093
+ * Benchmarks depend on this value, be sure to update weights file when changing this value
1094
+ **/
1095
+ maximumReasonLength: number;
1096
+
1097
+ /**
1098
+ * Generic pallet constant
1099
+ **/
1100
+ [name: string]: any;
1101
+ };
1102
+ /**
1103
+ * Pallet `ChildBounties`'s constants
1104
+ **/
1105
+ childBounties: {
1106
+ /**
1107
+ * Maximum number of child bounties that can be added to a parent bounty.
1108
+ **/
1109
+ maxActiveChildBountyCount: number;
1110
+
1111
+ /**
1112
+ * Minimum value for a child-bounty.
1113
+ **/
1114
+ childBountyValueMinimum: bigint;
1115
+
1116
+ /**
1117
+ * Generic pallet constant
1118
+ **/
1119
+ [name: string]: any;
1120
+ };
1121
+ /**
1122
+ * Pallet `AssetRate`'s constants
1123
+ **/
1124
+ assetRate: {
1125
+ /**
1126
+ * Generic pallet constant
1127
+ **/
1128
+ [name: string]: any;
1129
+ };
845
1130
  /**
846
1131
  * Pallet `StateTrieMigration`'s constants
847
1132
  **/
@@ -876,4 +1161,375 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
876
1161
  **/
877
1162
  [name: string]: any;
878
1163
  };
1164
+ /**
1165
+ * Pallet `NominationPools`'s constants
1166
+ **/
1167
+ nominationPools: {
1168
+ /**
1169
+ * The nomination pool's pallet id.
1170
+ **/
1171
+ palletId: FrameSupportPalletId;
1172
+
1173
+ /**
1174
+ * The maximum pool points-to-balance ratio that an `open` pool can have.
1175
+ *
1176
+ * This is important in the event slashing takes place and the pool's points-to-balance
1177
+ * ratio becomes disproportional.
1178
+ *
1179
+ * Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
1180
+ * are a function of number of points, and by setting this value to e.g. 10, you ensure
1181
+ * that the total number of points in the system are at most 10 times the total_issuance of
1182
+ * the chain, in the absolute worse case.
1183
+ *
1184
+ * For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
1185
+ * Such a scenario would also be the equivalent of the pool being 90% slashed.
1186
+ **/
1187
+ maxPointsToBalance: number;
1188
+
1189
+ /**
1190
+ * The maximum number of simultaneous unbonding chunks that can exist per member.
1191
+ **/
1192
+ maxUnbonding: number;
1193
+
1194
+ /**
1195
+ * Generic pallet constant
1196
+ **/
1197
+ [name: string]: any;
1198
+ };
1199
+ /**
1200
+ * Pallet `VoterList`'s constants
1201
+ **/
1202
+ voterList: {
1203
+ /**
1204
+ * The list of thresholds separating the various bags.
1205
+ *
1206
+ * Ids are separated into unsorted bags according to their score. This specifies the
1207
+ * thresholds separating the bags. An id's bag is the largest bag for which the id's score
1208
+ * is less than or equal to its upper threshold.
1209
+ *
1210
+ * When ids are iterated, higher bags are iterated completely before lower bags. This means
1211
+ * that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
1212
+ * score, but peer ids within a particular bag are sorted in insertion order.
1213
+ *
1214
+ * # Expressing the constant
1215
+ *
1216
+ * This constant must be sorted in strictly increasing order. Duplicate items are not
1217
+ * permitted.
1218
+ *
1219
+ * There is an implied upper limit of `Score::MAX`; that value does not need to be
1220
+ * specified within the bag. For any two threshold lists, if one ends with
1221
+ * `Score::MAX`, the other one does not, and they are otherwise equal, the two
1222
+ * lists will behave identically.
1223
+ *
1224
+ * # Calculation
1225
+ *
1226
+ * It is recommended to generate the set of thresholds in a geometric series, such that
1227
+ * there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
1228
+ * constant_ratio).max(threshold[k] + 1)` for all `k`.
1229
+ *
1230
+ * The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
1231
+ *
1232
+ * # Examples
1233
+ *
1234
+ * - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
1235
+ * iteration is strictly in insertion order.
1236
+ * - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
1237
+ * the procedure given above, then the constant ratio is equal to 2.
1238
+ * - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
1239
+ * the procedure given above, then the constant ratio is approximately equal to 1.248.
1240
+ * - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
1241
+ * into bag 0, an id with score 2 will fall into bag 1, etc.
1242
+ *
1243
+ * # Migration
1244
+ *
1245
+ * In the event that this list ever changes, a copy of the old bags list must be retained.
1246
+ * With that `List::migrate` can be called, which will perform the appropriate migration.
1247
+ **/
1248
+ bagThresholds: Array<bigint>;
1249
+
1250
+ /**
1251
+ * Maximum number of accounts that may be re-bagged automatically in `on_idle`.
1252
+ *
1253
+ * A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
1254
+ * the feature.
1255
+ **/
1256
+ maxAutoRebagPerBlock: number;
1257
+
1258
+ /**
1259
+ * Generic pallet constant
1260
+ **/
1261
+ [name: string]: any;
1262
+ };
1263
+ /**
1264
+ * Pallet `DelegatedStaking`'s constants
1265
+ **/
1266
+ delegatedStaking: {
1267
+ /**
1268
+ * Injected identifier for the pallet.
1269
+ **/
1270
+ palletId: FrameSupportPalletId;
1271
+
1272
+ /**
1273
+ * Fraction of the slash that is rewarded to the caller of pending slash to the agent.
1274
+ **/
1275
+ slashRewardFraction: Perbill;
1276
+
1277
+ /**
1278
+ * Generic pallet constant
1279
+ **/
1280
+ [name: string]: any;
1281
+ };
1282
+ /**
1283
+ * Pallet `StakingRcClient`'s constants
1284
+ **/
1285
+ stakingRcClient: {
1286
+ /**
1287
+ * Generic pallet constant
1288
+ **/
1289
+ [name: string]: any;
1290
+ };
1291
+ /**
1292
+ * Pallet `MultiBlockElection`'s constants
1293
+ **/
1294
+ multiBlockElection: {
1295
+ /**
1296
+ * Duration of the unsigned phase.
1297
+ **/
1298
+ unsignedPhase: number;
1299
+
1300
+ /**
1301
+ * Duration of the signed phase.
1302
+ **/
1303
+ signedPhase: number;
1304
+
1305
+ /**
1306
+ * Duration of the singed validation phase.
1307
+ *
1308
+ * The duration of this should not be less than `T::Pages`, and there is no point in it
1309
+ * being more than `SignedPhase::MaxSubmission::get() * T::Pages`. TODO: integrity test for
1310
+ * it.
1311
+ **/
1312
+ signedValidationPhase: number;
1313
+
1314
+ /**
1315
+ * The number of snapshot voters to fetch per block.
1316
+ **/
1317
+ voterSnapshotPerBlock: number;
1318
+
1319
+ /**
1320
+ * The number of snapshot targets to fetch per block.
1321
+ **/
1322
+ targetSnapshotPerBlock: number;
1323
+
1324
+ /**
1325
+ * The number of pages.
1326
+ *
1327
+ * The snapshot is created with this many keys in the storage map.
1328
+ *
1329
+ * The solutions may contain at MOST this many pages, but less pages are acceptable as
1330
+ * well.
1331
+ **/
1332
+ pages: number;
1333
+
1334
+ /**
1335
+ * Generic pallet constant
1336
+ **/
1337
+ [name: string]: any;
1338
+ };
1339
+ /**
1340
+ * Pallet `MultiBlockElectionVerifier`'s constants
1341
+ **/
1342
+ multiBlockElectionVerifier: {
1343
+ /**
1344
+ * The minimum amount of improvement to the solution score that defines a solution as
1345
+ * "better".
1346
+ **/
1347
+ solutionImprovementThreshold: Perbill;
1348
+
1349
+ /**
1350
+ * Maximum number of backers, per winner, among all pages of an election.
1351
+ *
1352
+ * This can only be checked at the very final step of verification.
1353
+ *
1354
+ * NOTE: at the moment, we don't check this, and it is in place for future compatibility.
1355
+ **/
1356
+ maxBackersPerWinnerFinal: number;
1357
+
1358
+ /**
1359
+ * Maximum number of backers, per winner, per page.
1360
+ **/
1361
+ maxBackersPerWinner: number;
1362
+
1363
+ /**
1364
+ * Maximum number of supports (aka. winners/validators/targets) that can be represented in
1365
+ * a page of results.
1366
+ **/
1367
+ maxWinnersPerPage: number;
1368
+
1369
+ /**
1370
+ * Generic pallet constant
1371
+ **/
1372
+ [name: string]: any;
1373
+ };
1374
+ /**
1375
+ * Pallet `MultiBlockElectionUnsigned`'s constants
1376
+ **/
1377
+ multiBlockElectionUnsigned: {
1378
+ /**
1379
+ * Generic pallet constant
1380
+ **/
1381
+ [name: string]: any;
1382
+ };
1383
+ /**
1384
+ * Pallet `MultiBlockElectionSigned`'s constants
1385
+ **/
1386
+ multiBlockElectionSigned: {
1387
+ /**
1388
+ * Generic pallet constant
1389
+ **/
1390
+ [name: string]: any;
1391
+ };
1392
+ /**
1393
+ * Pallet `Staking`'s constants
1394
+ **/
1395
+ staking: {
1396
+ /**
1397
+ * Number of eras to keep in history.
1398
+ *
1399
+ * Following information is kept for eras in `[current_era -
1400
+ * HistoryDepth, current_era]`: `ErasValidatorPrefs`, `ErasValidatorReward`,
1401
+ * `ErasRewardPoints`, `ErasTotalStake`, `ClaimedRewards`,
1402
+ * `ErasStakersPaged`, `ErasStakersOverview`.
1403
+ *
1404
+ * Must be more than the number of eras delayed by session.
1405
+ * I.e. active era must always be in history. I.e. `active_era >
1406
+ * current_era - history_depth` must be guaranteed.
1407
+ *
1408
+ * If migrating an existing pallet from storage value to config value,
1409
+ * this should be set to same value or greater as in storage.
1410
+ **/
1411
+ historyDepth: number;
1412
+
1413
+ /**
1414
+ * Number of sessions per era, as per the preferences of the **relay chain**.
1415
+ **/
1416
+ sessionsPerEra: number;
1417
+
1418
+ /**
1419
+ * Number of sessions before the end of an era when the election for the next era will
1420
+ * start.
1421
+ *
1422
+ * - This determines how many sessions **before** the last session of the era the staking
1423
+ * election process should begin.
1424
+ * - The value is bounded between **1** (election starts at the beginning of the last
1425
+ * session) and `SessionsPerEra` (election starts at the beginning of the first session
1426
+ * of the era).
1427
+ *
1428
+ * ### Example:
1429
+ * - If `SessionsPerEra = 6` and `PlanningEraOffset = 1`, the election starts at the
1430
+ * beginning of session `6 - 1 = 5`.
1431
+ * - If `PlanningEraOffset = 6`, the election starts at the beginning of session `6 - 6 =
1432
+ * 0`, meaning it starts at the very beginning of the era.
1433
+ **/
1434
+ planningEraOffset: number;
1435
+
1436
+ /**
1437
+ * Number of eras that staked funds must remain bonded for.
1438
+ **/
1439
+ bondingDuration: number;
1440
+
1441
+ /**
1442
+ * Number of eras that slashes are deferred by, after computation.
1443
+ *
1444
+ * This should be less than the bonding duration. Set to 0 if slashes
1445
+ * should be applied immediately, without opportunity for intervention.
1446
+ **/
1447
+ slashDeferDuration: number;
1448
+
1449
+ /**
1450
+ * The maximum size of each `T::ExposurePage`.
1451
+ *
1452
+ * An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
1453
+ * nominators.
1454
+ *
1455
+ * For older non-paged exposure, a reward payout was restricted to the top
1456
+ * `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
1457
+ * nominator payout.
1458
+ *
1459
+ * Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to
1460
+ * reduce without handling it in a migration.
1461
+ **/
1462
+ maxExposurePageSize: number;
1463
+
1464
+ /**
1465
+ * The absolute maximum of winner validators this pallet should return.
1466
+ *
1467
+ * As this pallet supports multi-block election, the set of winner validators *per
1468
+ * election* is bounded by this type.
1469
+ **/
1470
+ maxValidatorSet: number;
1471
+
1472
+ /**
1473
+ * The maximum number of `unlocking` chunks a [`StakingLedger`] can
1474
+ * have. Effectively determines how many unique eras a staker may be
1475
+ * unbonding in.
1476
+ *
1477
+ * Note: `MaxUnlockingChunks` is used as the upper bound for the
1478
+ * `BoundedVec` item `StakingLedger.unlocking`. Setting this value
1479
+ * lower than the existing value can lead to inconsistencies in the
1480
+ * `StakingLedger` and will need to be handled properly in a runtime
1481
+ * migration. The test `reducing_max_unlocking_chunks_abrupt` shows
1482
+ * this effect.
1483
+ **/
1484
+ maxUnlockingChunks: number;
1485
+
1486
+ /**
1487
+ * Maximum number of invulnerable validators.
1488
+ **/
1489
+ maxInvulnerables: number;
1490
+
1491
+ /**
1492
+ * Maximum allowed era duration in milliseconds.
1493
+ *
1494
+ * This provides a defensive upper bound to cap the effective era duration, preventing
1495
+ * excessively long eras from causing runaway inflation (e.g., due to bugs). If the actual
1496
+ * era duration exceeds this value, it will be clamped to this maximum.
1497
+ *
1498
+ * Example: For an ideal era duration of 24 hours (86,400,000 ms),
1499
+ * this can be set to 604,800,000 ms (7 days).
1500
+ **/
1501
+ maxEraDuration: bigint;
1502
+
1503
+ /**
1504
+ * Maximum number of storage items that can be pruned in a single call.
1505
+ *
1506
+ * This controls how many storage items can be deleted in each call to `prune_era_step`.
1507
+ * This should be set to a conservative value (e.g., 100-500 items) to ensure pruning
1508
+ * doesn't consume too much block space. The actual weight is determined by benchmarks.
1509
+ **/
1510
+ maxPruningItems: number;
1511
+
1512
+ /**
1513
+ * Generic pallet constant
1514
+ **/
1515
+ [name: string]: any;
1516
+ };
1517
+ /**
1518
+ * Pallet `AhOps`'s constants
1519
+ **/
1520
+ ahOps: {
1521
+ /**
1522
+ * Generic pallet constant
1523
+ **/
1524
+ [name: string]: any;
1525
+ };
1526
+ /**
1527
+ * Pallet `AhMigrator`'s constants
1528
+ **/
1529
+ ahMigrator: {
1530
+ /**
1531
+ * Generic pallet constant
1532
+ **/
1533
+ [name: string]: any;
1534
+ };
879
1535
  }