@dedot/chaintypes 0.14.0 → 0.16.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.
Files changed (51) hide show
  1. package/kusama/consts.d.ts +48 -30
  2. package/kusama/errors.d.ts +89 -100
  3. package/kusama/events.d.ts +87 -28
  4. package/kusama/index.d.ts +1 -1
  5. package/kusama/query.d.ts +241 -130
  6. package/kusama/runtime.d.ts +347 -95
  7. package/kusama/tx.d.ts +3309 -456
  8. package/kusama/types.d.ts +6341 -1092
  9. package/kusama-asset-hub/consts.d.ts +52 -3
  10. package/kusama-asset-hub/errors.d.ts +30 -5
  11. package/kusama-asset-hub/events.d.ts +61 -1
  12. package/kusama-asset-hub/index.d.ts +1 -1
  13. package/kusama-asset-hub/query.d.ts +100 -18
  14. package/kusama-asset-hub/runtime.d.ts +186 -15
  15. package/kusama-asset-hub/tx.d.ts +3074 -254
  16. package/kusama-asset-hub/types.d.ts +6190 -551
  17. package/package.json +2 -2
  18. package/paseo/index.d.ts +1 -1
  19. package/rococo/errors.d.ts +0 -10
  20. package/rococo/events.d.ts +33 -12
  21. package/rococo/index.d.ts +1 -1
  22. package/rococo/query.d.ts +52 -52
  23. package/rococo/runtime.d.ts +117 -58
  24. package/rococo/tx.d.ts +33 -33
  25. package/rococo/types.d.ts +191 -185
  26. package/rococo-asset-hub/consts.d.ts +2 -2
  27. package/rococo-asset-hub/events.d.ts +87 -80
  28. package/rococo-asset-hub/index.d.ts +1 -1
  29. package/rococo-asset-hub/query.d.ts +66 -54
  30. package/rococo-asset-hub/runtime.d.ts +12 -15
  31. package/rococo-asset-hub/tx.d.ts +250 -241
  32. package/rococo-asset-hub/types.d.ts +353 -404
  33. package/westend/consts.d.ts +9 -0
  34. package/westend/errors.d.ts +0 -10
  35. package/westend/events.d.ts +79 -13
  36. package/westend/index.d.ts +1 -1
  37. package/westend/query.d.ts +75 -52
  38. package/westend/runtime.d.ts +133 -58
  39. package/westend/tx.d.ts +72 -35
  40. package/westend/types.d.ts +308 -190
  41. package/westend-asset-hub/consts.d.ts +2 -2
  42. package/westend-asset-hub/events.d.ts +87 -80
  43. package/westend-asset-hub/index.d.ts +1 -1
  44. package/westend-asset-hub/query.d.ts +66 -54
  45. package/westend-asset-hub/runtime.d.ts +12 -15
  46. package/westend-asset-hub/tx.d.ts +250 -241
  47. package/westend-asset-hub/types.d.ts +353 -404
  48. package/westend-people/index.d.ts +1 -1
  49. package/westend-people/query.d.ts +12 -12
  50. package/westend-people/tx.d.ts +1 -58
  51. package/westend-people/types.d.ts +16 -62
@@ -9,6 +9,7 @@ import type {
9
9
  Perbill,
10
10
  FixedBytes,
11
11
  Bytes,
12
+ Perquintill,
12
13
  Result,
13
14
  BytesLike,
14
15
  Header,
@@ -60,6 +61,7 @@ export type WestendRuntimeRuntimeEvent =
60
61
  | { pallet: 'TransactionPayment'; palletEvent: PalletTransactionPaymentEvent }
61
62
  | { pallet: 'Staking'; palletEvent: PalletStakingPalletEvent }
62
63
  | { pallet: 'Offences'; palletEvent: PalletOffencesEvent }
64
+ | { pallet: 'Parameters'; palletEvent: PalletParametersEvent }
63
65
  | { pallet: 'Session'; palletEvent: PalletSessionEvent }
64
66
  | { pallet: 'Grandpa'; palletEvent: PalletGrandpaEvent }
65
67
  | { pallet: 'Utility'; palletEvent: PalletUtilityEvent }
@@ -84,7 +86,7 @@ export type WestendRuntimeRuntimeEvent =
84
86
  | { pallet: 'Paras'; palletEvent: PolkadotRuntimeParachainsParasPalletEvent }
85
87
  | { pallet: 'Hrmp'; palletEvent: PolkadotRuntimeParachainsHrmpPalletEvent }
86
88
  | { pallet: 'ParasDisputes'; palletEvent: PolkadotRuntimeParachainsDisputesPalletEvent }
87
- | { pallet: 'OnDemandAssignmentProvider'; palletEvent: PolkadotRuntimeParachainsAssignerOnDemandPalletEvent }
89
+ | { pallet: 'OnDemandAssignmentProvider'; palletEvent: PolkadotRuntimeParachainsOnDemandPalletEvent }
88
90
  | { pallet: 'Registrar'; palletEvent: PolkadotRuntimeCommonParasRegistrarPalletEvent }
89
91
  | { pallet: 'Slots'; palletEvent: PolkadotRuntimeCommonSlotsPalletEvent }
90
92
  | { pallet: 'Auctions'; palletEvent: PolkadotRuntimeCommonAuctionsPalletEvent }
@@ -372,6 +374,69 @@ export type PalletOffencesEvent =
372
374
  **/
373
375
  { name: 'Offence'; data: { kind: FixedBytes<16>; timeslot: Bytes } };
374
376
 
377
+ /**
378
+ * The `Event` enum of this pallet
379
+ **/
380
+ export type PalletParametersEvent =
381
+ /**
382
+ * A Parameter was set.
383
+ *
384
+ * Is also emitted when the value was not changed.
385
+ **/
386
+ {
387
+ name: 'Updated';
388
+ data: {
389
+ /**
390
+ * The key that was updated.
391
+ **/
392
+ key: WestendRuntimeRuntimeParametersKey;
393
+
394
+ /**
395
+ * The old value before this call.
396
+ **/
397
+ oldValue?: WestendRuntimeRuntimeParametersValue | undefined;
398
+
399
+ /**
400
+ * The new value after this call.
401
+ **/
402
+ newValue?: WestendRuntimeRuntimeParametersValue | undefined;
403
+ };
404
+ };
405
+
406
+ export type WestendRuntimeRuntimeParametersKey = {
407
+ type: 'Inflation';
408
+ value: WestendRuntimeDynamicParamsInflationParametersKey;
409
+ };
410
+
411
+ export type WestendRuntimeDynamicParamsInflationParametersKey =
412
+ | { type: 'MinInflation'; value: WestendRuntimeDynamicParamsInflationMinInflation }
413
+ | { type: 'MaxInflation'; value: WestendRuntimeDynamicParamsInflationMaxInflation }
414
+ | { type: 'IdealStake'; value: WestendRuntimeDynamicParamsInflationIdealStake }
415
+ | { type: 'Falloff'; value: WestendRuntimeDynamicParamsInflationFalloff }
416
+ | { type: 'UseAuctionSlots'; value: WestendRuntimeDynamicParamsInflationUseAuctionSlots };
417
+
418
+ export type WestendRuntimeDynamicParamsInflationMinInflation = {};
419
+
420
+ export type WestendRuntimeDynamicParamsInflationMaxInflation = {};
421
+
422
+ export type WestendRuntimeDynamicParamsInflationIdealStake = {};
423
+
424
+ export type WestendRuntimeDynamicParamsInflationFalloff = {};
425
+
426
+ export type WestendRuntimeDynamicParamsInflationUseAuctionSlots = {};
427
+
428
+ export type WestendRuntimeRuntimeParametersValue = {
429
+ type: 'Inflation';
430
+ value: WestendRuntimeDynamicParamsInflationParametersValue;
431
+ };
432
+
433
+ export type WestendRuntimeDynamicParamsInflationParametersValue =
434
+ | { type: 'MinInflation'; value: Perquintill }
435
+ | { type: 'MaxInflation'; value: Perquintill }
436
+ | { type: 'IdealStake'; value: Perquintill }
437
+ | { type: 'Falloff'; value: Perquintill }
438
+ | { type: 'UseAuctionSlots'; value: boolean };
439
+
375
440
  /**
376
441
  * The `Event` enum of this pallet
377
442
  **/
@@ -887,8 +952,10 @@ export type PalletNominationPoolsEvent =
887
952
  * A member has been removed from a pool.
888
953
  *
889
954
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
955
+ * Any funds that are still delegated (i.e. dangling delegation) are released and are
956
+ * represented by `released_balance`.
890
957
  **/
891
- | { name: 'MemberRemoved'; data: { poolId: number; member: AccountId32 } }
958
+ | { name: 'MemberRemoved'; data: { poolId: number; member: AccountId32; releasedBalance: bigint } }
892
959
  /**
893
960
  * The roles of a pool have been updated to the given new roles. Note that the depositor
894
961
  * can never change.
@@ -987,7 +1054,22 @@ export type PalletConvictionVotingEvent =
987
1054
  /**
988
1055
  * An \[account\] has cancelled a previous delegation operation.
989
1056
  **/
990
- | { name: 'Undelegated'; data: AccountId32 };
1057
+ | { name: 'Undelegated'; data: AccountId32 }
1058
+ /**
1059
+ * An account that has voted
1060
+ **/
1061
+ | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
1062
+ /**
1063
+ * A vote that been removed
1064
+ **/
1065
+ | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } };
1066
+
1067
+ export type PalletConvictionVotingVoteAccountVote =
1068
+ | { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
1069
+ | { type: 'Split'; value: { aye: bigint; nay: bigint } }
1070
+ | { type: 'SplitAbstain'; value: { aye: bigint; nay: bigint; abstain: bigint } };
1071
+
1072
+ export type PalletConvictionVotingVote = number;
991
1073
 
992
1074
  /**
993
1075
  * The `Event` enum of this pallet
@@ -1287,6 +1369,7 @@ export type WestendRuntimeRuntimeCall =
1287
1369
  | { pallet: 'Indices'; palletCall: PalletIndicesCall }
1288
1370
  | { pallet: 'Balances'; palletCall: PalletBalancesCall }
1289
1371
  | { pallet: 'Staking'; palletCall: PalletStakingPalletCall }
1372
+ | { pallet: 'Parameters'; palletCall: PalletParametersCall }
1290
1373
  | { pallet: 'Session'; palletCall: PalletSessionCall }
1291
1374
  | { pallet: 'Grandpa'; palletCall: PalletGrandpaCall }
1292
1375
  | { pallet: 'Utility'; palletCall: PalletUtilityCall }
@@ -1315,7 +1398,7 @@ export type WestendRuntimeRuntimeCall =
1315
1398
  | { pallet: 'Hrmp'; palletCall: PolkadotRuntimeParachainsHrmpPalletCall }
1316
1399
  | { pallet: 'ParasDisputes'; palletCall: PolkadotRuntimeParachainsDisputesPalletCall }
1317
1400
  | { pallet: 'ParasSlashing'; palletCall: PolkadotRuntimeParachainsDisputesSlashingPalletCall }
1318
- | { pallet: 'OnDemandAssignmentProvider'; palletCall: PolkadotRuntimeParachainsAssignerOnDemandPalletCall }
1401
+ | { pallet: 'OnDemandAssignmentProvider'; palletCall: PolkadotRuntimeParachainsOnDemandPalletCall }
1319
1402
  | { pallet: 'Registrar'; palletCall: PolkadotRuntimeCommonParasRegistrarPalletCall }
1320
1403
  | { pallet: 'Slots'; palletCall: PolkadotRuntimeCommonSlotsPalletCall }
1321
1404
  | { pallet: 'ParasSudoWrapper'; palletCall: PolkadotRuntimeCommonParasSudoWrapperPalletCall }
@@ -1337,6 +1420,7 @@ export type WestendRuntimeRuntimeCallLike =
1337
1420
  | { pallet: 'Indices'; palletCall: PalletIndicesCallLike }
1338
1421
  | { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
1339
1422
  | { pallet: 'Staking'; palletCall: PalletStakingPalletCallLike }
1423
+ | { pallet: 'Parameters'; palletCall: PalletParametersCallLike }
1340
1424
  | { pallet: 'Session'; palletCall: PalletSessionCallLike }
1341
1425
  | { pallet: 'Grandpa'; palletCall: PalletGrandpaCallLike }
1342
1426
  | { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
@@ -1365,7 +1449,7 @@ export type WestendRuntimeRuntimeCallLike =
1365
1449
  | { pallet: 'Hrmp'; palletCall: PolkadotRuntimeParachainsHrmpPalletCallLike }
1366
1450
  | { pallet: 'ParasDisputes'; palletCall: PolkadotRuntimeParachainsDisputesPalletCallLike }
1367
1451
  | { pallet: 'ParasSlashing'; palletCall: PolkadotRuntimeParachainsDisputesSlashingPalletCallLike }
1368
- | { pallet: 'OnDemandAssignmentProvider'; palletCall: PolkadotRuntimeParachainsAssignerOnDemandPalletCallLike }
1452
+ | { pallet: 'OnDemandAssignmentProvider'; palletCall: PolkadotRuntimeParachainsOnDemandPalletCallLike }
1369
1453
  | { pallet: 'Registrar'; palletCall: PolkadotRuntimeCommonParasRegistrarPalletCallLike }
1370
1454
  | { pallet: 'Slots'; palletCall: PolkadotRuntimeCommonSlotsPalletCallLike }
1371
1455
  | { pallet: 'ParasSudoWrapper'; palletCall: PolkadotRuntimeCommonParasSudoWrapperPalletCallLike }
@@ -2915,6 +2999,39 @@ export type PalletStakingPalletConfigOpPerbill =
2915
2999
 
2916
3000
  export type PalletStakingUnlockChunk = { value: bigint; era: number };
2917
3001
 
3002
+ /**
3003
+ * Contains a variant per dispatchable extrinsic that this pallet has.
3004
+ **/
3005
+ export type PalletParametersCall =
3006
+ /**
3007
+ * Set the value of a parameter.
3008
+ *
3009
+ * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
3010
+ * deleted by setting them to `None`.
3011
+ **/
3012
+ { name: 'SetParameter'; params: { keyValue: WestendRuntimeRuntimeParameters } };
3013
+
3014
+ export type PalletParametersCallLike =
3015
+ /**
3016
+ * Set the value of a parameter.
3017
+ *
3018
+ * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
3019
+ * deleted by setting them to `None`.
3020
+ **/
3021
+ { name: 'SetParameter'; params: { keyValue: WestendRuntimeRuntimeParameters } };
3022
+
3023
+ export type WestendRuntimeRuntimeParameters = {
3024
+ type: 'Inflation';
3025
+ value: WestendRuntimeDynamicParamsInflationParameters;
3026
+ };
3027
+
3028
+ export type WestendRuntimeDynamicParamsInflationParameters =
3029
+ | { type: 'MinInflation'; value: [WestendRuntimeDynamicParamsInflationMinInflation, Perquintill | undefined] }
3030
+ | { type: 'MaxInflation'; value: [WestendRuntimeDynamicParamsInflationMaxInflation, Perquintill | undefined] }
3031
+ | { type: 'IdealStake'; value: [WestendRuntimeDynamicParamsInflationIdealStake, Perquintill | undefined] }
3032
+ | { type: 'Falloff'; value: [WestendRuntimeDynamicParamsInflationFalloff, Perquintill | undefined] }
3033
+ | { type: 'UseAuctionSlots'; value: [WestendRuntimeDynamicParamsInflationUseAuctionSlots, boolean | undefined] };
3034
+
2918
3035
  /**
2919
3036
  * Contains a variant per dispatchable extrinsic that this pallet has.
2920
3037
  **/
@@ -2979,15 +3096,15 @@ export type PalletSessionCallLike =
2979
3096
  export type WestendRuntimeSessionKeys = {
2980
3097
  grandpa: SpConsensusGrandpaAppPublic;
2981
3098
  babe: SpConsensusBabeAppPublic;
2982
- paraValidator: PolkadotPrimitivesV7ValidatorAppPublic;
2983
- paraAssignment: PolkadotPrimitivesV7AssignmentAppPublic;
3099
+ paraValidator: PolkadotPrimitivesV8ValidatorAppPublic;
3100
+ paraAssignment: PolkadotPrimitivesV8AssignmentAppPublic;
2984
3101
  authorityDiscovery: SpAuthorityDiscoveryAppPublic;
2985
3102
  beefy: SpConsensusBeefyEcdsaCryptoPublic;
2986
3103
  };
2987
3104
 
2988
- export type PolkadotPrimitivesV7ValidatorAppPublic = FixedBytes<32>;
3105
+ export type PolkadotPrimitivesV8ValidatorAppPublic = FixedBytes<32>;
2989
3106
 
2990
- export type PolkadotPrimitivesV7AssignmentAppPublic = FixedBytes<32>;
3107
+ export type PolkadotPrimitivesV8AssignmentAppPublic = FixedBytes<32>;
2991
3108
 
2992
3109
  export type SpAuthorityDiscoveryAppPublic = FixedBytes<32>;
2993
3110
 
@@ -3461,7 +3578,7 @@ export type PalletIdentityCall =
3461
3578
  * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
3462
3579
  *
3463
3580
  * ```nocompile
3464
- * Self::registrars().get(reg_index).unwrap().fee
3581
+ * Registrars::<T>::get().get(reg_index).unwrap().fee
3465
3582
  * ```
3466
3583
  *
3467
3584
  * Emits `JudgementRequested` if successful.
@@ -3693,7 +3810,7 @@ export type PalletIdentityCallLike =
3693
3810
  * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
3694
3811
  *
3695
3812
  * ```nocompile
3696
- * Self::registrars().get(reg_index).unwrap().fee
3813
+ * Registrars::<T>::get().get(reg_index).unwrap().fee
3697
3814
  * ```
3698
3815
  *
3699
3816
  * Emits `JudgementRequested` if successful.
@@ -5547,8 +5664,13 @@ export type PalletBagsListCallLike =
5547
5664
  **/
5548
5665
  export type PalletNominationPoolsCall =
5549
5666
  /**
5550
- * Stake funds with a pool. The amount to bond is transferred from the member to the
5551
- * pools account and immediately increases the pools bond.
5667
+ * Stake funds with a pool. The amount to bond is transferred from the member to the pool
5668
+ * account and immediately increases the pools bond.
5669
+ *
5670
+ * The method of transferring the amount to the pool account is determined by
5671
+ * [`adapter::StakeStrategyType`]. If the pool is configured to use
5672
+ * [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
5673
+ * the `origin`, while the pool gains the right to use these funds for staking.
5552
5674
  *
5553
5675
  * # Note
5554
5676
  *
@@ -5896,8 +6018,13 @@ export type PalletNominationPoolsCall =
5896
6018
 
5897
6019
  export type PalletNominationPoolsCallLike =
5898
6020
  /**
5899
- * Stake funds with a pool. The amount to bond is transferred from the member to the
5900
- * pools account and immediately increases the pools bond.
6021
+ * Stake funds with a pool. The amount to bond is transferred from the member to the pool
6022
+ * account and immediately increases the pools bond.
6023
+ *
6024
+ * The method of transferring the amount to the pool account is determined by
6025
+ * [`adapter::StakeStrategyType`]. If the pool is configured to use
6026
+ * [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
6027
+ * the `origin`, while the pool gains the right to use these funds for staking.
5901
6028
  *
5902
6029
  * # Note
5903
6030
  *
@@ -6662,13 +6789,6 @@ export type PalletConvictionVotingCallLike =
6662
6789
  **/
6663
6790
  | { name: 'RemoveOtherVote'; params: { target: MultiAddressLike; class: number; index: number } };
6664
6791
 
6665
- export type PalletConvictionVotingVoteAccountVote =
6666
- | { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
6667
- | { type: 'Split'; value: { aye: bigint; nay: bigint } }
6668
- | { type: 'SplitAbstain'; value: { aye: bigint; nay: bigint; abstain: bigint } };
6669
-
6670
- export type PalletConvictionVotingVote = number;
6671
-
6672
6792
  export type PalletConvictionVotingConviction =
6673
6793
  | 'None'
6674
6794
  | 'Locked1x'
@@ -7494,11 +7614,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
7494
7614
  /**
7495
7615
  * Set the asynchronous backing parameters.
7496
7616
  **/
7497
- | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams } }
7617
+ | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams } }
7498
7618
  /**
7499
7619
  * Set PVF executor parameters.
7500
7620
  **/
7501
- | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV7ExecutorParams } }
7621
+ | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV8ExecutorParams } }
7502
7622
  /**
7503
7623
  * Set the on demand (parathreads) base fee.
7504
7624
  **/
@@ -7530,11 +7650,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
7530
7650
  /**
7531
7651
  * Set approval-voting-params.
7532
7652
  **/
7533
- | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV7ApprovalVotingParams } }
7653
+ | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV8ApprovalVotingParams } }
7534
7654
  /**
7535
7655
  * Set scheduler-params.
7536
7656
  **/
7537
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } };
7657
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV8SchedulerParams } };
7538
7658
 
7539
7659
  export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7540
7660
  /**
@@ -7698,11 +7818,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7698
7818
  /**
7699
7819
  * Set the asynchronous backing parameters.
7700
7820
  **/
7701
- | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams } }
7821
+ | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams } }
7702
7822
  /**
7703
7823
  * Set PVF executor parameters.
7704
7824
  **/
7705
- | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV7ExecutorParams } }
7825
+ | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV8ExecutorParams } }
7706
7826
  /**
7707
7827
  * Set the on demand (parathreads) base fee.
7708
7828
  **/
@@ -7734,35 +7854,35 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7734
7854
  /**
7735
7855
  * Set approval-voting-params.
7736
7856
  **/
7737
- | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV7ApprovalVotingParams } }
7857
+ | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV8ApprovalVotingParams } }
7738
7858
  /**
7739
7859
  * Set scheduler-params.
7740
7860
  **/
7741
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } };
7861
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV8SchedulerParams } };
7742
7862
 
7743
- export type PolkadotPrimitivesV7AsyncBackingAsyncBackingParams = {
7863
+ export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
7744
7864
  maxCandidateDepth: number;
7745
7865
  allowedAncestryLen: number;
7746
7866
  };
7747
7867
 
7748
- export type PolkadotPrimitivesV7ExecutorParams = Array<PolkadotPrimitivesV7ExecutorParamsExecutorParam>;
7868
+ export type PolkadotPrimitivesV8ExecutorParams = Array<PolkadotPrimitivesV8ExecutorParamsExecutorParam>;
7749
7869
 
7750
- export type PolkadotPrimitivesV7ExecutorParamsExecutorParam =
7870
+ export type PolkadotPrimitivesV8ExecutorParamsExecutorParam =
7751
7871
  | { type: 'MaxMemoryPages'; value: number }
7752
7872
  | { type: 'StackLogicalMax'; value: number }
7753
7873
  | { type: 'StackNativeMax'; value: number }
7754
7874
  | { type: 'PrecheckingMaxMemory'; value: bigint }
7755
- | { type: 'PvfPrepTimeout'; value: [PolkadotPrimitivesV7PvfPrepKind, bigint] }
7756
- | { type: 'PvfExecTimeout'; value: [PolkadotPrimitivesV7PvfExecKind, bigint] }
7875
+ | { type: 'PvfPrepTimeout'; value: [PolkadotPrimitivesV8PvfPrepKind, bigint] }
7876
+ | { type: 'PvfExecTimeout'; value: [PolkadotPrimitivesV8PvfExecKind, bigint] }
7757
7877
  | { type: 'WasmExtBulkMemory' };
7758
7878
 
7759
- export type PolkadotPrimitivesV7PvfPrepKind = 'Precheck' | 'Prepare';
7879
+ export type PolkadotPrimitivesV8PvfPrepKind = 'Precheck' | 'Prepare';
7760
7880
 
7761
- export type PolkadotPrimitivesV7PvfExecKind = 'Backing' | 'Approval';
7881
+ export type PolkadotPrimitivesV8PvfExecKind = 'Backing' | 'Approval';
7762
7882
 
7763
- export type PolkadotPrimitivesV7ApprovalVotingParams = { maxApprovalCoalesceCount: number };
7883
+ export type PolkadotPrimitivesV8ApprovalVotingParams = { maxApprovalCoalesceCount: number };
7764
7884
 
7765
- export type PolkadotPrimitivesVstagingSchedulerParams = {
7885
+ export type PolkadotPrimitivesV8SchedulerParams = {
7766
7886
  groupRotationFrequency: number;
7767
7887
  parasAvailabilityPeriod: number;
7768
7888
  maxValidatorsPerCore?: number | undefined;
@@ -7797,65 +7917,65 @@ export type PolkadotRuntimeParachainsParasInherentPalletCall =
7797
7917
  /**
7798
7918
  * Enter the paras inherent. This will process bitfields and backed candidates.
7799
7919
  **/
7800
- { name: 'Enter'; params: { data: PolkadotPrimitivesV7InherentData } };
7920
+ { name: 'Enter'; params: { data: PolkadotPrimitivesV8InherentData } };
7801
7921
 
7802
7922
  export type PolkadotRuntimeParachainsParasInherentPalletCallLike =
7803
7923
  /**
7804
7924
  * Enter the paras inherent. This will process bitfields and backed candidates.
7805
7925
  **/
7806
- { name: 'Enter'; params: { data: PolkadotPrimitivesV7InherentData } };
7926
+ { name: 'Enter'; params: { data: PolkadotPrimitivesV8InherentData } };
7807
7927
 
7808
- export type PolkadotPrimitivesV7InherentData = {
7809
- bitfields: Array<PolkadotPrimitivesV7SignedUncheckedSigned>;
7810
- backedCandidates: Array<PolkadotPrimitivesV7BackedCandidate>;
7811
- disputes: Array<PolkadotPrimitivesV7DisputeStatementSet>;
7928
+ export type PolkadotPrimitivesV8InherentData = {
7929
+ bitfields: Array<PolkadotPrimitivesV8SignedUncheckedSigned>;
7930
+ backedCandidates: Array<PolkadotPrimitivesV8BackedCandidate>;
7931
+ disputes: Array<PolkadotPrimitivesV8DisputeStatementSet>;
7812
7932
  parentHeader: Header;
7813
7933
  };
7814
7934
 
7815
- export type PolkadotPrimitivesV7SignedUncheckedSigned = {
7816
- payload: PolkadotPrimitivesV7AvailabilityBitfield;
7817
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
7818
- signature: PolkadotPrimitivesV7ValidatorAppSignature;
7935
+ export type PolkadotPrimitivesV8SignedUncheckedSigned = {
7936
+ payload: PolkadotPrimitivesV8AvailabilityBitfield;
7937
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
7938
+ signature: PolkadotPrimitivesV8ValidatorAppSignature;
7819
7939
  };
7820
7940
 
7821
- export type PolkadotPrimitivesV7AvailabilityBitfield = BitSequence;
7941
+ export type PolkadotPrimitivesV8AvailabilityBitfield = BitSequence;
7822
7942
 
7823
7943
  export type BitvecOrderLsb0 = {};
7824
7944
 
7825
- export type PolkadotPrimitivesV7ValidatorIndex = number;
7945
+ export type PolkadotPrimitivesV8ValidatorIndex = number;
7826
7946
 
7827
- export type PolkadotPrimitivesV7ValidatorAppSignature = FixedBytes<64>;
7947
+ export type PolkadotPrimitivesV8ValidatorAppSignature = FixedBytes<64>;
7828
7948
 
7829
- export type PolkadotPrimitivesV7BackedCandidate = {
7830
- candidate: PolkadotPrimitivesV7CommittedCandidateReceipt;
7831
- validityVotes: Array<PolkadotPrimitivesV7ValidityAttestation>;
7949
+ export type PolkadotPrimitivesV8BackedCandidate = {
7950
+ candidate: PolkadotPrimitivesV8CommittedCandidateReceipt;
7951
+ validityVotes: Array<PolkadotPrimitivesV8ValidityAttestation>;
7832
7952
  validatorIndices: BitSequence;
7833
7953
  };
7834
7954
 
7835
- export type PolkadotPrimitivesV7CommittedCandidateReceipt = {
7836
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
7837
- commitments: PolkadotPrimitivesV7CandidateCommitments;
7955
+ export type PolkadotPrimitivesV8CommittedCandidateReceipt = {
7956
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
7957
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
7838
7958
  };
7839
7959
 
7840
- export type PolkadotPrimitivesV7CandidateDescriptor = {
7960
+ export type PolkadotPrimitivesV8CandidateDescriptor = {
7841
7961
  paraId: PolkadotParachainPrimitivesPrimitivesId;
7842
7962
  relayParent: H256;
7843
- collator: PolkadotPrimitivesV7CollatorAppPublic;
7963
+ collator: PolkadotPrimitivesV8CollatorAppPublic;
7844
7964
  persistedValidationDataHash: H256;
7845
7965
  povHash: H256;
7846
7966
  erasureRoot: H256;
7847
- signature: PolkadotPrimitivesV7CollatorAppSignature;
7967
+ signature: PolkadotPrimitivesV8CollatorAppSignature;
7848
7968
  paraHead: H256;
7849
7969
  validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
7850
7970
  };
7851
7971
 
7852
- export type PolkadotPrimitivesV7CollatorAppPublic = FixedBytes<32>;
7972
+ export type PolkadotPrimitivesV8CollatorAppPublic = FixedBytes<32>;
7853
7973
 
7854
- export type PolkadotPrimitivesV7CollatorAppSignature = FixedBytes<64>;
7974
+ export type PolkadotPrimitivesV8CollatorAppSignature = FixedBytes<64>;
7855
7975
 
7856
7976
  export type PolkadotParachainPrimitivesPrimitivesValidationCodeHash = H256;
7857
7977
 
7858
- export type PolkadotPrimitivesV7CandidateCommitments = {
7978
+ export type PolkadotPrimitivesV8CandidateCommitments = {
7859
7979
  upwardMessages: Array<Bytes>;
7860
7980
  horizontalMessages: Array<PolkadotCorePrimitivesOutboundHrmpMessage>;
7861
7981
  newValidationCode?: PolkadotParachainPrimitivesPrimitivesValidationCode | undefined;
@@ -7873,36 +7993,36 @@ export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
7873
7993
 
7874
7994
  export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
7875
7995
 
7876
- export type PolkadotPrimitivesV7ValidityAttestation =
7877
- | { type: 'Implicit'; value: PolkadotPrimitivesV7ValidatorAppSignature }
7878
- | { type: 'Explicit'; value: PolkadotPrimitivesV7ValidatorAppSignature };
7996
+ export type PolkadotPrimitivesV8ValidityAttestation =
7997
+ | { type: 'Implicit'; value: PolkadotPrimitivesV8ValidatorAppSignature }
7998
+ | { type: 'Explicit'; value: PolkadotPrimitivesV8ValidatorAppSignature };
7879
7999
 
7880
- export type PolkadotPrimitivesV7DisputeStatementSet = {
8000
+ export type PolkadotPrimitivesV8DisputeStatementSet = {
7881
8001
  candidateHash: PolkadotCorePrimitivesCandidateHash;
7882
8002
  session: number;
7883
8003
  statements: Array<
7884
8004
  [
7885
- PolkadotPrimitivesV7DisputeStatement,
7886
- PolkadotPrimitivesV7ValidatorIndex,
7887
- PolkadotPrimitivesV7ValidatorAppSignature,
8005
+ PolkadotPrimitivesV8DisputeStatement,
8006
+ PolkadotPrimitivesV8ValidatorIndex,
8007
+ PolkadotPrimitivesV8ValidatorAppSignature,
7888
8008
  ]
7889
8009
  >;
7890
8010
  };
7891
8011
 
7892
8012
  export type PolkadotCorePrimitivesCandidateHash = H256;
7893
8013
 
7894
- export type PolkadotPrimitivesV7DisputeStatement =
7895
- | { type: 'Valid'; value: PolkadotPrimitivesV7ValidDisputeStatementKind }
7896
- | { type: 'Invalid'; value: PolkadotPrimitivesV7InvalidDisputeStatementKind };
8014
+ export type PolkadotPrimitivesV8DisputeStatement =
8015
+ | { type: 'Valid'; value: PolkadotPrimitivesV8ValidDisputeStatementKind }
8016
+ | { type: 'Invalid'; value: PolkadotPrimitivesV8InvalidDisputeStatementKind };
7897
8017
 
7898
- export type PolkadotPrimitivesV7ValidDisputeStatementKind =
8018
+ export type PolkadotPrimitivesV8ValidDisputeStatementKind =
7899
8019
  | { type: 'Explicit' }
7900
8020
  | { type: 'BackingSeconded'; value: H256 }
7901
8021
  | { type: 'BackingValid'; value: H256 }
7902
8022
  | { type: 'ApprovalChecking' }
7903
8023
  | { type: 'ApprovalCheckingMultipleCandidates'; value: Array<PolkadotCorePrimitivesCandidateHash> };
7904
8024
 
7905
- export type PolkadotPrimitivesV7InvalidDisputeStatementKind = 'Explicit';
8025
+ export type PolkadotPrimitivesV8InvalidDisputeStatementKind = 'Explicit';
7906
8026
 
7907
8027
  /**
7908
8028
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -7986,7 +8106,7 @@ export type PolkadotRuntimeParachainsParasPalletCall =
7986
8106
  **/
7987
8107
  | {
7988
8108
  name: 'IncludePvfCheckStatement';
7989
- params: { stmt: PolkadotPrimitivesV7PvfCheckStatement; signature: PolkadotPrimitivesV7ValidatorAppSignature };
8109
+ params: { stmt: PolkadotPrimitivesV8PvfCheckStatement; signature: PolkadotPrimitivesV8ValidatorAppSignature };
7990
8110
  }
7991
8111
  /**
7992
8112
  * Set the storage for the current parachain head data immediately.
@@ -8072,18 +8192,18 @@ export type PolkadotRuntimeParachainsParasPalletCallLike =
8072
8192
  **/
8073
8193
  | {
8074
8194
  name: 'IncludePvfCheckStatement';
8075
- params: { stmt: PolkadotPrimitivesV7PvfCheckStatement; signature: PolkadotPrimitivesV7ValidatorAppSignature };
8195
+ params: { stmt: PolkadotPrimitivesV8PvfCheckStatement; signature: PolkadotPrimitivesV8ValidatorAppSignature };
8076
8196
  }
8077
8197
  /**
8078
8198
  * Set the storage for the current parachain head data immediately.
8079
8199
  **/
8080
8200
  | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } };
8081
8201
 
8082
- export type PolkadotPrimitivesV7PvfCheckStatement = {
8202
+ export type PolkadotPrimitivesV8PvfCheckStatement = {
8083
8203
  accept: boolean;
8084
8204
  subject: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
8085
8205
  sessionIndex: number;
8086
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
8206
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
8087
8207
  };
8088
8208
 
8089
8209
  /**
@@ -8417,32 +8537,32 @@ export type PolkadotRuntimeParachainsDisputesPalletCallLike = 'ForceUnfreeze';
8417
8537
  **/
8418
8538
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCall = {
8419
8539
  name: 'ReportDisputeLostUnsigned';
8420
- params: { disputeProof: PolkadotPrimitivesV7SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8540
+ params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8421
8541
  };
8422
8542
 
8423
8543
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCallLike = {
8424
8544
  name: 'ReportDisputeLostUnsigned';
8425
- params: { disputeProof: PolkadotPrimitivesV7SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8545
+ params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8426
8546
  };
8427
8547
 
8428
- export type PolkadotPrimitivesV7SlashingDisputeProof = {
8429
- timeSlot: PolkadotPrimitivesV7SlashingDisputesTimeSlot;
8430
- kind: PolkadotPrimitivesV7SlashingSlashingOffenceKind;
8431
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
8432
- validatorId: PolkadotPrimitivesV7ValidatorAppPublic;
8548
+ export type PolkadotPrimitivesV8SlashingDisputeProof = {
8549
+ timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot;
8550
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
8551
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
8552
+ validatorId: PolkadotPrimitivesV8ValidatorAppPublic;
8433
8553
  };
8434
8554
 
8435
- export type PolkadotPrimitivesV7SlashingDisputesTimeSlot = {
8555
+ export type PolkadotPrimitivesV8SlashingDisputesTimeSlot = {
8436
8556
  sessionIndex: number;
8437
8557
  candidateHash: PolkadotCorePrimitivesCandidateHash;
8438
8558
  };
8439
8559
 
8440
- export type PolkadotPrimitivesV7SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
8560
+ export type PolkadotPrimitivesV8SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
8441
8561
 
8442
8562
  /**
8443
8563
  * Contains a variant per dispatchable extrinsic that this pallet has.
8444
8564
  **/
8445
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletCall =
8565
+ export type PolkadotRuntimeParachainsOnDemandPalletCall =
8446
8566
  /**
8447
8567
  * Create a single on demand core order.
8448
8568
  * Will use the spot price for the current block and will reap the account if needed.
@@ -8480,7 +8600,7 @@ export type PolkadotRuntimeParachainsAssignerOnDemandPalletCall =
8480
8600
  **/
8481
8601
  | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
8482
8602
 
8483
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletCallLike =
8603
+ export type PolkadotRuntimeParachainsOnDemandPalletCallLike =
8484
8604
  /**
8485
8605
  * Create a single on demand core order.
8486
8606
  * Will use the spot price for the current block and will reap the account if needed.
@@ -11060,10 +11180,10 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
11060
11180
  | {
11061
11181
  name: 'CandidateBacked';
11062
11182
  data: [
11063
- PolkadotPrimitivesV7CandidateReceipt,
11183
+ PolkadotPrimitivesV8CandidateReceipt,
11064
11184
  PolkadotParachainPrimitivesPrimitivesHeadData,
11065
- PolkadotPrimitivesV7CoreIndex,
11066
- PolkadotPrimitivesV7GroupIndex,
11185
+ PolkadotPrimitivesV8CoreIndex,
11186
+ PolkadotPrimitivesV8GroupIndex,
11067
11187
  ];
11068
11188
  }
11069
11189
  /**
@@ -11072,10 +11192,10 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
11072
11192
  | {
11073
11193
  name: 'CandidateIncluded';
11074
11194
  data: [
11075
- PolkadotPrimitivesV7CandidateReceipt,
11195
+ PolkadotPrimitivesV8CandidateReceipt,
11076
11196
  PolkadotParachainPrimitivesPrimitivesHeadData,
11077
- PolkadotPrimitivesV7CoreIndex,
11078
- PolkadotPrimitivesV7GroupIndex,
11197
+ PolkadotPrimitivesV8CoreIndex,
11198
+ PolkadotPrimitivesV8GroupIndex,
11079
11199
  ];
11080
11200
  }
11081
11201
  /**
@@ -11084,9 +11204,9 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
11084
11204
  | {
11085
11205
  name: 'CandidateTimedOut';
11086
11206
  data: [
11087
- PolkadotPrimitivesV7CandidateReceipt,
11207
+ PolkadotPrimitivesV8CandidateReceipt,
11088
11208
  PolkadotParachainPrimitivesPrimitivesHeadData,
11089
- PolkadotPrimitivesV7CoreIndex,
11209
+ PolkadotPrimitivesV8CoreIndex,
11090
11210
  ];
11091
11211
  }
11092
11212
  /**
@@ -11094,14 +11214,14 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
11094
11214
  **/
11095
11215
  | { name: 'UpwardMessagesReceived'; data: { from: PolkadotParachainPrimitivesPrimitivesId; count: number } };
11096
11216
 
11097
- export type PolkadotPrimitivesV7CandidateReceipt = {
11098
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
11217
+ export type PolkadotPrimitivesV8CandidateReceipt = {
11218
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
11099
11219
  commitmentsHash: H256;
11100
11220
  };
11101
11221
 
11102
- export type PolkadotPrimitivesV7CoreIndex = number;
11222
+ export type PolkadotPrimitivesV8CoreIndex = number;
11103
11223
 
11104
- export type PolkadotPrimitivesV7GroupIndex = number;
11224
+ export type PolkadotPrimitivesV8GroupIndex = number;
11105
11225
 
11106
11226
  /**
11107
11227
  * The `Event` enum of this pallet
@@ -11261,7 +11381,7 @@ export type PolkadotRuntimeParachainsDisputesDisputeResult = 'Valid' | 'Invalid'
11261
11381
  /**
11262
11382
  * The `Event` enum of this pallet
11263
11383
  **/
11264
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletEvent =
11384
+ export type PolkadotRuntimeParachainsOnDemandPalletEvent =
11265
11385
  /**
11266
11386
  * An order was placed at some spot price amount by orderer ordered_by
11267
11387
  **/
@@ -11444,7 +11564,7 @@ export type PolkadotRuntimeParachainsCoretimePalletEvent =
11444
11564
  /**
11445
11565
  * A core has received a new assignment from the broker chain.
11446
11566
  **/
11447
- | { name: 'CoreAssigned'; data: { core: PolkadotPrimitivesV7CoreIndex } };
11567
+ | { name: 'CoreAssigned'; data: { core: PolkadotPrimitivesV8CoreIndex } };
11448
11568
 
11449
11569
  /**
11450
11570
  * The `Event` enum of this pallet
@@ -12579,11 +12699,7 @@ export type PalletPreimageError =
12579
12699
  /**
12580
12700
  * Too few hashes were requested to be upgraded (i.e. zero).
12581
12701
  **/
12582
- | 'TooFew'
12583
- /**
12584
- * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
12585
- **/
12586
- | 'NoCost';
12702
+ | 'TooFew';
12587
12703
 
12588
12704
  /**
12589
12705
  * Error for the Sudo pallet.
@@ -13400,7 +13516,7 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
13400
13516
  hrmpMaxMessageNumPerCandidate: number;
13401
13517
  validationUpgradeCooldown: number;
13402
13518
  validationUpgradeDelay: number;
13403
- asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams;
13519
+ asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
13404
13520
  maxPovSize: number;
13405
13521
  maxDownwardMessageSize: number;
13406
13522
  hrmpMaxParachainOutboundChannels: number;
@@ -13410,7 +13526,7 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
13410
13526
  hrmpChannelMaxTotalSize: number;
13411
13527
  hrmpMaxParachainInboundChannels: number;
13412
13528
  hrmpChannelMaxMessageSize: number;
13413
- executorParams: PolkadotPrimitivesV7ExecutorParams;
13529
+ executorParams: PolkadotPrimitivesV8ExecutorParams;
13414
13530
  codeRetentionPeriod: number;
13415
13531
  maxValidators?: number | undefined;
13416
13532
  disputePeriod: number;
@@ -13424,8 +13540,8 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
13424
13540
  minimumValidationUpgradeDelay: number;
13425
13541
  minimumBackingVotes: number;
13426
13542
  nodeFeatures: BitSequence;
13427
- approvalVotingParams: PolkadotPrimitivesV7ApprovalVotingParams;
13428
- schedulerParams: PolkadotPrimitivesVstagingSchedulerParams;
13543
+ approvalVotingParams: PolkadotPrimitivesV8ApprovalVotingParams;
13544
+ schedulerParams: PolkadotPrimitivesV8SchedulerParams;
13429
13545
  };
13430
13546
 
13431
13547
  /**
@@ -13443,15 +13559,15 @@ export type PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker = {
13443
13559
  };
13444
13560
 
13445
13561
  export type PolkadotRuntimeParachainsInclusionCandidatePendingAvailability = {
13446
- core: PolkadotPrimitivesV7CoreIndex;
13562
+ core: PolkadotPrimitivesV8CoreIndex;
13447
13563
  hash: PolkadotCorePrimitivesCandidateHash;
13448
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
13449
- commitments: PolkadotPrimitivesV7CandidateCommitments;
13564
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
13565
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
13450
13566
  availabilityVotes: BitSequence;
13451
13567
  backers: BitSequence;
13452
13568
  relayParentNumber: number;
13453
13569
  backedInNumber: number;
13454
- backingGroup: PolkadotPrimitivesV7GroupIndex;
13570
+ backingGroup: PolkadotPrimitivesV8GroupIndex;
13455
13571
  };
13456
13572
 
13457
13573
  /**
@@ -13500,10 +13616,6 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
13500
13616
  * Invalid (bad signature, unknown validator, etc.) backing.
13501
13617
  **/
13502
13618
  | 'InvalidBacking'
13503
- /**
13504
- * Collator did not sign PoV.
13505
- **/
13506
- | 'NotCollatorSigned'
13507
13619
  /**
13508
13620
  * The validation data hash does not match expected.
13509
13621
  **/
@@ -13534,15 +13646,15 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
13534
13646
  **/
13535
13647
  | 'ParaHeadMismatch';
13536
13648
 
13537
- export type PolkadotPrimitivesV7ScrapedOnChainVotes = {
13649
+ export type PolkadotPrimitivesV8ScrapedOnChainVotes = {
13538
13650
  session: number;
13539
13651
  backingValidatorsPerCandidate: Array<
13540
13652
  [
13541
- PolkadotPrimitivesV7CandidateReceipt,
13542
- Array<[PolkadotPrimitivesV7ValidatorIndex, PolkadotPrimitivesV7ValidityAttestation]>,
13653
+ PolkadotPrimitivesV8CandidateReceipt,
13654
+ Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidityAttestation]>,
13543
13655
  ]
13544
13656
  >;
13545
- disputes: Array<PolkadotPrimitivesV7DisputeStatementSet>;
13657
+ disputes: Array<PolkadotPrimitivesV8DisputeStatementSet>;
13546
13658
  };
13547
13659
 
13548
13660
  /**
@@ -13585,7 +13697,7 @@ export type PolkadotRuntimeParachainsSchedulerPalletParasEntry = {
13585
13697
  export type PolkadotRuntimeParachainsSchedulerCommonAssignment =
13586
13698
  | {
13587
13699
  type: 'Pool';
13588
- value: { paraId: PolkadotParachainPrimitivesPrimitivesId; coreIndex: PolkadotPrimitivesV7CoreIndex };
13700
+ value: { paraId: PolkadotParachainPrimitivesPrimitivesId; coreIndex: PolkadotPrimitivesV8CoreIndex };
13589
13701
  }
13590
13702
  | { type: 'Bulk'; value: PolkadotParachainPrimitivesPrimitivesId };
13591
13703
 
@@ -13626,9 +13738,9 @@ export type PolkadotRuntimeParachainsParasParaPastCodeMeta = {
13626
13738
 
13627
13739
  export type PolkadotRuntimeParachainsParasReplacementTimes = { expectedAt: number; activatedAt: number };
13628
13740
 
13629
- export type PolkadotPrimitivesV7UpgradeGoAhead = 'Abort' | 'GoAhead';
13741
+ export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
13630
13742
 
13631
- export type PolkadotPrimitivesV7UpgradeRestriction = 'Present';
13743
+ export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
13632
13744
 
13633
13745
  /**
13634
13746
  * The `Error` enum of this pallet.
@@ -13688,8 +13800,8 @@ export type PolkadotRuntimeParachainsParasPalletError =
13688
13800
  | 'InvalidCode';
13689
13801
 
13690
13802
  export type PolkadotRuntimeParachainsInitializerBufferedSessionChange = {
13691
- validators: Array<PolkadotPrimitivesV7ValidatorAppPublic>;
13692
- queued: Array<PolkadotPrimitivesV7ValidatorAppPublic>;
13803
+ validators: Array<PolkadotPrimitivesV8ValidatorAppPublic>;
13804
+ queued: Array<PolkadotPrimitivesV8ValidatorAppPublic>;
13693
13805
  sessionIndex: number;
13694
13806
  };
13695
13807
 
@@ -13802,14 +13914,14 @@ export type PolkadotRuntimeParachainsHrmpPalletError =
13802
13914
  **/
13803
13915
  | 'ChannelCreationNotAuthorized';
13804
13916
 
13805
- export type PolkadotPrimitivesV7SessionInfo = {
13806
- activeValidatorIndices: Array<PolkadotPrimitivesV7ValidatorIndex>;
13917
+ export type PolkadotPrimitivesV8SessionInfo = {
13918
+ activeValidatorIndices: Array<PolkadotPrimitivesV8ValidatorIndex>;
13807
13919
  randomSeed: FixedBytes<32>;
13808
13920
  disputePeriod: number;
13809
- validators: PolkadotPrimitivesV7IndexedVec;
13921
+ validators: PolkadotPrimitivesV8IndexedVec;
13810
13922
  discoveryKeys: Array<SpAuthorityDiscoveryAppPublic>;
13811
- assignmentKeys: Array<PolkadotPrimitivesV7AssignmentAppPublic>;
13812
- validatorGroups: PolkadotPrimitivesV7IndexedVecGroupIndex;
13923
+ assignmentKeys: Array<PolkadotPrimitivesV8AssignmentAppPublic>;
13924
+ validatorGroups: PolkadotPrimitivesV8IndexedVecGroupIndex;
13813
13925
  nCores: number;
13814
13926
  zerothDelayTrancheWidth: number;
13815
13927
  relayVrfModuloSamples: number;
@@ -13818,11 +13930,11 @@ export type PolkadotPrimitivesV7SessionInfo = {
13818
13930
  neededApprovals: number;
13819
13931
  };
13820
13932
 
13821
- export type PolkadotPrimitivesV7IndexedVec = Array<PolkadotPrimitivesV7ValidatorAppPublic>;
13933
+ export type PolkadotPrimitivesV8IndexedVec = Array<PolkadotPrimitivesV8ValidatorAppPublic>;
13822
13934
 
13823
- export type PolkadotPrimitivesV7IndexedVecGroupIndex = Array<Array<PolkadotPrimitivesV7ValidatorIndex>>;
13935
+ export type PolkadotPrimitivesV8IndexedVecGroupIndex = Array<Array<PolkadotPrimitivesV8ValidatorIndex>>;
13824
13936
 
13825
- export type PolkadotPrimitivesV7DisputeState = {
13937
+ export type PolkadotPrimitivesV8DisputeState = {
13826
13938
  validatorsFor: BitSequence;
13827
13939
  validatorsAgainst: BitSequence;
13828
13940
  start: number;
@@ -13870,9 +13982,9 @@ export type PolkadotRuntimeParachainsDisputesPalletError =
13870
13982
  **/
13871
13983
  | 'UnconfirmedDispute';
13872
13984
 
13873
- export type PolkadotPrimitivesV7SlashingPendingSlashes = {
13874
- keys: Array<[PolkadotPrimitivesV7ValidatorIndex, PolkadotPrimitivesV7ValidatorAppPublic]>;
13875
- kind: PolkadotPrimitivesV7SlashingSlashingOffenceKind;
13985
+ export type PolkadotPrimitivesV8SlashingPendingSlashes = {
13986
+ keys: Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidatorAppPublic]>;
13987
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
13876
13988
  };
13877
13989
 
13878
13990
  /**
@@ -13905,35 +14017,35 @@ export type PolkadotRuntimeParachainsDisputesSlashingPalletError =
13905
14017
  **/
13906
14018
  | 'DuplicateSlashingReport';
13907
14019
 
13908
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount = {
13909
- coreIndex: PolkadotPrimitivesV7CoreIndex;
14020
+ export type PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount = {
14021
+ coreIndex: PolkadotPrimitivesV8CoreIndex;
13910
14022
  count: number;
13911
14023
  };
13912
14024
 
13913
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType = {
14025
+ export type PolkadotRuntimeParachainsOnDemandTypesQueueStatusType = {
13914
14026
  traffic: FixedU128;
13915
- nextIndex: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
13916
- smallestIndex: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
14027
+ nextIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
14028
+ smallestIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
13917
14029
  freedIndices: BinaryHeap;
13918
14030
  };
13919
14031
 
13920
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex = number;
14032
+ export type PolkadotRuntimeParachainsOnDemandTypesQueueIndex = number;
13921
14033
 
13922
- export type BinaryHeap = Array<PolkadotRuntimeParachainsAssignerOnDemandTypesReverseQueueIndex>;
14034
+ export type BinaryHeap = Array<PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex>;
13923
14035
 
13924
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesReverseQueueIndex = number;
14036
+ export type PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex = number;
13925
14037
 
13926
- export type BinaryHeapEnqueuedOrder = Array<PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder>;
14038
+ export type BinaryHeapEnqueuedOrder = Array<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>;
13927
14039
 
13928
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder = {
14040
+ export type PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder = {
13929
14041
  paraId: PolkadotParachainPrimitivesPrimitivesId;
13930
- idx: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
14042
+ idx: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
13931
14043
  };
13932
14044
 
13933
14045
  /**
13934
14046
  * The `Error` enum of this pallet.
13935
14047
  **/
13936
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletError =
14048
+ export type PolkadotRuntimeParachainsOnDemandPalletError =
13937
14049
  /**
13938
14050
  * The order queue is full, `place_order` will not continue.
13939
14051
  **/
@@ -14657,78 +14769,78 @@ export type SpRuntimeTransactionValidityValidTransaction = {
14657
14769
  propagate: boolean;
14658
14770
  };
14659
14771
 
14660
- export type PolkadotPrimitivesV7GroupRotationInfo = {
14772
+ export type PolkadotPrimitivesV8GroupRotationInfo = {
14661
14773
  sessionStartBlock: number;
14662
14774
  groupRotationFrequency: number;
14663
14775
  now: number;
14664
14776
  };
14665
14777
 
14666
- export type PolkadotPrimitivesV7CoreState =
14667
- | { type: 'Occupied'; value: PolkadotPrimitivesV7OccupiedCore }
14668
- | { type: 'Scheduled'; value: PolkadotPrimitivesV7ScheduledCore }
14778
+ export type PolkadotPrimitivesV8CoreState =
14779
+ | { type: 'Occupied'; value: PolkadotPrimitivesV8OccupiedCore }
14780
+ | { type: 'Scheduled'; value: PolkadotPrimitivesV8ScheduledCore }
14669
14781
  | { type: 'Free' };
14670
14782
 
14671
- export type PolkadotPrimitivesV7OccupiedCore = {
14672
- nextUpOnAvailable?: PolkadotPrimitivesV7ScheduledCore | undefined;
14783
+ export type PolkadotPrimitivesV8OccupiedCore = {
14784
+ nextUpOnAvailable?: PolkadotPrimitivesV8ScheduledCore | undefined;
14673
14785
  occupiedSince: number;
14674
14786
  timeOutAt: number;
14675
- nextUpOnTimeOut?: PolkadotPrimitivesV7ScheduledCore | undefined;
14787
+ nextUpOnTimeOut?: PolkadotPrimitivesV8ScheduledCore | undefined;
14676
14788
  availability: BitSequence;
14677
- groupResponsible: PolkadotPrimitivesV7GroupIndex;
14789
+ groupResponsible: PolkadotPrimitivesV8GroupIndex;
14678
14790
  candidateHash: PolkadotCorePrimitivesCandidateHash;
14679
- candidateDescriptor: PolkadotPrimitivesV7CandidateDescriptor;
14791
+ candidateDescriptor: PolkadotPrimitivesV8CandidateDescriptor;
14680
14792
  };
14681
14793
 
14682
- export type PolkadotPrimitivesV7ScheduledCore = {
14794
+ export type PolkadotPrimitivesV8ScheduledCore = {
14683
14795
  paraId: PolkadotParachainPrimitivesPrimitivesId;
14684
- collator?: PolkadotPrimitivesV7CollatorAppPublic | undefined;
14796
+ collator?: PolkadotPrimitivesV8CollatorAppPublic | undefined;
14685
14797
  };
14686
14798
 
14687
- export type PolkadotPrimitivesV7OccupiedCoreAssumption = 'Included' | 'TimedOut' | 'Free';
14799
+ export type PolkadotPrimitivesV8OccupiedCoreAssumption = 'Included' | 'TimedOut' | 'Free';
14688
14800
 
14689
- export type PolkadotPrimitivesV7PersistedValidationData = {
14801
+ export type PolkadotPrimitivesV8PersistedValidationData = {
14690
14802
  parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
14691
14803
  relayParentNumber: number;
14692
14804
  relayParentStorageRoot: H256;
14693
14805
  maxPovSize: number;
14694
14806
  };
14695
14807
 
14696
- export type PolkadotPrimitivesV7CandidateEvent =
14808
+ export type PolkadotPrimitivesV8CandidateEvent =
14697
14809
  | {
14698
14810
  type: 'CandidateBacked';
14699
14811
  value: [
14700
- PolkadotPrimitivesV7CandidateReceipt,
14812
+ PolkadotPrimitivesV8CandidateReceipt,
14701
14813
  PolkadotParachainPrimitivesPrimitivesHeadData,
14702
- PolkadotPrimitivesV7CoreIndex,
14703
- PolkadotPrimitivesV7GroupIndex,
14814
+ PolkadotPrimitivesV8CoreIndex,
14815
+ PolkadotPrimitivesV8GroupIndex,
14704
14816
  ];
14705
14817
  }
14706
14818
  | {
14707
14819
  type: 'CandidateIncluded';
14708
14820
  value: [
14709
- PolkadotPrimitivesV7CandidateReceipt,
14821
+ PolkadotPrimitivesV8CandidateReceipt,
14710
14822
  PolkadotParachainPrimitivesPrimitivesHeadData,
14711
- PolkadotPrimitivesV7CoreIndex,
14712
- PolkadotPrimitivesV7GroupIndex,
14823
+ PolkadotPrimitivesV8CoreIndex,
14824
+ PolkadotPrimitivesV8GroupIndex,
14713
14825
  ];
14714
14826
  }
14715
14827
  | {
14716
14828
  type: 'CandidateTimedOut';
14717
14829
  value: [
14718
- PolkadotPrimitivesV7CandidateReceipt,
14830
+ PolkadotPrimitivesV8CandidateReceipt,
14719
14831
  PolkadotParachainPrimitivesPrimitivesHeadData,
14720
- PolkadotPrimitivesV7CoreIndex,
14832
+ PolkadotPrimitivesV8CoreIndex,
14721
14833
  ];
14722
14834
  };
14723
14835
 
14724
- export type PolkadotPrimitivesV7SlashingOpaqueKeyOwnershipProof = Bytes;
14836
+ export type PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof = Bytes;
14725
14837
 
14726
- export type PolkadotPrimitivesV7AsyncBackingBackingState = {
14727
- constraints: PolkadotPrimitivesV7AsyncBackingConstraints;
14728
- pendingAvailability: Array<PolkadotPrimitivesV7AsyncBackingCandidatePendingAvailability>;
14838
+ export type PolkadotPrimitivesV8AsyncBackingBackingState = {
14839
+ constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
14840
+ pendingAvailability: Array<PolkadotPrimitivesV8AsyncBackingCandidatePendingAvailability>;
14729
14841
  };
14730
14842
 
14731
- export type PolkadotPrimitivesV7AsyncBackingConstraints = {
14843
+ export type PolkadotPrimitivesV8AsyncBackingConstraints = {
14732
14844
  minRelayParentNumber: number;
14733
14845
  maxPovSize: number;
14734
14846
  maxCodeSize: number;
@@ -14736,28 +14848,28 @@ export type PolkadotPrimitivesV7AsyncBackingConstraints = {
14736
14848
  umpRemainingBytes: number;
14737
14849
  maxUmpNumPerCandidate: number;
14738
14850
  dmpRemainingMessages: Array<number>;
14739
- hrmpInbound: PolkadotPrimitivesV7AsyncBackingInboundHrmpLimitations;
14851
+ hrmpInbound: PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations;
14740
14852
  hrmpChannelsOut: Array<
14741
- [PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV7AsyncBackingOutboundHrmpChannelLimitations]
14853
+ [PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations]
14742
14854
  >;
14743
14855
  maxHrmpNumPerCandidate: number;
14744
14856
  requiredParent: PolkadotParachainPrimitivesPrimitivesHeadData;
14745
14857
  validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
14746
- upgradeRestriction?: PolkadotPrimitivesV7UpgradeRestriction | undefined;
14858
+ upgradeRestriction?: PolkadotPrimitivesV8UpgradeRestriction | undefined;
14747
14859
  futureValidationCode?: [number, PolkadotParachainPrimitivesPrimitivesValidationCodeHash] | undefined;
14748
14860
  };
14749
14861
 
14750
- export type PolkadotPrimitivesV7AsyncBackingInboundHrmpLimitations = { validWatermarks: Array<number> };
14862
+ export type PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations = { validWatermarks: Array<number> };
14751
14863
 
14752
- export type PolkadotPrimitivesV7AsyncBackingOutboundHrmpChannelLimitations = {
14864
+ export type PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations = {
14753
14865
  bytesRemaining: number;
14754
14866
  messagesRemaining: number;
14755
14867
  };
14756
14868
 
14757
- export type PolkadotPrimitivesV7AsyncBackingCandidatePendingAvailability = {
14869
+ export type PolkadotPrimitivesV8AsyncBackingCandidatePendingAvailability = {
14758
14870
  candidateHash: PolkadotCorePrimitivesCandidateHash;
14759
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
14760
- commitments: PolkadotPrimitivesV7CandidateCommitments;
14871
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
14872
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
14761
14873
  relayParentNumber: number;
14762
14874
  maxPovSize: number;
14763
14875
  };
@@ -14766,6 +14878,12 @@ export type SpConsensusBeefyValidatorSet = { validators: Array<SpConsensusBeefyE
14766
14878
 
14767
14879
  export type SpRuntimeOpaqueValue = Bytes;
14768
14880
 
14881
+ export type SpConsensusBeefyForkVotingProofOpaqueValue = {
14882
+ vote: SpConsensusBeefyVoteMessage;
14883
+ ancestryProof: SpRuntimeOpaqueValue;
14884
+ header: Header;
14885
+ };
14886
+
14769
14887
  export type SpMmrPrimitivesError =
14770
14888
  | 'InvalidNumericOp'
14771
14889
  | 'Push'
@@ -14873,7 +14991,7 @@ export type WestendRuntimeRuntimeError =
14873
14991
  | { pallet: 'Hrmp'; palletError: PolkadotRuntimeParachainsHrmpPalletError }
14874
14992
  | { pallet: 'ParasDisputes'; palletError: PolkadotRuntimeParachainsDisputesPalletError }
14875
14993
  | { pallet: 'ParasSlashing'; palletError: PolkadotRuntimeParachainsDisputesSlashingPalletError }
14876
- | { pallet: 'OnDemandAssignmentProvider'; palletError: PolkadotRuntimeParachainsAssignerOnDemandPalletError }
14994
+ | { pallet: 'OnDemandAssignmentProvider'; palletError: PolkadotRuntimeParachainsOnDemandPalletError }
14877
14995
  | { pallet: 'CoretimeAssignmentProvider'; palletError: PolkadotRuntimeParachainsAssignerCoretimePalletError }
14878
14996
  | { pallet: 'Registrar'; palletError: PolkadotRuntimeCommonParasRegistrarPalletError }
14879
14997
  | { pallet: 'Slots'; palletError: PolkadotRuntimeCommonSlotsPalletError }