@dedot/chaintypes 0.58.0 → 0.60.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.
@@ -17,7 +17,6 @@ import type {
17
17
  MultiAddressLike,
18
18
  AccountId32Like,
19
19
  Percent,
20
- Perquintill,
21
20
  EthereumAddress,
22
21
  EthereumAddressLike,
23
22
  PerU16,
@@ -25,6 +24,7 @@ import type {
25
24
  FixedU128,
26
25
  FixedI64,
27
26
  Era,
27
+ Perquintill,
28
28
  UncheckedExtrinsic,
29
29
  } from 'dedot/codecs';
30
30
 
@@ -70,7 +70,6 @@ export type PolkadotRuntimeRuntimeEvent =
70
70
  | { pallet: 'ConvictionVoting'; palletEvent: PalletConvictionVotingEvent }
71
71
  | { pallet: 'Referenda'; palletEvent: PalletReferendaEvent }
72
72
  | { pallet: 'Whitelist'; palletEvent: PalletWhitelistEvent }
73
- | { pallet: 'Parameters'; palletEvent: PalletParametersEvent }
74
73
  | { pallet: 'Claims'; palletEvent: PolkadotRuntimeCommonClaimsPalletEvent }
75
74
  | { pallet: 'Vesting'; palletEvent: PalletVestingEvent }
76
75
  | { pallet: 'Utility'; palletEvent: PalletUtilityEvent }
@@ -82,11 +81,12 @@ export type PolkadotRuntimeRuntimeEvent =
82
81
  | { pallet: 'VoterList'; palletEvent: PalletBagsListEvent }
83
82
  | { pallet: 'NominationPools'; palletEvent: PalletNominationPoolsEvent }
84
83
  | { pallet: 'FastUnstake'; palletEvent: PalletFastUnstakeEvent }
84
+ | { pallet: 'DelegatedStaking'; palletEvent: PalletDelegatedStakingEvent }
85
85
  | { pallet: 'ParaInclusion'; palletEvent: PolkadotRuntimeParachainsInclusionPalletEvent }
86
86
  | { pallet: 'Paras'; palletEvent: PolkadotRuntimeParachainsParasPalletEvent }
87
87
  | { pallet: 'Hrmp'; palletEvent: PolkadotRuntimeParachainsHrmpPalletEvent }
88
88
  | { pallet: 'ParasDisputes'; palletEvent: PolkadotRuntimeParachainsDisputesPalletEvent }
89
- | { pallet: 'OnDemand'; palletEvent: PolkadotRuntimeParachainsAssignerOnDemandPalletEvent }
89
+ | { pallet: 'OnDemand'; palletEvent: PolkadotRuntimeParachainsOnDemandPalletEvent }
90
90
  | { pallet: 'Registrar'; palletEvent: PolkadotRuntimeCommonParasRegistrarPalletEvent }
91
91
  | { pallet: 'Slots'; palletEvent: PolkadotRuntimeCommonSlotsPalletEvent }
92
92
  | { pallet: 'Auctions'; palletEvent: PolkadotRuntimeCommonAuctionsPalletEvent }
@@ -730,7 +730,22 @@ export type PalletConvictionVotingEvent =
730
730
  /**
731
731
  * An \[account\] has cancelled a previous delegation operation.
732
732
  **/
733
- | { name: 'Undelegated'; data: AccountId32 };
733
+ | { name: 'Undelegated'; data: AccountId32 }
734
+ /**
735
+ * An account that has voted
736
+ **/
737
+ | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
738
+ /**
739
+ * A vote that been removed
740
+ **/
741
+ | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } };
742
+
743
+ export type PalletConvictionVotingVoteAccountVote =
744
+ | { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
745
+ | { type: 'Split'; value: { aye: bigint; nay: bigint } }
746
+ | { type: 'SplitAbstain'; value: { aye: bigint; nay: bigint; abstain: bigint } };
747
+
748
+ export type PalletConvictionVotingVote = number;
734
749
 
735
750
  /**
736
751
  * The `Event` enum of this pallet
@@ -1038,7 +1053,6 @@ export type PolkadotRuntimeRuntimeCall =
1038
1053
  | { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCall }
1039
1054
  | { pallet: 'Referenda'; palletCall: PalletReferendaCall }
1040
1055
  | { pallet: 'Whitelist'; palletCall: PalletWhitelistCall }
1041
- | { pallet: 'Parameters'; palletCall: PalletParametersCall }
1042
1056
  | { pallet: 'Claims'; palletCall: PolkadotRuntimeCommonClaimsPalletCall }
1043
1057
  | { pallet: 'Vesting'; palletCall: PalletVestingCall }
1044
1058
  | { pallet: 'Utility'; palletCall: PalletUtilityCall }
@@ -1059,7 +1073,7 @@ export type PolkadotRuntimeRuntimeCall =
1059
1073
  | { pallet: 'Hrmp'; palletCall: PolkadotRuntimeParachainsHrmpPalletCall }
1060
1074
  | { pallet: 'ParasDisputes'; palletCall: PolkadotRuntimeParachainsDisputesPalletCall }
1061
1075
  | { pallet: 'ParasSlashing'; palletCall: PolkadotRuntimeParachainsDisputesSlashingPalletCall }
1062
- | { pallet: 'OnDemand'; palletCall: PolkadotRuntimeParachainsAssignerOnDemandPalletCall }
1076
+ | { pallet: 'OnDemand'; palletCall: PolkadotRuntimeParachainsOnDemandPalletCall }
1063
1077
  | { pallet: 'Registrar'; palletCall: PolkadotRuntimeCommonParasRegistrarPalletCall }
1064
1078
  | { pallet: 'Slots'; palletCall: PolkadotRuntimeCommonSlotsPalletCall }
1065
1079
  | { pallet: 'Auctions'; palletCall: PolkadotRuntimeCommonAuctionsPalletCall }
@@ -1086,7 +1100,6 @@ export type PolkadotRuntimeRuntimeCallLike =
1086
1100
  | { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCallLike }
1087
1101
  | { pallet: 'Referenda'; palletCall: PalletReferendaCallLike }
1088
1102
  | { pallet: 'Whitelist'; palletCall: PalletWhitelistCallLike }
1089
- | { pallet: 'Parameters'; palletCall: PalletParametersCallLike }
1090
1103
  | { pallet: 'Claims'; palletCall: PolkadotRuntimeCommonClaimsPalletCallLike }
1091
1104
  | { pallet: 'Vesting'; palletCall: PalletVestingCallLike }
1092
1105
  | { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
@@ -1107,7 +1120,7 @@ export type PolkadotRuntimeRuntimeCallLike =
1107
1120
  | { pallet: 'Hrmp'; palletCall: PolkadotRuntimeParachainsHrmpPalletCallLike }
1108
1121
  | { pallet: 'ParasDisputes'; palletCall: PolkadotRuntimeParachainsDisputesPalletCallLike }
1109
1122
  | { pallet: 'ParasSlashing'; palletCall: PolkadotRuntimeParachainsDisputesSlashingPalletCallLike }
1110
- | { pallet: 'OnDemand'; palletCall: PolkadotRuntimeParachainsAssignerOnDemandPalletCallLike }
1123
+ | { pallet: 'OnDemand'; palletCall: PolkadotRuntimeParachainsOnDemandPalletCallLike }
1111
1124
  | { pallet: 'Registrar'; palletCall: PolkadotRuntimeCommonParasRegistrarPalletCallLike }
1112
1125
  | { pallet: 'Slots'; palletCall: PolkadotRuntimeCommonSlotsPalletCallLike }
1113
1126
  | { pallet: 'Auctions'; palletCall: PolkadotRuntimeCommonAuctionsPalletCallLike }
@@ -2994,15 +3007,15 @@ export type PalletSessionCallLike =
2994
3007
  export type PolkadotRuntimeSessionKeys = {
2995
3008
  grandpa: SpConsensusGrandpaAppPublic;
2996
3009
  babe: SpConsensusBabeAppPublic;
2997
- paraValidator: PolkadotPrimitivesV7ValidatorAppPublic;
2998
- paraAssignment: PolkadotPrimitivesV7AssignmentAppPublic;
3010
+ paraValidator: PolkadotPrimitivesV8ValidatorAppPublic;
3011
+ paraAssignment: PolkadotPrimitivesV8AssignmentAppPublic;
2999
3012
  authorityDiscovery: SpAuthorityDiscoveryAppPublic;
3000
3013
  beefy: SpConsensusBeefyEcdsaCryptoPublic;
3001
3014
  };
3002
3015
 
3003
- export type PolkadotPrimitivesV7ValidatorAppPublic = FixedBytes<32>;
3016
+ export type PolkadotPrimitivesV8ValidatorAppPublic = FixedBytes<32>;
3004
3017
 
3005
- export type PolkadotPrimitivesV7AssignmentAppPublic = FixedBytes<32>;
3018
+ export type PolkadotPrimitivesV8AssignmentAppPublic = FixedBytes<32>;
3006
3019
 
3007
3020
  export type SpAuthorityDiscoveryAppPublic = FixedBytes<32>;
3008
3021
 
@@ -3665,13 +3678,6 @@ export type PalletConvictionVotingCallLike =
3665
3678
  **/
3666
3679
  | { name: 'RemoveOtherVote'; params: { target: MultiAddressLike; class: number; index: number } };
3667
3680
 
3668
- export type PalletConvictionVotingVoteAccountVote =
3669
- | { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
3670
- | { type: 'Split'; value: { aye: bigint; nay: bigint } }
3671
- | { type: 'SplitAbstain'; value: { aye: bigint; nay: bigint; abstain: bigint } };
3672
-
3673
- export type PalletConvictionVotingVote = number;
3674
-
3675
3681
  export type PalletConvictionVotingConviction =
3676
3682
  | 'None'
3677
3683
  | 'Locked1x'
@@ -3947,49 +3953,6 @@ export type PalletWhitelistCallLike =
3947
3953
  }
3948
3954
  | { name: 'DispatchWhitelistedCallWithPreimage'; params: { call: PolkadotRuntimeRuntimeCallLike } };
3949
3955
 
3950
- /**
3951
- * Contains a variant per dispatchable extrinsic that this pallet has.
3952
- **/
3953
- export type PalletParametersCall =
3954
- /**
3955
- * Set the value of a parameter.
3956
- *
3957
- * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
3958
- * deleted by setting them to `None`.
3959
- **/
3960
- { name: 'SetParameter'; params: { keyValue: PolkadotRuntimeRuntimeParameters } };
3961
-
3962
- export type PalletParametersCallLike =
3963
- /**
3964
- * Set the value of a parameter.
3965
- *
3966
- * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
3967
- * deleted by setting them to `None`.
3968
- **/
3969
- { name: 'SetParameter'; params: { keyValue: PolkadotRuntimeRuntimeParameters } };
3970
-
3971
- export type PolkadotRuntimeRuntimeParameters = {
3972
- type: 'Inflation';
3973
- value: PolkadotRuntimeDynamicParamsInflationParameters;
3974
- };
3975
-
3976
- export type PolkadotRuntimeDynamicParamsInflationParameters =
3977
- | { type: 'MinInflation'; value: [PolkadotRuntimeDynamicParamsInflationMinInflation, Perquintill | undefined] }
3978
- | { type: 'MaxInflation'; value: [PolkadotRuntimeDynamicParamsInflationMaxInflation, Perquintill | undefined] }
3979
- | { type: 'IdealStake'; value: [PolkadotRuntimeDynamicParamsInflationIdealStake, Perquintill | undefined] }
3980
- | { type: 'Falloff'; value: [PolkadotRuntimeDynamicParamsInflationFalloff, Perquintill | undefined] }
3981
- | { type: 'UseAuctionSlots'; value: [PolkadotRuntimeDynamicParamsInflationUseAuctionSlots, boolean | undefined] };
3982
-
3983
- export type PolkadotRuntimeDynamicParamsInflationMinInflation = {};
3984
-
3985
- export type PolkadotRuntimeDynamicParamsInflationMaxInflation = {};
3986
-
3987
- export type PolkadotRuntimeDynamicParamsInflationIdealStake = {};
3988
-
3989
- export type PolkadotRuntimeDynamicParamsInflationFalloff = {};
3990
-
3991
- export type PolkadotRuntimeDynamicParamsInflationUseAuctionSlots = {};
3992
-
3993
3956
  /**
3994
3957
  * Contains a variant per dispatchable extrinsic that this pallet has.
3995
3958
  **/
@@ -4953,7 +4916,8 @@ export type PolkadotRuntimeProxyType =
4953
4916
  | 'Staking'
4954
4917
  | 'CancelProxy'
4955
4918
  | 'Auction'
4956
- | 'NominationPools';
4919
+ | 'NominationPools'
4920
+ | 'ParaRegistration';
4957
4921
 
4958
4922
  /**
4959
4923
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -6062,8 +6026,13 @@ export type PalletBagsListCallLike =
6062
6026
  **/
6063
6027
  export type PalletNominationPoolsCall =
6064
6028
  /**
6065
- * Stake funds with a pool. The amount to bond is transferred from the member to the
6066
- * pools account and immediately increases the pools bond.
6029
+ * Stake funds with a pool. The amount to bond is transferred from the member to the pool
6030
+ * account and immediately increases the pools bond.
6031
+ *
6032
+ * The method of transferring the amount to the pool account is determined by
6033
+ * [`adapter::StakeStrategyType`]. If the pool is configured to use
6034
+ * [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
6035
+ * the `origin`, while the pool gains the right to use these funds for staking.
6067
6036
  *
6068
6037
  * # Note
6069
6038
  *
@@ -6380,8 +6349,10 @@ export type PalletNominationPoolsCall =
6380
6349
  * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
6381
6350
  * [`adapter::StakeStrategyType::Delegate`].
6382
6351
  *
6383
- * This call can be dispatched permissionlessly (i.e. by any account). If the member has
6384
- * slash to be applied, caller may be rewarded with the part of the slash.
6352
+ * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
6353
+ * This call can be dispatched permissionlessly (i.e. by any account). If the execution
6354
+ * is successful, fee is refunded and caller may be rewarded with a part of the slash
6355
+ * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
6385
6356
  **/
6386
6357
  | { name: 'ApplySlash'; params: { memberAccount: MultiAddress } }
6387
6358
  /**
@@ -6411,8 +6382,13 @@ export type PalletNominationPoolsCall =
6411
6382
 
6412
6383
  export type PalletNominationPoolsCallLike =
6413
6384
  /**
6414
- * Stake funds with a pool. The amount to bond is transferred from the member to the
6415
- * pools account and immediately increases the pools bond.
6385
+ * Stake funds with a pool. The amount to bond is transferred from the member to the pool
6386
+ * account and immediately increases the pools bond.
6387
+ *
6388
+ * The method of transferring the amount to the pool account is determined by
6389
+ * [`adapter::StakeStrategyType`]. If the pool is configured to use
6390
+ * [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
6391
+ * the `origin`, while the pool gains the right to use these funds for staking.
6416
6392
  *
6417
6393
  * # Note
6418
6394
  *
@@ -6738,8 +6714,10 @@ export type PalletNominationPoolsCallLike =
6738
6714
  * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
6739
6715
  * [`adapter::StakeStrategyType::Delegate`].
6740
6716
  *
6741
- * This call can be dispatched permissionlessly (i.e. by any account). If the member has
6742
- * slash to be applied, caller may be rewarded with the part of the slash.
6717
+ * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
6718
+ * This call can be dispatched permissionlessly (i.e. by any account). If the execution
6719
+ * is successful, fee is refunded and caller may be rewarded with a part of the slash
6720
+ * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
6743
6721
  **/
6744
6722
  | { name: 'ApplySlash'; params: { memberAccount: MultiAddressLike } }
6745
6723
  /**
@@ -7101,11 +7079,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
7101
7079
  /**
7102
7080
  * Set the asynchronous backing parameters.
7103
7081
  **/
7104
- | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams } }
7082
+ | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams } }
7105
7083
  /**
7106
7084
  * Set PVF executor parameters.
7107
7085
  **/
7108
- | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV7ExecutorParams } }
7086
+ | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV8ExecutorParams } }
7109
7087
  /**
7110
7088
  * Set the on demand (parathreads) base fee.
7111
7089
  **/
@@ -7137,11 +7115,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
7137
7115
  /**
7138
7116
  * Set approval-voting-params.
7139
7117
  **/
7140
- | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV7ApprovalVotingParams } }
7118
+ | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV8ApprovalVotingParams } }
7141
7119
  /**
7142
7120
  * Set scheduler-params.
7143
7121
  **/
7144
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } };
7122
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV8SchedulerParams } };
7145
7123
 
7146
7124
  export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7147
7125
  /**
@@ -7305,11 +7283,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7305
7283
  /**
7306
7284
  * Set the asynchronous backing parameters.
7307
7285
  **/
7308
- | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams } }
7286
+ | { name: 'SetAsyncBackingParams'; params: { new: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams } }
7309
7287
  /**
7310
7288
  * Set PVF executor parameters.
7311
7289
  **/
7312
- | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV7ExecutorParams } }
7290
+ | { name: 'SetExecutorParams'; params: { new: PolkadotPrimitivesV8ExecutorParams } }
7313
7291
  /**
7314
7292
  * Set the on demand (parathreads) base fee.
7315
7293
  **/
@@ -7341,35 +7319,35 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7341
7319
  /**
7342
7320
  * Set approval-voting-params.
7343
7321
  **/
7344
- | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV7ApprovalVotingParams } }
7322
+ | { name: 'SetApprovalVotingParams'; params: { new: PolkadotPrimitivesV8ApprovalVotingParams } }
7345
7323
  /**
7346
7324
  * Set scheduler-params.
7347
7325
  **/
7348
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } };
7326
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV8SchedulerParams } };
7349
7327
 
7350
- export type PolkadotPrimitivesV7AsyncBackingAsyncBackingParams = {
7328
+ export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
7351
7329
  maxCandidateDepth: number;
7352
7330
  allowedAncestryLen: number;
7353
7331
  };
7354
7332
 
7355
- export type PolkadotPrimitivesV7ExecutorParams = Array<PolkadotPrimitivesV7ExecutorParamsExecutorParam>;
7333
+ export type PolkadotPrimitivesV8ExecutorParams = Array<PolkadotPrimitivesV8ExecutorParamsExecutorParam>;
7356
7334
 
7357
- export type PolkadotPrimitivesV7ExecutorParamsExecutorParam =
7335
+ export type PolkadotPrimitivesV8ExecutorParamsExecutorParam =
7358
7336
  | { type: 'MaxMemoryPages'; value: number }
7359
7337
  | { type: 'StackLogicalMax'; value: number }
7360
7338
  | { type: 'StackNativeMax'; value: number }
7361
7339
  | { type: 'PrecheckingMaxMemory'; value: bigint }
7362
- | { type: 'PvfPrepTimeout'; value: [PolkadotPrimitivesV7PvfPrepKind, bigint] }
7363
- | { type: 'PvfExecTimeout'; value: [PolkadotPrimitivesV7PvfExecKind, bigint] }
7340
+ | { type: 'PvfPrepTimeout'; value: [PolkadotPrimitivesV8PvfPrepKind, bigint] }
7341
+ | { type: 'PvfExecTimeout'; value: [PolkadotPrimitivesV8PvfExecKind, bigint] }
7364
7342
  | { type: 'WasmExtBulkMemory' };
7365
7343
 
7366
- export type PolkadotPrimitivesV7PvfPrepKind = 'Precheck' | 'Prepare';
7344
+ export type PolkadotPrimitivesV8PvfPrepKind = 'Precheck' | 'Prepare';
7367
7345
 
7368
- export type PolkadotPrimitivesV7PvfExecKind = 'Backing' | 'Approval';
7346
+ export type PolkadotPrimitivesV8PvfExecKind = 'Backing' | 'Approval';
7369
7347
 
7370
- export type PolkadotPrimitivesV7ApprovalVotingParams = { maxApprovalCoalesceCount: number };
7348
+ export type PolkadotPrimitivesV8ApprovalVotingParams = { maxApprovalCoalesceCount: number };
7371
7349
 
7372
- export type PolkadotPrimitivesVstagingSchedulerParams = {
7350
+ export type PolkadotPrimitivesV8SchedulerParams = {
7373
7351
  groupRotationFrequency: number;
7374
7352
  parasAvailabilityPeriod: number;
7375
7353
  maxValidatorsPerCore?: number | undefined;
@@ -7404,65 +7382,65 @@ export type PolkadotRuntimeParachainsParasInherentPalletCall =
7404
7382
  /**
7405
7383
  * Enter the paras inherent. This will process bitfields and backed candidates.
7406
7384
  **/
7407
- { name: 'Enter'; params: { data: PolkadotPrimitivesV7InherentData } };
7385
+ { name: 'Enter'; params: { data: PolkadotPrimitivesV8InherentData } };
7408
7386
 
7409
7387
  export type PolkadotRuntimeParachainsParasInherentPalletCallLike =
7410
7388
  /**
7411
7389
  * Enter the paras inherent. This will process bitfields and backed candidates.
7412
7390
  **/
7413
- { name: 'Enter'; params: { data: PolkadotPrimitivesV7InherentData } };
7391
+ { name: 'Enter'; params: { data: PolkadotPrimitivesV8InherentData } };
7414
7392
 
7415
- export type PolkadotPrimitivesV7InherentData = {
7416
- bitfields: Array<PolkadotPrimitivesV7SignedUncheckedSigned>;
7417
- backedCandidates: Array<PolkadotPrimitivesV7BackedCandidate>;
7418
- disputes: Array<PolkadotPrimitivesV7DisputeStatementSet>;
7393
+ export type PolkadotPrimitivesV8InherentData = {
7394
+ bitfields: Array<PolkadotPrimitivesV8SignedUncheckedSigned>;
7395
+ backedCandidates: Array<PolkadotPrimitivesV8BackedCandidate>;
7396
+ disputes: Array<PolkadotPrimitivesV8DisputeStatementSet>;
7419
7397
  parentHeader: Header;
7420
7398
  };
7421
7399
 
7422
- export type PolkadotPrimitivesV7SignedUncheckedSigned = {
7423
- payload: PolkadotPrimitivesV7AvailabilityBitfield;
7424
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
7425
- signature: PolkadotPrimitivesV7ValidatorAppSignature;
7400
+ export type PolkadotPrimitivesV8SignedUncheckedSigned = {
7401
+ payload: PolkadotPrimitivesV8AvailabilityBitfield;
7402
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
7403
+ signature: PolkadotPrimitivesV8ValidatorAppSignature;
7426
7404
  };
7427
7405
 
7428
- export type PolkadotPrimitivesV7AvailabilityBitfield = BitSequence;
7406
+ export type PolkadotPrimitivesV8AvailabilityBitfield = BitSequence;
7429
7407
 
7430
7408
  export type BitvecOrderLsb0 = {};
7431
7409
 
7432
- export type PolkadotPrimitivesV7ValidatorIndex = number;
7410
+ export type PolkadotPrimitivesV8ValidatorIndex = number;
7433
7411
 
7434
- export type PolkadotPrimitivesV7ValidatorAppSignature = FixedBytes<64>;
7412
+ export type PolkadotPrimitivesV8ValidatorAppSignature = FixedBytes<64>;
7435
7413
 
7436
- export type PolkadotPrimitivesV7BackedCandidate = {
7437
- candidate: PolkadotPrimitivesV7CommittedCandidateReceipt;
7438
- validityVotes: Array<PolkadotPrimitivesV7ValidityAttestation>;
7414
+ export type PolkadotPrimitivesV8BackedCandidate = {
7415
+ candidate: PolkadotPrimitivesV8CommittedCandidateReceipt;
7416
+ validityVotes: Array<PolkadotPrimitivesV8ValidityAttestation>;
7439
7417
  validatorIndices: BitSequence;
7440
7418
  };
7441
7419
 
7442
- export type PolkadotPrimitivesV7CommittedCandidateReceipt = {
7443
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
7444
- commitments: PolkadotPrimitivesV7CandidateCommitments;
7420
+ export type PolkadotPrimitivesV8CommittedCandidateReceipt = {
7421
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
7422
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
7445
7423
  };
7446
7424
 
7447
- export type PolkadotPrimitivesV7CandidateDescriptor = {
7425
+ export type PolkadotPrimitivesV8CandidateDescriptor = {
7448
7426
  paraId: PolkadotParachainPrimitivesPrimitivesId;
7449
7427
  relayParent: H256;
7450
- collator: PolkadotPrimitivesV7CollatorAppPublic;
7428
+ collator: PolkadotPrimitivesV8CollatorAppPublic;
7451
7429
  persistedValidationDataHash: H256;
7452
7430
  povHash: H256;
7453
7431
  erasureRoot: H256;
7454
- signature: PolkadotPrimitivesV7CollatorAppSignature;
7432
+ signature: PolkadotPrimitivesV8CollatorAppSignature;
7455
7433
  paraHead: H256;
7456
7434
  validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
7457
7435
  };
7458
7436
 
7459
- export type PolkadotPrimitivesV7CollatorAppPublic = FixedBytes<32>;
7437
+ export type PolkadotPrimitivesV8CollatorAppPublic = FixedBytes<32>;
7460
7438
 
7461
- export type PolkadotPrimitivesV7CollatorAppSignature = FixedBytes<64>;
7439
+ export type PolkadotPrimitivesV8CollatorAppSignature = FixedBytes<64>;
7462
7440
 
7463
7441
  export type PolkadotParachainPrimitivesPrimitivesValidationCodeHash = H256;
7464
7442
 
7465
- export type PolkadotPrimitivesV7CandidateCommitments = {
7443
+ export type PolkadotPrimitivesV8CandidateCommitments = {
7466
7444
  upwardMessages: Array<Bytes>;
7467
7445
  horizontalMessages: Array<PolkadotCorePrimitivesOutboundHrmpMessage>;
7468
7446
  newValidationCode?: PolkadotParachainPrimitivesPrimitivesValidationCode | undefined;
@@ -7480,36 +7458,36 @@ export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
7480
7458
 
7481
7459
  export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
7482
7460
 
7483
- export type PolkadotPrimitivesV7ValidityAttestation =
7484
- | { type: 'Implicit'; value: PolkadotPrimitivesV7ValidatorAppSignature }
7485
- | { type: 'Explicit'; value: PolkadotPrimitivesV7ValidatorAppSignature };
7461
+ export type PolkadotPrimitivesV8ValidityAttestation =
7462
+ | { type: 'Implicit'; value: PolkadotPrimitivesV8ValidatorAppSignature }
7463
+ | { type: 'Explicit'; value: PolkadotPrimitivesV8ValidatorAppSignature };
7486
7464
 
7487
- export type PolkadotPrimitivesV7DisputeStatementSet = {
7465
+ export type PolkadotPrimitivesV8DisputeStatementSet = {
7488
7466
  candidateHash: PolkadotCorePrimitivesCandidateHash;
7489
7467
  session: number;
7490
7468
  statements: Array<
7491
7469
  [
7492
- PolkadotPrimitivesV7DisputeStatement,
7493
- PolkadotPrimitivesV7ValidatorIndex,
7494
- PolkadotPrimitivesV7ValidatorAppSignature,
7470
+ PolkadotPrimitivesV8DisputeStatement,
7471
+ PolkadotPrimitivesV8ValidatorIndex,
7472
+ PolkadotPrimitivesV8ValidatorAppSignature,
7495
7473
  ]
7496
7474
  >;
7497
7475
  };
7498
7476
 
7499
7477
  export type PolkadotCorePrimitivesCandidateHash = H256;
7500
7478
 
7501
- export type PolkadotPrimitivesV7DisputeStatement =
7502
- | { type: 'Valid'; value: PolkadotPrimitivesV7ValidDisputeStatementKind }
7503
- | { type: 'Invalid'; value: PolkadotPrimitivesV7InvalidDisputeStatementKind };
7479
+ export type PolkadotPrimitivesV8DisputeStatement =
7480
+ | { type: 'Valid'; value: PolkadotPrimitivesV8ValidDisputeStatementKind }
7481
+ | { type: 'Invalid'; value: PolkadotPrimitivesV8InvalidDisputeStatementKind };
7504
7482
 
7505
- export type PolkadotPrimitivesV7ValidDisputeStatementKind =
7483
+ export type PolkadotPrimitivesV8ValidDisputeStatementKind =
7506
7484
  | { type: 'Explicit' }
7507
7485
  | { type: 'BackingSeconded'; value: H256 }
7508
7486
  | { type: 'BackingValid'; value: H256 }
7509
7487
  | { type: 'ApprovalChecking' }
7510
7488
  | { type: 'ApprovalCheckingMultipleCandidates'; value: Array<PolkadotCorePrimitivesCandidateHash> };
7511
7489
 
7512
- export type PolkadotPrimitivesV7InvalidDisputeStatementKind = 'Explicit';
7490
+ export type PolkadotPrimitivesV8InvalidDisputeStatementKind = 'Explicit';
7513
7491
 
7514
7492
  /**
7515
7493
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -7593,7 +7571,7 @@ export type PolkadotRuntimeParachainsParasPalletCall =
7593
7571
  **/
7594
7572
  | {
7595
7573
  name: 'IncludePvfCheckStatement';
7596
- params: { stmt: PolkadotPrimitivesV7PvfCheckStatement; signature: PolkadotPrimitivesV7ValidatorAppSignature };
7574
+ params: { stmt: PolkadotPrimitivesV8PvfCheckStatement; signature: PolkadotPrimitivesV8ValidatorAppSignature };
7597
7575
  }
7598
7576
  /**
7599
7577
  * Set the storage for the current parachain head data immediately.
@@ -7679,18 +7657,18 @@ export type PolkadotRuntimeParachainsParasPalletCallLike =
7679
7657
  **/
7680
7658
  | {
7681
7659
  name: 'IncludePvfCheckStatement';
7682
- params: { stmt: PolkadotPrimitivesV7PvfCheckStatement; signature: PolkadotPrimitivesV7ValidatorAppSignature };
7660
+ params: { stmt: PolkadotPrimitivesV8PvfCheckStatement; signature: PolkadotPrimitivesV8ValidatorAppSignature };
7683
7661
  }
7684
7662
  /**
7685
7663
  * Set the storage for the current parachain head data immediately.
7686
7664
  **/
7687
7665
  | { name: 'ForceSetMostRecentContext'; params: { para: PolkadotParachainPrimitivesPrimitivesId; context: number } };
7688
7666
 
7689
- export type PolkadotPrimitivesV7PvfCheckStatement = {
7667
+ export type PolkadotPrimitivesV8PvfCheckStatement = {
7690
7668
  accept: boolean;
7691
7669
  subject: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
7692
7670
  sessionIndex: number;
7693
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
7671
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
7694
7672
  };
7695
7673
 
7696
7674
  /**
@@ -8024,32 +8002,32 @@ export type PolkadotRuntimeParachainsDisputesPalletCallLike = 'ForceUnfreeze';
8024
8002
  **/
8025
8003
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCall = {
8026
8004
  name: 'ReportDisputeLostUnsigned';
8027
- params: { disputeProof: PolkadotPrimitivesV7SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8005
+ params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8028
8006
  };
8029
8007
 
8030
8008
  export type PolkadotRuntimeParachainsDisputesSlashingPalletCallLike = {
8031
8009
  name: 'ReportDisputeLostUnsigned';
8032
- params: { disputeProof: PolkadotPrimitivesV7SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8010
+ params: { disputeProof: PolkadotPrimitivesV8SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8033
8011
  };
8034
8012
 
8035
- export type PolkadotPrimitivesV7SlashingDisputeProof = {
8036
- timeSlot: PolkadotPrimitivesV7SlashingDisputesTimeSlot;
8037
- kind: PolkadotPrimitivesV7SlashingSlashingOffenceKind;
8038
- validatorIndex: PolkadotPrimitivesV7ValidatorIndex;
8039
- validatorId: PolkadotPrimitivesV7ValidatorAppPublic;
8013
+ export type PolkadotPrimitivesV8SlashingDisputeProof = {
8014
+ timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot;
8015
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
8016
+ validatorIndex: PolkadotPrimitivesV8ValidatorIndex;
8017
+ validatorId: PolkadotPrimitivesV8ValidatorAppPublic;
8040
8018
  };
8041
8019
 
8042
- export type PolkadotPrimitivesV7SlashingDisputesTimeSlot = {
8020
+ export type PolkadotPrimitivesV8SlashingDisputesTimeSlot = {
8043
8021
  sessionIndex: number;
8044
8022
  candidateHash: PolkadotCorePrimitivesCandidateHash;
8045
8023
  };
8046
8024
 
8047
- export type PolkadotPrimitivesV7SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
8025
+ export type PolkadotPrimitivesV8SlashingSlashingOffenceKind = 'ForInvalid' | 'AgainstValid';
8048
8026
 
8049
8027
  /**
8050
8028
  * Contains a variant per dispatchable extrinsic that this pallet has.
8051
8029
  **/
8052
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletCall =
8030
+ export type PolkadotRuntimeParachainsOnDemandPalletCall =
8053
8031
  /**
8054
8032
  * Create a single on demand core order.
8055
8033
  * Will use the spot price for the current block and will reap the account if needed.
@@ -8087,7 +8065,7 @@ export type PolkadotRuntimeParachainsAssignerOnDemandPalletCall =
8087
8065
  **/
8088
8066
  | { name: 'PlaceOrderKeepAlive'; params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId } };
8089
8067
 
8090
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletCallLike =
8068
+ export type PolkadotRuntimeParachainsOnDemandPalletCallLike =
8091
8069
  /**
8092
8070
  * Create a single on demand core order.
8093
8071
  * Will use the spot price for the current block and will reap the account if needed.
@@ -10317,7 +10295,7 @@ export type PalletBeefyCall =
10317
10295
  * will be reported.
10318
10296
  **/
10319
10297
  | {
10320
- name: 'ReportEquivocation';
10298
+ name: 'ReportDoubleVoting';
10321
10299
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
10322
10300
  }
10323
10301
  /**
@@ -10332,7 +10310,7 @@ export type PalletBeefyCall =
10332
10310
  * reporter.
10333
10311
  **/
10334
10312
  | {
10335
- name: 'ReportEquivocationUnsigned';
10313
+ name: 'ReportDoubleVotingUnsigned';
10336
10314
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
10337
10315
  }
10338
10316
  /**
@@ -10341,7 +10319,53 @@ export type PalletBeefyCall =
10341
10319
  *
10342
10320
  * Note: `delay_in_blocks` has to be at least 1.
10343
10321
  **/
10344
- | { name: 'SetNewGenesis'; params: { delayInBlocks: number } };
10322
+ | { name: 'SetNewGenesis'; params: { delayInBlocks: number } }
10323
+ /**
10324
+ * Report fork voting equivocation. This method will verify the equivocation proof
10325
+ * and validate the given key ownership proof against the extracted offender.
10326
+ * If both are valid, the offence will be reported.
10327
+ **/
10328
+ | {
10329
+ name: 'ReportForkVoting';
10330
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
10331
+ }
10332
+ /**
10333
+ * Report fork voting equivocation. This method will verify the equivocation proof
10334
+ * and validate the given key ownership proof against the extracted offender.
10335
+ * If both are valid, the offence will be reported.
10336
+ *
10337
+ * This extrinsic must be called unsigned and it is expected that only
10338
+ * block authors will call it (validated in `ValidateUnsigned`), as such
10339
+ * if the block author is defined it will be defined as the equivocation
10340
+ * reporter.
10341
+ **/
10342
+ | {
10343
+ name: 'ReportForkVotingUnsigned';
10344
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
10345
+ }
10346
+ /**
10347
+ * Report future block voting equivocation. This method will verify the equivocation proof
10348
+ * and validate the given key ownership proof against the extracted offender.
10349
+ * If both are valid, the offence will be reported.
10350
+ **/
10351
+ | {
10352
+ name: 'ReportFutureBlockVoting';
10353
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
10354
+ }
10355
+ /**
10356
+ * Report future block voting equivocation. This method will verify the equivocation proof
10357
+ * and validate the given key ownership proof against the extracted offender.
10358
+ * If both are valid, the offence will be reported.
10359
+ *
10360
+ * This extrinsic must be called unsigned and it is expected that only
10361
+ * block authors will call it (validated in `ValidateUnsigned`), as such
10362
+ * if the block author is defined it will be defined as the equivocation
10363
+ * reporter.
10364
+ **/
10365
+ | {
10366
+ name: 'ReportFutureBlockVotingUnsigned';
10367
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
10368
+ };
10345
10369
 
10346
10370
  export type PalletBeefyCallLike =
10347
10371
  /**
@@ -10351,7 +10375,7 @@ export type PalletBeefyCallLike =
10351
10375
  * will be reported.
10352
10376
  **/
10353
10377
  | {
10354
- name: 'ReportEquivocation';
10378
+ name: 'ReportDoubleVoting';
10355
10379
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
10356
10380
  }
10357
10381
  /**
@@ -10366,7 +10390,7 @@ export type PalletBeefyCallLike =
10366
10390
  * reporter.
10367
10391
  **/
10368
10392
  | {
10369
- name: 'ReportEquivocationUnsigned';
10393
+ name: 'ReportDoubleVotingUnsigned';
10370
10394
  params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
10371
10395
  }
10372
10396
  /**
@@ -10375,7 +10399,53 @@ export type PalletBeefyCallLike =
10375
10399
  *
10376
10400
  * Note: `delay_in_blocks` has to be at least 1.
10377
10401
  **/
10378
- | { name: 'SetNewGenesis'; params: { delayInBlocks: number } };
10402
+ | { name: 'SetNewGenesis'; params: { delayInBlocks: number } }
10403
+ /**
10404
+ * Report fork voting equivocation. This method will verify the equivocation proof
10405
+ * and validate the given key ownership proof against the extracted offender.
10406
+ * If both are valid, the offence will be reported.
10407
+ **/
10408
+ | {
10409
+ name: 'ReportForkVoting';
10410
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
10411
+ }
10412
+ /**
10413
+ * Report fork voting equivocation. This method will verify the equivocation proof
10414
+ * and validate the given key ownership proof against the extracted offender.
10415
+ * If both are valid, the offence will be reported.
10416
+ *
10417
+ * This extrinsic must be called unsigned and it is expected that only
10418
+ * block authors will call it (validated in `ValidateUnsigned`), as such
10419
+ * if the block author is defined it will be defined as the equivocation
10420
+ * reporter.
10421
+ **/
10422
+ | {
10423
+ name: 'ReportForkVotingUnsigned';
10424
+ params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
10425
+ }
10426
+ /**
10427
+ * Report future block voting equivocation. This method will verify the equivocation proof
10428
+ * and validate the given key ownership proof against the extracted offender.
10429
+ * If both are valid, the offence will be reported.
10430
+ **/
10431
+ | {
10432
+ name: 'ReportFutureBlockVoting';
10433
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
10434
+ }
10435
+ /**
10436
+ * Report future block voting equivocation. This method will verify the equivocation proof
10437
+ * and validate the given key ownership proof against the extracted offender.
10438
+ * If both are valid, the offence will be reported.
10439
+ *
10440
+ * This extrinsic must be called unsigned and it is expected that only
10441
+ * block authors will call it (validated in `ValidateUnsigned`), as such
10442
+ * if the block author is defined it will be defined as the equivocation
10443
+ * reporter.
10444
+ **/
10445
+ | {
10446
+ name: 'ReportFutureBlockVotingUnsigned';
10447
+ params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
10448
+ };
10379
10449
 
10380
10450
  export type SpConsensusBeefyDoubleVotingProof = {
10381
10451
  first: SpConsensusBeefyVoteMessage;
@@ -10398,6 +10468,21 @@ export type SpConsensusBeefyCommitment = {
10398
10468
 
10399
10469
  export type SpConsensusBeefyPayload = Array<[FixedBytes<2>, Bytes]>;
10400
10470
 
10471
+ export type SpConsensusBeefyForkVotingProof = {
10472
+ vote: SpConsensusBeefyVoteMessage;
10473
+ ancestryProof: SpMmrPrimitivesAncestryProof;
10474
+ header: Header;
10475
+ };
10476
+
10477
+ export type SpMmrPrimitivesAncestryProof = {
10478
+ prevPeaks: Array<H256>;
10479
+ prevLeafCount: bigint;
10480
+ leafCount: bigint;
10481
+ items: Array<[bigint, H256]>;
10482
+ };
10483
+
10484
+ export type SpConsensusBeefyFutureBlockVotingProof = { vote: SpConsensusBeefyVoteMessage };
10485
+
10401
10486
  export type SpRuntimeBlakeTwo256 = {};
10402
10487
 
10403
10488
  export type PalletConvictionVotingTally = { ayes: bigint; nays: bigint; support: bigint };
@@ -10426,59 +10511,6 @@ export type SpRuntimeDispatchErrorWithPostInfo = {
10426
10511
  error: DispatchError;
10427
10512
  };
10428
10513
 
10429
- /**
10430
- * The `Event` enum of this pallet
10431
- **/
10432
- export type PalletParametersEvent =
10433
- /**
10434
- * A Parameter was set.
10435
- *
10436
- * Is also emitted when the value was not changed.
10437
- **/
10438
- {
10439
- name: 'Updated';
10440
- data: {
10441
- /**
10442
- * The key that was updated.
10443
- **/
10444
- key: PolkadotRuntimeRuntimeParametersKey;
10445
-
10446
- /**
10447
- * The old value before this call.
10448
- **/
10449
- oldValue?: PolkadotRuntimeRuntimeParametersValue | undefined;
10450
-
10451
- /**
10452
- * The new value after this call.
10453
- **/
10454
- newValue?: PolkadotRuntimeRuntimeParametersValue | undefined;
10455
- };
10456
- };
10457
-
10458
- export type PolkadotRuntimeRuntimeParametersKey = {
10459
- type: 'Inflation';
10460
- value: PolkadotRuntimeDynamicParamsInflationParametersKey;
10461
- };
10462
-
10463
- export type PolkadotRuntimeDynamicParamsInflationParametersKey =
10464
- | { type: 'MinInflation'; value: PolkadotRuntimeDynamicParamsInflationMinInflation }
10465
- | { type: 'MaxInflation'; value: PolkadotRuntimeDynamicParamsInflationMaxInflation }
10466
- | { type: 'IdealStake'; value: PolkadotRuntimeDynamicParamsInflationIdealStake }
10467
- | { type: 'Falloff'; value: PolkadotRuntimeDynamicParamsInflationFalloff }
10468
- | { type: 'UseAuctionSlots'; value: PolkadotRuntimeDynamicParamsInflationUseAuctionSlots };
10469
-
10470
- export type PolkadotRuntimeRuntimeParametersValue = {
10471
- type: 'Inflation';
10472
- value: PolkadotRuntimeDynamicParamsInflationParametersValue;
10473
- };
10474
-
10475
- export type PolkadotRuntimeDynamicParamsInflationParametersValue =
10476
- | { type: 'MinInflation'; value: Perquintill }
10477
- | { type: 'MaxInflation'; value: Perquintill }
10478
- | { type: 'IdealStake'; value: Perquintill }
10479
- | { type: 'Falloff'; value: Perquintill }
10480
- | { type: 'UseAuctionSlots'; value: boolean };
10481
-
10482
10514
  /**
10483
10515
  * The `Event` enum of this pallet
10484
10516
  **/
@@ -10810,8 +10842,10 @@ export type PalletNominationPoolsEvent =
10810
10842
  * A member has been removed from a pool.
10811
10843
  *
10812
10844
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
10845
+ * Any funds that are still delegated (i.e. dangling delegation) are released and are
10846
+ * represented by `released_balance`.
10813
10847
  **/
10814
- | { name: 'MemberRemoved'; data: { poolId: number; member: AccountId32 } }
10848
+ | { name: 'MemberRemoved'; data: { poolId: number; member: AccountId32; releasedBalance: bigint } }
10815
10849
  /**
10816
10850
  * The roles of a pool have been updated to the given new roles. Note that the depositor
10817
10851
  * can never change.
@@ -10891,6 +10925,27 @@ export type PalletFastUnstakeEvent =
10891
10925
  **/
10892
10926
  | { name: 'InternalError' };
10893
10927
 
10928
+ /**
10929
+ * The `Event` enum of this pallet
10930
+ **/
10931
+ export type PalletDelegatedStakingEvent =
10932
+ /**
10933
+ * Funds delegated by a delegator.
10934
+ **/
10935
+ | { name: 'Delegated'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
10936
+ /**
10937
+ * Funds released to a delegator.
10938
+ **/
10939
+ | { name: 'Released'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
10940
+ /**
10941
+ * Funds slashed from a delegator.
10942
+ **/
10943
+ | { name: 'Slashed'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } }
10944
+ /**
10945
+ * Unclaimed delegation funds migrated to delegator.
10946
+ **/
10947
+ | { name: 'MigratedDelegation'; data: { agent: AccountId32; delegator: AccountId32; amount: bigint } };
10948
+
10894
10949
  /**
10895
10950
  * The `Event` enum of this pallet
10896
10951
  **/
@@ -10901,10 +10956,10 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
10901
10956
  | {
10902
10957
  name: 'CandidateBacked';
10903
10958
  data: [
10904
- PolkadotPrimitivesV7CandidateReceipt,
10959
+ PolkadotPrimitivesV8CandidateReceipt,
10905
10960
  PolkadotParachainPrimitivesPrimitivesHeadData,
10906
- PolkadotPrimitivesV7CoreIndex,
10907
- PolkadotPrimitivesV7GroupIndex,
10961
+ PolkadotPrimitivesV8CoreIndex,
10962
+ PolkadotPrimitivesV8GroupIndex,
10908
10963
  ];
10909
10964
  }
10910
10965
  /**
@@ -10913,10 +10968,10 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
10913
10968
  | {
10914
10969
  name: 'CandidateIncluded';
10915
10970
  data: [
10916
- PolkadotPrimitivesV7CandidateReceipt,
10971
+ PolkadotPrimitivesV8CandidateReceipt,
10917
10972
  PolkadotParachainPrimitivesPrimitivesHeadData,
10918
- PolkadotPrimitivesV7CoreIndex,
10919
- PolkadotPrimitivesV7GroupIndex,
10973
+ PolkadotPrimitivesV8CoreIndex,
10974
+ PolkadotPrimitivesV8GroupIndex,
10920
10975
  ];
10921
10976
  }
10922
10977
  /**
@@ -10925,9 +10980,9 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
10925
10980
  | {
10926
10981
  name: 'CandidateTimedOut';
10927
10982
  data: [
10928
- PolkadotPrimitivesV7CandidateReceipt,
10983
+ PolkadotPrimitivesV8CandidateReceipt,
10929
10984
  PolkadotParachainPrimitivesPrimitivesHeadData,
10930
- PolkadotPrimitivesV7CoreIndex,
10985
+ PolkadotPrimitivesV8CoreIndex,
10931
10986
  ];
10932
10987
  }
10933
10988
  /**
@@ -10935,14 +10990,14 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
10935
10990
  **/
10936
10991
  | { name: 'UpwardMessagesReceived'; data: { from: PolkadotParachainPrimitivesPrimitivesId; count: number } };
10937
10992
 
10938
- export type PolkadotPrimitivesV7CandidateReceipt = {
10939
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
10993
+ export type PolkadotPrimitivesV8CandidateReceipt = {
10994
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
10940
10995
  commitmentsHash: H256;
10941
10996
  };
10942
10997
 
10943
- export type PolkadotPrimitivesV7CoreIndex = number;
10998
+ export type PolkadotPrimitivesV8CoreIndex = number;
10944
10999
 
10945
- export type PolkadotPrimitivesV7GroupIndex = number;
11000
+ export type PolkadotPrimitivesV8GroupIndex = number;
10946
11001
 
10947
11002
  /**
10948
11003
  * The `Event` enum of this pallet
@@ -11102,7 +11157,7 @@ export type PolkadotRuntimeParachainsDisputesDisputeResult = 'Valid' | 'Invalid'
11102
11157
  /**
11103
11158
  * The `Event` enum of this pallet
11104
11159
  **/
11105
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletEvent =
11160
+ export type PolkadotRuntimeParachainsOnDemandPalletEvent =
11106
11161
  /**
11107
11162
  * An order was placed at some spot price amount by orderer ordered_by
11108
11163
  **/
@@ -11264,7 +11319,7 @@ export type PolkadotRuntimeParachainsCoretimePalletEvent =
11264
11319
  /**
11265
11320
  * A core has received a new assignment from the broker chain.
11266
11321
  **/
11267
- | { name: 'CoreAssigned'; data: { core: PolkadotPrimitivesV7CoreIndex } };
11322
+ | { name: 'CoreAssigned'; data: { core: PolkadotPrimitivesV8CoreIndex } };
11268
11323
 
11269
11324
  /**
11270
11325
  * Inner events of this pallet.
@@ -11800,11 +11855,7 @@ export type PalletPreimageError =
11800
11855
  /**
11801
11856
  * Too few hashes were requested to be upgraded (i.e. zero).
11802
11857
  **/
11803
- | 'TooFew'
11804
- /**
11805
- * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
11806
- **/
11807
- | 'NoCost';
11858
+ | 'TooFew';
11808
11859
 
11809
11860
  export type SpConsensusBabeDigestsPreDigest =
11810
11861
  | { type: 'Primary'; value: SpConsensusBabeDigestsPrimaryPreDigest }
@@ -11885,10 +11936,13 @@ export type FrameSupportTokensMiscIdAmount = { id: PolkadotRuntimeRuntimeHoldRea
11885
11936
 
11886
11937
  export type PolkadotRuntimeRuntimeHoldReason =
11887
11938
  | { type: 'Preimage'; value: PalletPreimageHoldReason }
11939
+ | { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
11888
11940
  | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason };
11889
11941
 
11890
11942
  export type PalletPreimageHoldReason = 'Preimage';
11891
11943
 
11944
+ export type PalletDelegatedStakingHoldReason = 'StakingDelegation';
11945
+
11892
11946
  export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
11893
11947
 
11894
11948
  export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = {
@@ -13047,6 +13101,10 @@ export type PalletNominationPoolsError =
13047
13101
  * No slash pending that can be applied to the member.
13048
13102
  **/
13049
13103
  | { name: 'NothingToSlash' }
13104
+ /**
13105
+ * The slash amount is too low to be applied.
13106
+ **/
13107
+ | { name: 'SlashTooLow' }
13050
13108
  /**
13051
13109
  * The pool or member delegation has already migrated to delegate stake.
13052
13110
  **/
@@ -13102,6 +13160,72 @@ export type PalletFastUnstakeError =
13102
13160
  **/
13103
13161
  | 'CallNotAllowed';
13104
13162
 
13163
+ export type PalletDelegatedStakingDelegation = { agent: AccountId32; amount: bigint };
13164
+
13165
+ export type PalletDelegatedStakingAgentLedger = {
13166
+ payee: AccountId32;
13167
+ totalDelegated: bigint;
13168
+ unclaimedWithdrawals: bigint;
13169
+ pendingSlash: bigint;
13170
+ };
13171
+
13172
+ /**
13173
+ * The `Error` enum of this pallet.
13174
+ **/
13175
+ export type PalletDelegatedStakingError =
13176
+ /**
13177
+ * The account cannot perform this operation.
13178
+ **/
13179
+ | 'NotAllowed'
13180
+ /**
13181
+ * An existing staker cannot perform this action.
13182
+ **/
13183
+ | 'AlreadyStaking'
13184
+ /**
13185
+ * Reward Destination cannot be same as `Agent` account.
13186
+ **/
13187
+ | 'InvalidRewardDestination'
13188
+ /**
13189
+ * Delegation conditions are not met.
13190
+ *
13191
+ * Possible issues are
13192
+ * 1) Cannot delegate to self,
13193
+ * 2) Cannot delegate to multiple delegates.
13194
+ **/
13195
+ | 'InvalidDelegation'
13196
+ /**
13197
+ * The account does not have enough funds to perform the operation.
13198
+ **/
13199
+ | 'NotEnoughFunds'
13200
+ /**
13201
+ * Not an existing `Agent` account.
13202
+ **/
13203
+ | 'NotAgent'
13204
+ /**
13205
+ * Not a Delegator account.
13206
+ **/
13207
+ | 'NotDelegator'
13208
+ /**
13209
+ * Some corruption in internal state.
13210
+ **/
13211
+ | 'BadState'
13212
+ /**
13213
+ * Unapplied pending slash restricts operation on `Agent`.
13214
+ **/
13215
+ | 'UnappliedSlash'
13216
+ /**
13217
+ * `Agent` has no pending slash to be applied.
13218
+ **/
13219
+ | 'NothingToSlash'
13220
+ /**
13221
+ * Failed to withdraw amount from Core Staking.
13222
+ **/
13223
+ | 'WithdrawFailed'
13224
+ /**
13225
+ * Operation not supported by this pallet.
13226
+ **/
13227
+ | 'NotSupported';
13228
+
13105
13229
  export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
13106
13230
  maxCodeSize: number;
13107
13231
  maxHeadDataSize: number;
@@ -13112,7 +13236,7 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
13112
13236
  hrmpMaxMessageNumPerCandidate: number;
13113
13237
  validationUpgradeCooldown: number;
13114
13238
  validationUpgradeDelay: number;
13115
- asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams;
13239
+ asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
13116
13240
  maxPovSize: number;
13117
13241
  maxDownwardMessageSize: number;
13118
13242
  hrmpMaxParachainOutboundChannels: number;
@@ -13122,7 +13246,7 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
13122
13246
  hrmpChannelMaxTotalSize: number;
13123
13247
  hrmpMaxParachainInboundChannels: number;
13124
13248
  hrmpChannelMaxMessageSize: number;
13125
- executorParams: PolkadotPrimitivesV7ExecutorParams;
13249
+ executorParams: PolkadotPrimitivesV8ExecutorParams;
13126
13250
  codeRetentionPeriod: number;
13127
13251
  maxValidators?: number | undefined;
13128
13252
  disputePeriod: number;
@@ -13136,8 +13260,8 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
13136
13260
  minimumValidationUpgradeDelay: number;
13137
13261
  minimumBackingVotes: number;
13138
13262
  nodeFeatures: BitSequence;
13139
- approvalVotingParams: PolkadotPrimitivesV7ApprovalVotingParams;
13140
- schedulerParams: PolkadotPrimitivesVstagingSchedulerParams;
13263
+ approvalVotingParams: PolkadotPrimitivesV8ApprovalVotingParams;
13264
+ schedulerParams: PolkadotPrimitivesV8SchedulerParams;
13141
13265
  };
13142
13266
 
13143
13267
  /**
@@ -13155,15 +13279,15 @@ export type PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker = {
13155
13279
  };
13156
13280
 
13157
13281
  export type PolkadotRuntimeParachainsInclusionCandidatePendingAvailability = {
13158
- core: PolkadotPrimitivesV7CoreIndex;
13282
+ core: PolkadotPrimitivesV8CoreIndex;
13159
13283
  hash: PolkadotCorePrimitivesCandidateHash;
13160
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
13161
- commitments: PolkadotPrimitivesV7CandidateCommitments;
13284
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
13285
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
13162
13286
  availabilityVotes: BitSequence;
13163
13287
  backers: BitSequence;
13164
13288
  relayParentNumber: number;
13165
13289
  backedInNumber: number;
13166
- backingGroup: PolkadotPrimitivesV7GroupIndex;
13290
+ backingGroup: PolkadotPrimitivesV8GroupIndex;
13167
13291
  };
13168
13292
 
13169
13293
  /**
@@ -13212,10 +13336,6 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
13212
13336
  * Invalid (bad signature, unknown validator, etc.) backing.
13213
13337
  **/
13214
13338
  | 'InvalidBacking'
13215
- /**
13216
- * Collator did not sign PoV.
13217
- **/
13218
- | 'NotCollatorSigned'
13219
13339
  /**
13220
13340
  * The validation data hash does not match expected.
13221
13341
  **/
@@ -13246,15 +13366,15 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
13246
13366
  **/
13247
13367
  | 'ParaHeadMismatch';
13248
13368
 
13249
- export type PolkadotPrimitivesV7ScrapedOnChainVotes = {
13369
+ export type PolkadotPrimitivesV8ScrapedOnChainVotes = {
13250
13370
  session: number;
13251
13371
  backingValidatorsPerCandidate: Array<
13252
13372
  [
13253
- PolkadotPrimitivesV7CandidateReceipt,
13254
- Array<[PolkadotPrimitivesV7ValidatorIndex, PolkadotPrimitivesV7ValidityAttestation]>,
13373
+ PolkadotPrimitivesV8CandidateReceipt,
13374
+ Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidityAttestation]>,
13255
13375
  ]
13256
13376
  >;
13257
- disputes: Array<PolkadotPrimitivesV7DisputeStatementSet>;
13377
+ disputes: Array<PolkadotPrimitivesV8DisputeStatementSet>;
13258
13378
  };
13259
13379
 
13260
13380
  /**
@@ -13297,7 +13417,7 @@ export type PolkadotRuntimeParachainsSchedulerPalletParasEntry = {
13297
13417
  export type PolkadotRuntimeParachainsSchedulerCommonAssignment =
13298
13418
  | {
13299
13419
  type: 'Pool';
13300
- value: { paraId: PolkadotParachainPrimitivesPrimitivesId; coreIndex: PolkadotPrimitivesV7CoreIndex };
13420
+ value: { paraId: PolkadotParachainPrimitivesPrimitivesId; coreIndex: PolkadotPrimitivesV8CoreIndex };
13301
13421
  }
13302
13422
  | { type: 'Bulk'; value: PolkadotParachainPrimitivesPrimitivesId };
13303
13423
 
@@ -13338,9 +13458,9 @@ export type PolkadotRuntimeParachainsParasParaPastCodeMeta = {
13338
13458
 
13339
13459
  export type PolkadotRuntimeParachainsParasReplacementTimes = { expectedAt: number; activatedAt: number };
13340
13460
 
13341
- export type PolkadotPrimitivesV7UpgradeGoAhead = 'Abort' | 'GoAhead';
13461
+ export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
13342
13462
 
13343
- export type PolkadotPrimitivesV7UpgradeRestriction = 'Present';
13463
+ export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
13344
13464
 
13345
13465
  export type PolkadotRuntimeParachainsParasParaGenesisArgs = {
13346
13466
  genesisHead: PolkadotParachainPrimitivesPrimitivesHeadData;
@@ -13406,8 +13526,8 @@ export type PolkadotRuntimeParachainsParasPalletError =
13406
13526
  | 'InvalidCode';
13407
13527
 
13408
13528
  export type PolkadotRuntimeParachainsInitializerBufferedSessionChange = {
13409
- validators: Array<PolkadotPrimitivesV7ValidatorAppPublic>;
13410
- queued: Array<PolkadotPrimitivesV7ValidatorAppPublic>;
13529
+ validators: Array<PolkadotPrimitivesV8ValidatorAppPublic>;
13530
+ queued: Array<PolkadotPrimitivesV8ValidatorAppPublic>;
13411
13531
  sessionIndex: number;
13412
13532
  };
13413
13533
 
@@ -13520,14 +13640,14 @@ export type PolkadotRuntimeParachainsHrmpPalletError =
13520
13640
  **/
13521
13641
  | 'ChannelCreationNotAuthorized';
13522
13642
 
13523
- export type PolkadotPrimitivesV7SessionInfo = {
13524
- activeValidatorIndices: Array<PolkadotPrimitivesV7ValidatorIndex>;
13643
+ export type PolkadotPrimitivesV8SessionInfo = {
13644
+ activeValidatorIndices: Array<PolkadotPrimitivesV8ValidatorIndex>;
13525
13645
  randomSeed: FixedBytes<32>;
13526
13646
  disputePeriod: number;
13527
- validators: PolkadotPrimitivesV7IndexedVec;
13647
+ validators: PolkadotPrimitivesV8IndexedVec;
13528
13648
  discoveryKeys: Array<SpAuthorityDiscoveryAppPublic>;
13529
- assignmentKeys: Array<PolkadotPrimitivesV7AssignmentAppPublic>;
13530
- validatorGroups: PolkadotPrimitivesV7IndexedVecGroupIndex;
13649
+ assignmentKeys: Array<PolkadotPrimitivesV8AssignmentAppPublic>;
13650
+ validatorGroups: PolkadotPrimitivesV8IndexedVecGroupIndex;
13531
13651
  nCores: number;
13532
13652
  zerothDelayTrancheWidth: number;
13533
13653
  relayVrfModuloSamples: number;
@@ -13536,11 +13656,11 @@ export type PolkadotPrimitivesV7SessionInfo = {
13536
13656
  neededApprovals: number;
13537
13657
  };
13538
13658
 
13539
- export type PolkadotPrimitivesV7IndexedVec = Array<PolkadotPrimitivesV7ValidatorAppPublic>;
13659
+ export type PolkadotPrimitivesV8IndexedVec = Array<PolkadotPrimitivesV8ValidatorAppPublic>;
13540
13660
 
13541
- export type PolkadotPrimitivesV7IndexedVecGroupIndex = Array<Array<PolkadotPrimitivesV7ValidatorIndex>>;
13661
+ export type PolkadotPrimitivesV8IndexedVecGroupIndex = Array<Array<PolkadotPrimitivesV8ValidatorIndex>>;
13542
13662
 
13543
- export type PolkadotPrimitivesV7DisputeState = {
13663
+ export type PolkadotPrimitivesV8DisputeState = {
13544
13664
  validatorsFor: BitSequence;
13545
13665
  validatorsAgainst: BitSequence;
13546
13666
  start: number;
@@ -13588,9 +13708,9 @@ export type PolkadotRuntimeParachainsDisputesPalletError =
13588
13708
  **/
13589
13709
  | 'UnconfirmedDispute';
13590
13710
 
13591
- export type PolkadotPrimitivesV7SlashingPendingSlashes = {
13592
- keys: Array<[PolkadotPrimitivesV7ValidatorIndex, PolkadotPrimitivesV7ValidatorAppPublic]>;
13593
- kind: PolkadotPrimitivesV7SlashingSlashingOffenceKind;
13711
+ export type PolkadotPrimitivesV8SlashingPendingSlashes = {
13712
+ keys: Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidatorAppPublic]>;
13713
+ kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
13594
13714
  };
13595
13715
 
13596
13716
  /**
@@ -13623,35 +13743,35 @@ export type PolkadotRuntimeParachainsDisputesSlashingPalletError =
13623
13743
  **/
13624
13744
  | 'DuplicateSlashingReport';
13625
13745
 
13626
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount = {
13627
- coreIndex: PolkadotPrimitivesV7CoreIndex;
13746
+ export type PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount = {
13747
+ coreIndex: PolkadotPrimitivesV8CoreIndex;
13628
13748
  count: number;
13629
13749
  };
13630
13750
 
13631
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType = {
13751
+ export type PolkadotRuntimeParachainsOnDemandTypesQueueStatusType = {
13632
13752
  traffic: FixedU128;
13633
- nextIndex: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
13634
- smallestIndex: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
13753
+ nextIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
13754
+ smallestIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
13635
13755
  freedIndices: BinaryHeap;
13636
13756
  };
13637
13757
 
13638
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex = number;
13758
+ export type PolkadotRuntimeParachainsOnDemandTypesQueueIndex = number;
13639
13759
 
13640
- export type BinaryHeap = Array<PolkadotRuntimeParachainsAssignerOnDemandTypesReverseQueueIndex>;
13760
+ export type BinaryHeap = Array<PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex>;
13641
13761
 
13642
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesReverseQueueIndex = number;
13762
+ export type PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex = number;
13643
13763
 
13644
- export type BinaryHeapEnqueuedOrder = Array<PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder>;
13764
+ export type BinaryHeapEnqueuedOrder = Array<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>;
13645
13765
 
13646
- export type PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder = {
13766
+ export type PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder = {
13647
13767
  paraId: PolkadotParachainPrimitivesPrimitivesId;
13648
- idx: PolkadotRuntimeParachainsAssignerOnDemandTypesQueueIndex;
13768
+ idx: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
13649
13769
  };
13650
13770
 
13651
13771
  /**
13652
13772
  * The `Error` enum of this pallet.
13653
13773
  **/
13654
- export type PolkadotRuntimeParachainsAssignerOnDemandPalletError =
13774
+ export type PolkadotRuntimeParachainsOnDemandPalletError =
13655
13775
  /**
13656
13776
  * The order queue is full, `place_order` will not continue.
13657
13777
  **/
@@ -14198,9 +14318,21 @@ export type PalletBeefyError =
14198
14318
  **/
14199
14319
  | 'InvalidKeyOwnershipProof'
14200
14320
  /**
14201
- * An equivocation proof provided as part of an equivocation report is invalid.
14321
+ * A double voting proof provided as part of an equivocation report is invalid.
14202
14322
  **/
14203
- | 'InvalidEquivocationProof'
14323
+ | 'InvalidDoubleVotingProof'
14324
+ /**
14325
+ * A fork voting proof provided as part of an equivocation report is invalid.
14326
+ **/
14327
+ | 'InvalidForkVotingProof'
14328
+ /**
14329
+ * A future block voting proof provided as part of an equivocation report is invalid.
14330
+ **/
14331
+ | 'InvalidFutureBlockVotingProof'
14332
+ /**
14333
+ * The session of the equivocation proof is invalid
14334
+ **/
14335
+ | 'InvalidEquivocationProofSession'
14204
14336
  /**
14205
14337
  * A given equivocation report is valid but already previously reported.
14206
14338
  **/
@@ -14280,78 +14412,78 @@ export type SpRuntimeTransactionValidityValidTransaction = {
14280
14412
  propagate: boolean;
14281
14413
  };
14282
14414
 
14283
- export type PolkadotPrimitivesV7GroupRotationInfo = {
14415
+ export type PolkadotPrimitivesV8GroupRotationInfo = {
14284
14416
  sessionStartBlock: number;
14285
14417
  groupRotationFrequency: number;
14286
14418
  now: number;
14287
14419
  };
14288
14420
 
14289
- export type PolkadotPrimitivesV7CoreState =
14290
- | { type: 'Occupied'; value: PolkadotPrimitivesV7OccupiedCore }
14291
- | { type: 'Scheduled'; value: PolkadotPrimitivesV7ScheduledCore }
14421
+ export type PolkadotPrimitivesV8CoreState =
14422
+ | { type: 'Occupied'; value: PolkadotPrimitivesV8OccupiedCore }
14423
+ | { type: 'Scheduled'; value: PolkadotPrimitivesV8ScheduledCore }
14292
14424
  | { type: 'Free' };
14293
14425
 
14294
- export type PolkadotPrimitivesV7OccupiedCore = {
14295
- nextUpOnAvailable?: PolkadotPrimitivesV7ScheduledCore | undefined;
14426
+ export type PolkadotPrimitivesV8OccupiedCore = {
14427
+ nextUpOnAvailable?: PolkadotPrimitivesV8ScheduledCore | undefined;
14296
14428
  occupiedSince: number;
14297
14429
  timeOutAt: number;
14298
- nextUpOnTimeOut?: PolkadotPrimitivesV7ScheduledCore | undefined;
14430
+ nextUpOnTimeOut?: PolkadotPrimitivesV8ScheduledCore | undefined;
14299
14431
  availability: BitSequence;
14300
- groupResponsible: PolkadotPrimitivesV7GroupIndex;
14432
+ groupResponsible: PolkadotPrimitivesV8GroupIndex;
14301
14433
  candidateHash: PolkadotCorePrimitivesCandidateHash;
14302
- candidateDescriptor: PolkadotPrimitivesV7CandidateDescriptor;
14434
+ candidateDescriptor: PolkadotPrimitivesV8CandidateDescriptor;
14303
14435
  };
14304
14436
 
14305
- export type PolkadotPrimitivesV7ScheduledCore = {
14437
+ export type PolkadotPrimitivesV8ScheduledCore = {
14306
14438
  paraId: PolkadotParachainPrimitivesPrimitivesId;
14307
- collator?: PolkadotPrimitivesV7CollatorAppPublic | undefined;
14439
+ collator?: PolkadotPrimitivesV8CollatorAppPublic | undefined;
14308
14440
  };
14309
14441
 
14310
- export type PolkadotPrimitivesV7OccupiedCoreAssumption = 'Included' | 'TimedOut' | 'Free';
14442
+ export type PolkadotPrimitivesV8OccupiedCoreAssumption = 'Included' | 'TimedOut' | 'Free';
14311
14443
 
14312
- export type PolkadotPrimitivesV7PersistedValidationData = {
14444
+ export type PolkadotPrimitivesV8PersistedValidationData = {
14313
14445
  parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
14314
14446
  relayParentNumber: number;
14315
14447
  relayParentStorageRoot: H256;
14316
14448
  maxPovSize: number;
14317
14449
  };
14318
14450
 
14319
- export type PolkadotPrimitivesV7CandidateEvent =
14451
+ export type PolkadotPrimitivesV8CandidateEvent =
14320
14452
  | {
14321
14453
  type: 'CandidateBacked';
14322
14454
  value: [
14323
- PolkadotPrimitivesV7CandidateReceipt,
14455
+ PolkadotPrimitivesV8CandidateReceipt,
14324
14456
  PolkadotParachainPrimitivesPrimitivesHeadData,
14325
- PolkadotPrimitivesV7CoreIndex,
14326
- PolkadotPrimitivesV7GroupIndex,
14457
+ PolkadotPrimitivesV8CoreIndex,
14458
+ PolkadotPrimitivesV8GroupIndex,
14327
14459
  ];
14328
14460
  }
14329
14461
  | {
14330
14462
  type: 'CandidateIncluded';
14331
14463
  value: [
14332
- PolkadotPrimitivesV7CandidateReceipt,
14464
+ PolkadotPrimitivesV8CandidateReceipt,
14333
14465
  PolkadotParachainPrimitivesPrimitivesHeadData,
14334
- PolkadotPrimitivesV7CoreIndex,
14335
- PolkadotPrimitivesV7GroupIndex,
14466
+ PolkadotPrimitivesV8CoreIndex,
14467
+ PolkadotPrimitivesV8GroupIndex,
14336
14468
  ];
14337
14469
  }
14338
14470
  | {
14339
14471
  type: 'CandidateTimedOut';
14340
14472
  value: [
14341
- PolkadotPrimitivesV7CandidateReceipt,
14473
+ PolkadotPrimitivesV8CandidateReceipt,
14342
14474
  PolkadotParachainPrimitivesPrimitivesHeadData,
14343
- PolkadotPrimitivesV7CoreIndex,
14475
+ PolkadotPrimitivesV8CoreIndex,
14344
14476
  ];
14345
14477
  };
14346
14478
 
14347
- export type PolkadotPrimitivesV7SlashingOpaqueKeyOwnershipProof = Bytes;
14479
+ export type PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof = Bytes;
14348
14480
 
14349
- export type PolkadotPrimitivesV7AsyncBackingBackingState = {
14350
- constraints: PolkadotPrimitivesV7AsyncBackingConstraints;
14351
- pendingAvailability: Array<PolkadotPrimitivesV7AsyncBackingCandidatePendingAvailability>;
14481
+ export type PolkadotPrimitivesV8AsyncBackingBackingState = {
14482
+ constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
14483
+ pendingAvailability: Array<PolkadotPrimitivesV8AsyncBackingCandidatePendingAvailability>;
14352
14484
  };
14353
14485
 
14354
- export type PolkadotPrimitivesV7AsyncBackingConstraints = {
14486
+ export type PolkadotPrimitivesV8AsyncBackingConstraints = {
14355
14487
  minRelayParentNumber: number;
14356
14488
  maxPovSize: number;
14357
14489
  maxCodeSize: number;
@@ -14359,28 +14491,28 @@ export type PolkadotPrimitivesV7AsyncBackingConstraints = {
14359
14491
  umpRemainingBytes: number;
14360
14492
  maxUmpNumPerCandidate: number;
14361
14493
  dmpRemainingMessages: Array<number>;
14362
- hrmpInbound: PolkadotPrimitivesV7AsyncBackingInboundHrmpLimitations;
14494
+ hrmpInbound: PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations;
14363
14495
  hrmpChannelsOut: Array<
14364
- [PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV7AsyncBackingOutboundHrmpChannelLimitations]
14496
+ [PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations]
14365
14497
  >;
14366
14498
  maxHrmpNumPerCandidate: number;
14367
14499
  requiredParent: PolkadotParachainPrimitivesPrimitivesHeadData;
14368
14500
  validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
14369
- upgradeRestriction?: PolkadotPrimitivesV7UpgradeRestriction | undefined;
14501
+ upgradeRestriction?: PolkadotPrimitivesV8UpgradeRestriction | undefined;
14370
14502
  futureValidationCode?: [number, PolkadotParachainPrimitivesPrimitivesValidationCodeHash] | undefined;
14371
14503
  };
14372
14504
 
14373
- export type PolkadotPrimitivesV7AsyncBackingInboundHrmpLimitations = { validWatermarks: Array<number> };
14505
+ export type PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations = { validWatermarks: Array<number> };
14374
14506
 
14375
- export type PolkadotPrimitivesV7AsyncBackingOutboundHrmpChannelLimitations = {
14507
+ export type PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations = {
14376
14508
  bytesRemaining: number;
14377
14509
  messagesRemaining: number;
14378
14510
  };
14379
14511
 
14380
- export type PolkadotPrimitivesV7AsyncBackingCandidatePendingAvailability = {
14512
+ export type PolkadotPrimitivesV8AsyncBackingCandidatePendingAvailability = {
14381
14513
  candidateHash: PolkadotCorePrimitivesCandidateHash;
14382
- descriptor: PolkadotPrimitivesV7CandidateDescriptor;
14383
- commitments: PolkadotPrimitivesV7CandidateCommitments;
14514
+ descriptor: PolkadotPrimitivesV8CandidateDescriptor;
14515
+ commitments: PolkadotPrimitivesV8CandidateCommitments;
14384
14516
  relayParentNumber: number;
14385
14517
  maxPovSize: number;
14386
14518
  };
@@ -14389,6 +14521,12 @@ export type SpConsensusBeefyValidatorSet = { validators: Array<SpConsensusBeefyE
14389
14521
 
14390
14522
  export type SpRuntimeOpaqueValue = Bytes;
14391
14523
 
14524
+ export type SpConsensusBeefyForkVotingProofOpaqueValue = {
14525
+ vote: SpConsensusBeefyVoteMessage;
14526
+ ancestryProof: SpRuntimeOpaqueValue;
14527
+ header: Header;
14528
+ };
14529
+
14392
14530
  export type SpMmrPrimitivesError =
14393
14531
  | 'InvalidNumericOp'
14394
14532
  | 'Push'
@@ -14488,6 +14626,7 @@ export type PolkadotRuntimeRuntimeError =
14488
14626
  | { pallet: 'VoterList'; palletError: PalletBagsListError }
14489
14627
  | { pallet: 'NominationPools'; palletError: PalletNominationPoolsError }
14490
14628
  | { pallet: 'FastUnstake'; palletError: PalletFastUnstakeError }
14629
+ | { pallet: 'DelegatedStaking'; palletError: PalletDelegatedStakingError }
14491
14630
  | { pallet: 'Configuration'; palletError: PolkadotRuntimeParachainsConfigurationPalletError }
14492
14631
  | { pallet: 'ParaInclusion'; palletError: PolkadotRuntimeParachainsInclusionPalletError }
14493
14632
  | { pallet: 'ParaInherent'; palletError: PolkadotRuntimeParachainsParasInherentPalletError }
@@ -14495,7 +14634,7 @@ export type PolkadotRuntimeRuntimeError =
14495
14634
  | { pallet: 'Hrmp'; palletError: PolkadotRuntimeParachainsHrmpPalletError }
14496
14635
  | { pallet: 'ParasDisputes'; palletError: PolkadotRuntimeParachainsDisputesPalletError }
14497
14636
  | { pallet: 'ParasSlashing'; palletError: PolkadotRuntimeParachainsDisputesSlashingPalletError }
14498
- | { pallet: 'OnDemand'; palletError: PolkadotRuntimeParachainsAssignerOnDemandPalletError }
14637
+ | { pallet: 'OnDemand'; palletError: PolkadotRuntimeParachainsOnDemandPalletError }
14499
14638
  | { pallet: 'CoretimeAssignmentProvider'; palletError: PolkadotRuntimeParachainsAssignerCoretimePalletError }
14500
14639
  | { pallet: 'Registrar'; palletError: PolkadotRuntimeCommonParasRegistrarPalletError }
14501
14640
  | { pallet: 'Slots'; palletError: PolkadotRuntimeCommonSlotsPalletError }