@dedot/chaintypes 0.59.0 → 0.61.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.
@@ -356,6 +356,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
356
356
  **/
357
357
  VirtualStakerNotAllowed: GenericPalletError<Rv>;
358
358
 
359
+ /**
360
+ * Account is restricted from participation in staking. This may happen if the account is
361
+ * staking in another way already, such as via pool.
362
+ **/
363
+ Restricted: GenericPalletError<Rv>;
364
+
359
365
  /**
360
366
  * Generic pallet error
361
367
  **/
@@ -1928,6 +1934,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1928
1934
  **/
1929
1935
  NotSupported: GenericPalletError<Rv>;
1930
1936
 
1937
+ /**
1938
+ * Account is restricted from participation in pools. This may happen if the account is
1939
+ * staking in another way already.
1940
+ **/
1941
+ Restricted: GenericPalletError<Rv>;
1942
+
1931
1943
  /**
1932
1944
  * Generic pallet error
1933
1945
  **/
package/kusama/index.d.ts CHANGED
@@ -23,7 +23,7 @@ export interface VersionedKusamaApi<Rv extends RpcVersion> extends GenericSubstr
23
23
 
24
24
  /**
25
25
  * @name: KusamaApi
26
- * @specVersion: 1004000
26
+ * @specVersion: 1004001
27
27
  **/
28
28
  export interface KusamaApi {
29
29
  legacy: VersionedKusamaApi<RpcLegacy>;
package/kusama/tx.d.ts CHANGED
@@ -1848,6 +1848,30 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
1848
1848
  >
1849
1849
  >;
1850
1850
 
1851
+ /**
1852
+ * Adjusts the staking ledger by withdrawing any excess staked amount.
1853
+ *
1854
+ * This function corrects cases where a user's recorded stake in the ledger
1855
+ * exceeds their actual staked funds. This situation can arise due to cases such as
1856
+ * external slashing by another pallet, leading to an inconsistency between the ledger
1857
+ * and the actual stake.
1858
+ *
1859
+ * @param {AccountId32Like} stash
1860
+ **/
1861
+ withdrawOverstake: GenericTxCall<
1862
+ Rv,
1863
+ (stash: AccountId32Like) => ChainSubmittableExtrinsic<
1864
+ Rv,
1865
+ {
1866
+ pallet: 'Staking';
1867
+ palletCall: {
1868
+ name: 'WithdrawOverstake';
1869
+ params: { stash: AccountId32Like };
1870
+ };
1871
+ }
1872
+ >
1873
+ >;
1874
+
1851
1875
  /**
1852
1876
  * Generic pallet tx call
1853
1877
  **/
@@ -7073,8 +7097,9 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7073
7097
  **/
7074
7098
  nominationPools: {
7075
7099
  /**
7076
- * Stake funds with a pool. The amount to bond is transferred from the member to the pool
7077
- * account and immediately increases the pools bond.
7100
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
7101
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
7102
+ * increases the pool's bond.
7078
7103
  *
7079
7104
  * The method of transferring the amount to the pool account is determined by
7080
7105
  * [`adapter::StakeStrategyType`]. If the pool is configured to use
package/kusama/types.d.ts CHANGED
@@ -2157,7 +2157,16 @@ export type PalletStakingPalletCall =
2157
2157
  maybeTotal?: bigint | undefined;
2158
2158
  maybeUnlocking?: Array<PalletStakingUnlockChunk> | undefined;
2159
2159
  };
2160
- };
2160
+ }
2161
+ /**
2162
+ * Adjusts the staking ledger by withdrawing any excess staked amount.
2163
+ *
2164
+ * This function corrects cases where a user's recorded stake in the ledger
2165
+ * exceeds their actual staked funds. This situation can arise due to cases such as
2166
+ * external slashing by another pallet, leading to an inconsistency between the ledger
2167
+ * and the actual stake.
2168
+ **/
2169
+ | { name: 'WithdrawOverstake'; params: { stash: AccountId32 } };
2161
2170
 
2162
2171
  export type PalletStakingPalletCallLike =
2163
2172
  /**
@@ -2603,7 +2612,16 @@ export type PalletStakingPalletCallLike =
2603
2612
  maybeTotal?: bigint | undefined;
2604
2613
  maybeUnlocking?: Array<PalletStakingUnlockChunk> | undefined;
2605
2614
  };
2606
- };
2615
+ }
2616
+ /**
2617
+ * Adjusts the staking ledger by withdrawing any excess staked amount.
2618
+ *
2619
+ * This function corrects cases where a user's recorded stake in the ledger
2620
+ * exceeds their actual staked funds. This situation can arise due to cases such as
2621
+ * external slashing by another pallet, leading to an inconsistency between the ledger
2622
+ * and the actual stake.
2623
+ **/
2624
+ | { name: 'WithdrawOverstake'; params: { stash: AccountId32Like } };
2607
2625
 
2608
2626
  export type PalletStakingPalletConfigOp = { type: 'Noop' } | { type: 'Set'; value: bigint } | { type: 'Remove' };
2609
2627
 
@@ -7037,8 +7055,9 @@ export type PalletBagsListCallLike =
7037
7055
  **/
7038
7056
  export type PalletNominationPoolsCall =
7039
7057
  /**
7040
- * Stake funds with a pool. The amount to bond is transferred from the member to the pool
7041
- * account and immediately increases the pools bond.
7058
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
7059
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
7060
+ * increases the pool's bond.
7042
7061
  *
7043
7062
  * The method of transferring the amount to the pool account is determined by
7044
7063
  * [`adapter::StakeStrategyType`]. If the pool is configured to use
@@ -7393,8 +7412,9 @@ export type PalletNominationPoolsCall =
7393
7412
 
7394
7413
  export type PalletNominationPoolsCallLike =
7395
7414
  /**
7396
- * Stake funds with a pool. The amount to bond is transferred from the member to the pool
7397
- * account and immediately increases the pools bond.
7415
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
7416
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
7417
+ * increases the pool's bond.
7398
7418
  *
7399
7419
  * The method of transferring the amount to the pool account is determined by
7400
7420
  * [`adapter::StakeStrategyType`]. If the pool is configured to use
@@ -13530,7 +13550,12 @@ export type PalletStakingPalletError =
13530
13550
  /**
13531
13551
  * Operation not allowed for virtual stakers.
13532
13552
  **/
13533
- | 'VirtualStakerNotAllowed';
13553
+ | 'VirtualStakerNotAllowed'
13554
+ /**
13555
+ * Account is restricted from participation in staking. This may happen if the account is
13556
+ * staking in another way already, such as via pool.
13557
+ **/
13558
+ | 'Restricted';
13534
13559
 
13535
13560
  export type SpStakingOffenceOffenceDetails = {
13536
13561
  offender: [AccountId32, SpStakingExposure];
@@ -14960,7 +14985,12 @@ export type PalletNominationPoolsError =
14960
14985
  /**
14961
14986
  * This call is not allowed in the current state of the pallet.
14962
14987
  **/
14963
- | { name: 'NotSupported' };
14988
+ | { name: 'NotSupported' }
14989
+ /**
14990
+ * Account is restricted from participation in pools. This may happen if the account is
14991
+ * staking in another way already.
14992
+ **/
14993
+ | { name: 'Restricted' };
14964
14994
 
14965
14995
  export type PalletNominationPoolsDefensiveError =
14966
14996
  | 'NotEnoughSpaceInUnbondPool'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.59.0",
3
+ "version": "0.61.0",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@coongcrafts.io>",
6
6
  "main": "",
@@ -19,7 +19,7 @@
19
19
  "directory": "dist"
20
20
  },
21
21
  "license": "Apache-2.0",
22
- "gitHead": "528c5bd34ea313357553c6983281a559dfd69fbf",
22
+ "gitHead": "9744f17440020a96d35bcf33686b00e9ac779666",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts"
25
25
  }
@@ -501,15 +501,6 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
501
501
  **/
502
502
  [name: string]: any;
503
503
  };
504
- /**
505
- * Pallet `Parameters`'s constants
506
- **/
507
- parameters: {
508
- /**
509
- * Generic pallet constant
510
- **/
511
- [name: string]: any;
512
- };
513
504
  /**
514
505
  * Pallet `Claims`'s constants
515
506
  **/
@@ -897,6 +888,25 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
897
888
  **/
898
889
  [name: string]: any;
899
890
  };
891
+ /**
892
+ * Pallet `DelegatedStaking`'s constants
893
+ **/
894
+ delegatedStaking: {
895
+ /**
896
+ * Injected identifier for the pallet.
897
+ **/
898
+ palletId: FrameSupportPalletId;
899
+
900
+ /**
901
+ * Fraction of the slash that is rewarded to the caller of pending slash to the agent.
902
+ **/
903
+ slashRewardFraction: Perbill;
904
+
905
+ /**
906
+ * Generic pallet constant
907
+ **/
908
+ [name: string]: any;
909
+ };
900
910
  /**
901
911
  * Pallet `ParachainsOrigin`'s constants
902
912
  **/
@@ -139,11 +139,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
139
139
  **/
140
140
  TooFew: GenericPalletError<Rv>;
141
141
 
142
- /**
143
- * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
144
- **/
145
- NoCost: GenericPalletError<Rv>;
146
-
147
142
  /**
148
143
  * Generic pallet error
149
144
  **/
@@ -1358,6 +1353,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1358
1353
  **/
1359
1354
  NothingToSlash: GenericPalletError<Rv>;
1360
1355
 
1356
+ /**
1357
+ * The slash amount is too low to be applied.
1358
+ **/
1359
+ SlashTooLow: GenericPalletError<Rv>;
1360
+
1361
1361
  /**
1362
1362
  * The pool or member delegation has already migrated to delegate stake.
1363
1363
  **/
@@ -1419,6 +1419,79 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1419
1419
  **/
1420
1420
  [error: string]: GenericPalletError<Rv>;
1421
1421
  };
1422
+ /**
1423
+ * Pallet `DelegatedStaking`'s errors
1424
+ **/
1425
+ delegatedStaking: {
1426
+ /**
1427
+ * The account cannot perform this operation.
1428
+ **/
1429
+ NotAllowed: GenericPalletError<Rv>;
1430
+
1431
+ /**
1432
+ * An existing staker cannot perform this action.
1433
+ **/
1434
+ AlreadyStaking: GenericPalletError<Rv>;
1435
+
1436
+ /**
1437
+ * Reward Destination cannot be same as `Agent` account.
1438
+ **/
1439
+ InvalidRewardDestination: GenericPalletError<Rv>;
1440
+
1441
+ /**
1442
+ * Delegation conditions are not met.
1443
+ *
1444
+ * Possible issues are
1445
+ * 1) Cannot delegate to self,
1446
+ * 2) Cannot delegate to multiple delegates.
1447
+ **/
1448
+ InvalidDelegation: GenericPalletError<Rv>;
1449
+
1450
+ /**
1451
+ * The account does not have enough funds to perform the operation.
1452
+ **/
1453
+ NotEnoughFunds: GenericPalletError<Rv>;
1454
+
1455
+ /**
1456
+ * Not an existing `Agent` account.
1457
+ **/
1458
+ NotAgent: GenericPalletError<Rv>;
1459
+
1460
+ /**
1461
+ * Not a Delegator account.
1462
+ **/
1463
+ NotDelegator: GenericPalletError<Rv>;
1464
+
1465
+ /**
1466
+ * Some corruption in internal state.
1467
+ **/
1468
+ BadState: GenericPalletError<Rv>;
1469
+
1470
+ /**
1471
+ * Unapplied pending slash restricts operation on `Agent`.
1472
+ **/
1473
+ UnappliedSlash: GenericPalletError<Rv>;
1474
+
1475
+ /**
1476
+ * `Agent` has no pending slash to be applied.
1477
+ **/
1478
+ NothingToSlash: GenericPalletError<Rv>;
1479
+
1480
+ /**
1481
+ * Failed to withdraw amount from Core Staking.
1482
+ **/
1483
+ WithdrawFailed: GenericPalletError<Rv>;
1484
+
1485
+ /**
1486
+ * Operation not supported by this pallet.
1487
+ **/
1488
+ NotSupported: GenericPalletError<Rv>;
1489
+
1490
+ /**
1491
+ * Generic pallet error
1492
+ **/
1493
+ [error: string]: GenericPalletError<Rv>;
1494
+ };
1422
1495
  /**
1423
1496
  * Pallet `Configuration`'s errors
1424
1497
  **/
@@ -1489,11 +1562,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1489
1562
  **/
1490
1563
  InvalidBacking: GenericPalletError<Rv>;
1491
1564
 
1492
- /**
1493
- * Collator did not sign PoV.
1494
- **/
1495
- NotCollatorSigned: GenericPalletError<Rv>;
1496
-
1497
1565
  /**
1498
1566
  * The validation data hash does not match expected.
1499
1567
  **/
@@ -2470,9 +2538,24 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2470
2538
  InvalidKeyOwnershipProof: GenericPalletError<Rv>;
2471
2539
 
2472
2540
  /**
2473
- * An equivocation proof provided as part of an equivocation report is invalid.
2541
+ * A double voting proof provided as part of an equivocation report is invalid.
2474
2542
  **/
2475
- InvalidEquivocationProof: GenericPalletError<Rv>;
2543
+ InvalidDoubleVotingProof: GenericPalletError<Rv>;
2544
+
2545
+ /**
2546
+ * A fork voting proof provided as part of an equivocation report is invalid.
2547
+ **/
2548
+ InvalidForkVotingProof: GenericPalletError<Rv>;
2549
+
2550
+ /**
2551
+ * A future block voting proof provided as part of an equivocation report is invalid.
2552
+ **/
2553
+ InvalidFutureBlockVotingProof: GenericPalletError<Rv>;
2554
+
2555
+ /**
2556
+ * The session of the equivocation proof is invalid
2557
+ **/
2558
+ InvalidEquivocationProofSession: GenericPalletError<Rv>;
2476
2559
 
2477
2560
  /**
2478
2561
  * A given equivocation report is valid but already previously reported.
@@ -21,12 +21,11 @@ import type {
21
21
  SpConsensusGrandpaAppPublic,
22
22
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
23
23
  XcmVersionedLocation,
24
+ PalletConvictionVotingVoteAccountVote,
24
25
  FrameSupportPreimagesBounded,
25
26
  PalletConvictionVotingTally,
26
27
  FrameSupportDispatchPostDispatchInfo,
27
28
  SpRuntimeDispatchErrorWithPostInfo,
28
- PolkadotRuntimeRuntimeParametersKey,
29
- PolkadotRuntimeRuntimeParametersValue,
30
29
  PolkadotRuntimeProxyType,
31
30
  PalletMultisigTimepoint,
32
31
  PalletElectionProviderMultiPhaseElectionCompute,
@@ -35,10 +34,10 @@ import type {
35
34
  PalletNominationPoolsPoolState,
36
35
  PalletNominationPoolsCommissionChangeRate,
37
36
  PalletNominationPoolsCommissionClaimPermission,
38
- PolkadotPrimitivesV7CandidateReceipt,
37
+ PolkadotPrimitivesV8CandidateReceipt,
39
38
  PolkadotParachainPrimitivesPrimitivesHeadData,
40
- PolkadotPrimitivesV7CoreIndex,
41
- PolkadotPrimitivesV7GroupIndex,
39
+ PolkadotPrimitivesV8CoreIndex,
40
+ PolkadotPrimitivesV8GroupIndex,
42
41
  PolkadotParachainPrimitivesPrimitivesId,
43
42
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
44
43
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
@@ -700,6 +699,26 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
700
699
  **/
701
700
  Undelegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Undelegated', AccountId32>;
702
701
 
702
+ /**
703
+ * An account that has voted
704
+ **/
705
+ Voted: GenericPalletEvent<
706
+ Rv,
707
+ 'ConvictionVoting',
708
+ 'Voted',
709
+ { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
710
+ >;
711
+
712
+ /**
713
+ * A vote that been removed
714
+ **/
715
+ VoteRemoved: GenericPalletEvent<
716
+ Rv,
717
+ 'ConvictionVoting',
718
+ 'VoteRemoved',
719
+ { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
720
+ >;
721
+
703
722
  /**
704
723
  * Generic pallet event
705
724
  **/
@@ -1059,42 +1078,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1059
1078
  **/
1060
1079
  [prop: string]: GenericPalletEvent<Rv>;
1061
1080
  };
1062
- /**
1063
- * Pallet `Parameters`'s events
1064
- **/
1065
- parameters: {
1066
- /**
1067
- * A Parameter was set.
1068
- *
1069
- * Is also emitted when the value was not changed.
1070
- **/
1071
- Updated: GenericPalletEvent<
1072
- Rv,
1073
- 'Parameters',
1074
- 'Updated',
1075
- {
1076
- /**
1077
- * The key that was updated.
1078
- **/
1079
- key: PolkadotRuntimeRuntimeParametersKey;
1080
-
1081
- /**
1082
- * The old value before this call.
1083
- **/
1084
- oldValue?: PolkadotRuntimeRuntimeParametersValue | undefined;
1085
-
1086
- /**
1087
- * The new value after this call.
1088
- **/
1089
- newValue?: PolkadotRuntimeRuntimeParametersValue | undefined;
1090
- }
1091
- >;
1092
-
1093
- /**
1094
- * Generic pallet event
1095
- **/
1096
- [prop: string]: GenericPalletEvent<Rv>;
1097
- };
1098
1081
  /**
1099
1082
  * Pallet `Claims`'s events
1100
1083
  **/
@@ -1555,8 +1538,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1555
1538
  * A member has been removed from a pool.
1556
1539
  *
1557
1540
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
1541
+ * Any funds that are still delegated (i.e. dangling delegation) are released and are
1542
+ * represented by `released_balance`.
1558
1543
  **/
1559
- MemberRemoved: GenericPalletEvent<Rv, 'NominationPools', 'MemberRemoved', { poolId: number; member: AccountId32 }>;
1544
+ MemberRemoved: GenericPalletEvent<
1545
+ Rv,
1546
+ 'NominationPools',
1547
+ 'MemberRemoved',
1548
+ { poolId: number; member: AccountId32; releasedBalance: bigint }
1549
+ >;
1560
1550
 
1561
1551
  /**
1562
1552
  * The roles of a pool have been updated to the given new roles. Note that the depositor
@@ -1701,6 +1691,55 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1701
1691
  **/
1702
1692
  [prop: string]: GenericPalletEvent<Rv>;
1703
1693
  };
1694
+ /**
1695
+ * Pallet `DelegatedStaking`'s events
1696
+ **/
1697
+ delegatedStaking: {
1698
+ /**
1699
+ * Funds delegated by a delegator.
1700
+ **/
1701
+ Delegated: GenericPalletEvent<
1702
+ Rv,
1703
+ 'DelegatedStaking',
1704
+ 'Delegated',
1705
+ { agent: AccountId32; delegator: AccountId32; amount: bigint }
1706
+ >;
1707
+
1708
+ /**
1709
+ * Funds released to a delegator.
1710
+ **/
1711
+ Released: GenericPalletEvent<
1712
+ Rv,
1713
+ 'DelegatedStaking',
1714
+ 'Released',
1715
+ { agent: AccountId32; delegator: AccountId32; amount: bigint }
1716
+ >;
1717
+
1718
+ /**
1719
+ * Funds slashed from a delegator.
1720
+ **/
1721
+ Slashed: GenericPalletEvent<
1722
+ Rv,
1723
+ 'DelegatedStaking',
1724
+ 'Slashed',
1725
+ { agent: AccountId32; delegator: AccountId32; amount: bigint }
1726
+ >;
1727
+
1728
+ /**
1729
+ * Unclaimed delegation funds migrated to delegator.
1730
+ **/
1731
+ MigratedDelegation: GenericPalletEvent<
1732
+ Rv,
1733
+ 'DelegatedStaking',
1734
+ 'MigratedDelegation',
1735
+ { agent: AccountId32; delegator: AccountId32; amount: bigint }
1736
+ >;
1737
+
1738
+ /**
1739
+ * Generic pallet event
1740
+ **/
1741
+ [prop: string]: GenericPalletEvent<Rv>;
1742
+ };
1704
1743
  /**
1705
1744
  * Pallet `ParaInclusion`'s events
1706
1745
  **/
@@ -1713,10 +1752,10 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1713
1752
  'ParaInclusion',
1714
1753
  'CandidateBacked',
1715
1754
  [
1716
- PolkadotPrimitivesV7CandidateReceipt,
1755
+ PolkadotPrimitivesV8CandidateReceipt,
1717
1756
  PolkadotParachainPrimitivesPrimitivesHeadData,
1718
- PolkadotPrimitivesV7CoreIndex,
1719
- PolkadotPrimitivesV7GroupIndex,
1757
+ PolkadotPrimitivesV8CoreIndex,
1758
+ PolkadotPrimitivesV8GroupIndex,
1720
1759
  ]
1721
1760
  >;
1722
1761
 
@@ -1728,10 +1767,10 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1728
1767
  'ParaInclusion',
1729
1768
  'CandidateIncluded',
1730
1769
  [
1731
- PolkadotPrimitivesV7CandidateReceipt,
1770
+ PolkadotPrimitivesV8CandidateReceipt,
1732
1771
  PolkadotParachainPrimitivesPrimitivesHeadData,
1733
- PolkadotPrimitivesV7CoreIndex,
1734
- PolkadotPrimitivesV7GroupIndex,
1772
+ PolkadotPrimitivesV8CoreIndex,
1773
+ PolkadotPrimitivesV8GroupIndex,
1735
1774
  ]
1736
1775
  >;
1737
1776
 
@@ -1743,9 +1782,9 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1743
1782
  'ParaInclusion',
1744
1783
  'CandidateTimedOut',
1745
1784
  [
1746
- PolkadotPrimitivesV7CandidateReceipt,
1785
+ PolkadotPrimitivesV8CandidateReceipt,
1747
1786
  PolkadotParachainPrimitivesPrimitivesHeadData,
1748
- PolkadotPrimitivesV7CoreIndex,
1787
+ PolkadotPrimitivesV8CoreIndex,
1749
1788
  ]
1750
1789
  >;
1751
1790
 
@@ -2246,7 +2285,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2246
2285
  /**
2247
2286
  * A core has received a new assignment from the broker chain.
2248
2287
  **/
2249
- CoreAssigned: GenericPalletEvent<Rv, 'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV7CoreIndex }>;
2288
+ CoreAssigned: GenericPalletEvent<Rv, 'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV8CoreIndex }>;
2250
2289
 
2251
2290
  /**
2252
2291
  * Generic pallet event
@@ -23,7 +23,7 @@ export interface VersionedPolkadotApi<Rv extends RpcVersion> extends GenericSubs
23
23
 
24
24
  /**
25
25
  * @name: PolkadotApi
26
- * @specVersion: 1003004
26
+ * @specVersion: 1004000
27
27
  **/
28
28
  export interface PolkadotApi {
29
29
  legacy: VersionedPolkadotApi<RpcLegacy>;