@dedot/chaintypes 0.198.0 → 0.200.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.
@@ -16,7 +16,7 @@ import type {
16
16
  AccountId32,
17
17
  } from 'dedot/codecs';
18
18
  import type {
19
- SpRuntimeBlock,
19
+ SpRuntimeBlockLazyBlock,
20
20
  SpRuntimeExtrinsicInclusionMode,
21
21
  SpCoreOpaqueMetadata,
22
22
  FrameSupportViewFunctionsViewFunctionDispatchError,
@@ -26,35 +26,36 @@ import type {
26
26
  SpInherentsCheckInherentsResult,
27
27
  SpRuntimeTransactionValidityValidTransaction,
28
28
  SpRuntimeTransactionValidityTransactionSource,
29
- PolkadotPrimitivesV8ValidatorAppPublic,
30
- PolkadotPrimitivesV8ValidatorIndex,
31
- PolkadotPrimitivesV8GroupRotationInfo,
32
- PolkadotPrimitivesVstagingCoreState,
33
- PolkadotPrimitivesV8PersistedValidationData,
29
+ PolkadotPrimitivesV9ValidatorAppPublic,
30
+ PolkadotPrimitivesV9ValidatorIndex,
31
+ PolkadotPrimitivesV9GroupRotationInfo,
32
+ PolkadotPrimitivesV9CoreState,
33
+ PolkadotPrimitivesV9PersistedValidationData,
34
34
  PolkadotParachainPrimitivesPrimitivesId,
35
- PolkadotPrimitivesV8OccupiedCoreAssumption,
35
+ PolkadotPrimitivesV9OccupiedCoreAssumption,
36
36
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
37
- PolkadotPrimitivesV8CandidateCommitments,
37
+ PolkadotPrimitivesV9CandidateCommitments,
38
38
  PolkadotParachainPrimitivesPrimitivesValidationCode,
39
- PolkadotPrimitivesVstagingCommittedCandidateReceiptV2,
40
- PolkadotPrimitivesVstagingCandidateEvent,
39
+ PolkadotPrimitivesV9CommittedCandidateReceiptV2,
40
+ PolkadotPrimitivesV9CandidateEvent,
41
41
  PolkadotCorePrimitivesInboundDownwardMessage,
42
42
  PolkadotCorePrimitivesInboundHrmpMessage,
43
- PolkadotPrimitivesVstagingScrapedOnChainVotes,
44
- PolkadotPrimitivesV8SessionInfo,
45
- PolkadotPrimitivesV8PvfCheckStatement,
46
- PolkadotPrimitivesV8ValidatorAppSignature,
43
+ PolkadotPrimitivesV9ScrapedOnChainVotes,
44
+ PolkadotPrimitivesV9SessionInfo,
45
+ PolkadotPrimitivesV9PvfCheckStatement,
46
+ PolkadotPrimitivesV9ValidatorAppSignature,
47
47
  PolkadotCorePrimitivesCandidateHash,
48
- PolkadotPrimitivesV8DisputeState,
49
- PolkadotPrimitivesV8ExecutorParams,
50
- PolkadotPrimitivesV8SlashingPendingSlashes,
51
- PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof,
52
- PolkadotPrimitivesV8SlashingDisputeProof,
53
- PolkadotPrimitivesVstagingAsyncBackingBackingState,
54
- PolkadotPrimitivesV8AsyncBackingAsyncBackingParams,
55
- PolkadotPrimitivesV8ApprovalVotingParams,
56
- PolkadotPrimitivesV8CoreIndex,
57
- PolkadotPrimitivesVstagingAsyncBackingConstraints,
48
+ PolkadotPrimitivesV9DisputeState,
49
+ PolkadotPrimitivesV9ExecutorParams,
50
+ PolkadotPrimitivesV9SlashingLegacyPendingSlashes,
51
+ PolkadotPrimitivesV9SlashingOpaqueKeyOwnershipProof,
52
+ PolkadotPrimitivesV9SlashingDisputeProof,
53
+ PolkadotPrimitivesV9AsyncBackingBackingState,
54
+ PolkadotPrimitivesV9AsyncBackingAsyncBackingParams,
55
+ PolkadotPrimitivesV9ApprovalVotingParams,
56
+ PolkadotPrimitivesV9CoreIndex,
57
+ PolkadotPrimitivesV9AsyncBackingConstraints,
58
+ PolkadotPrimitivesV9SlashingPendingSlashes,
58
59
  SpConsensusBeefyValidatorSet,
59
60
  SpConsensusBeefyDoubleVotingProof,
60
61
  SpRuntimeOpaqueValue,
@@ -64,6 +65,7 @@ import type {
64
65
  SpMmrPrimitivesError,
65
66
  SpMmrPrimitivesEncodableOpaqueLeaf,
66
67
  SpMmrPrimitivesLeafProof,
68
+ SpMmrPrimitivesAncestryProof,
67
69
  SpConsensusBeefyMmrBeefyAuthoritySet,
68
70
  SpConsensusGrandpaAppPublic,
69
71
  SpConsensusGrandpaEquivocationProof,
@@ -109,9 +111,9 @@ export interface RuntimeApis extends GenericRuntimeApis {
109
111
  * Execute the given block.
110
112
  *
111
113
  * @callname: Core_execute_block
112
- * @param {SpRuntimeBlock} block
114
+ * @param {SpRuntimeBlockLazyBlock} block
113
115
  **/
114
- executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
116
+ executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlockLazyBlock) => Promise<[]>>;
115
117
 
116
118
  /**
117
119
  * Initialize a block with the given header and return the runtime executive mode.
@@ -225,11 +227,11 @@ export interface RuntimeApis extends GenericRuntimeApis {
225
227
  * Check that the inherents are valid. The inherent data will vary from chain to chain.
226
228
  *
227
229
  * @callname: BlockBuilder_check_inherents
228
- * @param {SpRuntimeBlock} block
230
+ * @param {SpRuntimeBlockLazyBlock} block
229
231
  * @param {SpInherentsInherentData} data
230
232
  **/
231
233
  checkInherents: GenericRuntimeApiMethod<
232
- (block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
234
+ (block: SpRuntimeBlockLazyBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
233
235
  >;
234
236
 
235
237
  /**
@@ -298,7 +300,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
298
300
  *
299
301
  * @callname: ParachainHost_validators
300
302
  **/
301
- validators: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV8ValidatorAppPublic>>>;
303
+ validators: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV9ValidatorAppPublic>>>;
302
304
 
303
305
  /**
304
306
  * Returns the validator groups and rotation info localized based on the hypothetical child
@@ -308,7 +310,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
308
310
  * @callname: ParachainHost_validator_groups
309
311
  **/
310
312
  validatorGroups: GenericRuntimeApiMethod<
311
- () => Promise<[Array<Array<PolkadotPrimitivesV8ValidatorIndex>>, PolkadotPrimitivesV8GroupRotationInfo]>
313
+ () => Promise<[Array<Array<PolkadotPrimitivesV9ValidatorIndex>>, PolkadotPrimitivesV9GroupRotationInfo]>
312
314
  >;
313
315
 
314
316
  /**
@@ -317,7 +319,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
317
319
  *
318
320
  * @callname: ParachainHost_availability_cores
319
321
  **/
320
- availabilityCores: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesVstagingCoreState>>>;
322
+ availabilityCores: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV9CoreState>>>;
321
323
 
322
324
  /**
323
325
  * Yields the persisted validation data for the given `ParaId` along with an assumption that
@@ -328,13 +330,13 @@ export interface RuntimeApis extends GenericRuntimeApis {
328
330
  *
329
331
  * @callname: ParachainHost_persisted_validation_data
330
332
  * @param {PolkadotParachainPrimitivesPrimitivesId} para_id
331
- * @param {PolkadotPrimitivesV8OccupiedCoreAssumption} assumption
333
+ * @param {PolkadotPrimitivesV9OccupiedCoreAssumption} assumption
332
334
  **/
333
335
  persistedValidationData: GenericRuntimeApiMethod<
334
336
  (
335
337
  paraId: PolkadotParachainPrimitivesPrimitivesId,
336
- assumption: PolkadotPrimitivesV8OccupiedCoreAssumption,
337
- ) => Promise<PolkadotPrimitivesV8PersistedValidationData | undefined>
338
+ assumption: PolkadotPrimitivesV9OccupiedCoreAssumption,
339
+ ) => Promise<PolkadotPrimitivesV9PersistedValidationData | undefined>
338
340
  >;
339
341
 
340
342
  /**
@@ -351,7 +353,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
351
353
  paraId: PolkadotParachainPrimitivesPrimitivesId,
352
354
  expectedPersistedValidationDataHash: H256,
353
355
  ) => Promise<
354
- | [PolkadotPrimitivesV8PersistedValidationData, PolkadotParachainPrimitivesPrimitivesValidationCodeHash]
356
+ | [PolkadotPrimitivesV9PersistedValidationData, PolkadotParachainPrimitivesPrimitivesValidationCodeHash]
355
357
  | undefined
356
358
  >
357
359
  >;
@@ -361,12 +363,12 @@ export interface RuntimeApis extends GenericRuntimeApis {
361
363
  *
362
364
  * @callname: ParachainHost_check_validation_outputs
363
365
  * @param {PolkadotParachainPrimitivesPrimitivesId} para_id
364
- * @param {PolkadotPrimitivesV8CandidateCommitments} outputs
366
+ * @param {PolkadotPrimitivesV9CandidateCommitments} outputs
365
367
  **/
366
368
  checkValidationOutputs: GenericRuntimeApiMethod<
367
369
  (
368
370
  paraId: PolkadotParachainPrimitivesPrimitivesId,
369
- outputs: PolkadotPrimitivesV8CandidateCommitments,
371
+ outputs: PolkadotPrimitivesV9CandidateCommitments,
370
372
  ) => Promise<boolean>
371
373
  >;
372
374
 
@@ -387,12 +389,12 @@ export interface RuntimeApis extends GenericRuntimeApis {
387
389
  *
388
390
  * @callname: ParachainHost_validation_code
389
391
  * @param {PolkadotParachainPrimitivesPrimitivesId} para_id
390
- * @param {PolkadotPrimitivesV8OccupiedCoreAssumption} assumption
392
+ * @param {PolkadotPrimitivesV9OccupiedCoreAssumption} assumption
391
393
  **/
392
394
  validationCode: GenericRuntimeApiMethod<
393
395
  (
394
396
  paraId: PolkadotParachainPrimitivesPrimitivesId,
395
- assumption: PolkadotPrimitivesV8OccupiedCoreAssumption,
397
+ assumption: PolkadotPrimitivesV9OccupiedCoreAssumption,
396
398
  ) => Promise<PolkadotParachainPrimitivesPrimitivesValidationCode | undefined>
397
399
  >;
398
400
 
@@ -406,7 +408,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
406
408
  candidatePendingAvailability: GenericRuntimeApiMethod<
407
409
  (
408
410
  paraId: PolkadotParachainPrimitivesPrimitivesId,
409
- ) => Promise<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2 | undefined>
411
+ ) => Promise<PolkadotPrimitivesV9CommittedCandidateReceiptV2 | undefined>
410
412
  >;
411
413
 
412
414
  /**
@@ -414,7 +416,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
414
416
  *
415
417
  * @callname: ParachainHost_candidate_events
416
418
  **/
417
- candidateEvents: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesVstagingCandidateEvent>>>;
419
+ candidateEvents: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV9CandidateEvent>>>;
418
420
 
419
421
  /**
420
422
  * Get all the pending inbound messages in the downward message queue for a para.
@@ -458,7 +460,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
458
460
  *
459
461
  * @callname: ParachainHost_on_chain_votes
460
462
  **/
461
- onChainVotes: GenericRuntimeApiMethod<() => Promise<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>>;
463
+ onChainVotes: GenericRuntimeApiMethod<() => Promise<PolkadotPrimitivesV9ScrapedOnChainVotes | undefined>>;
462
464
 
463
465
  /**
464
466
  * Get the session info for the given session, if stored.
@@ -468,7 +470,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
468
470
  * @callname: ParachainHost_session_info
469
471
  * @param {number} index
470
472
  **/
471
- sessionInfo: GenericRuntimeApiMethod<(index: number) => Promise<PolkadotPrimitivesV8SessionInfo | undefined>>;
473
+ sessionInfo: GenericRuntimeApiMethod<(index: number) => Promise<PolkadotPrimitivesV9SessionInfo | undefined>>;
472
474
 
473
475
  /**
474
476
  * Submits a PVF pre-checking statement into the transaction pool.
@@ -476,11 +478,11 @@ export interface RuntimeApis extends GenericRuntimeApis {
476
478
  * NOTE: This function is only available since parachain host version 2.
477
479
  *
478
480
  * @callname: ParachainHost_submit_pvf_check_statement
479
- * @param {PolkadotPrimitivesV8PvfCheckStatement} stmt
480
- * @param {PolkadotPrimitivesV8ValidatorAppSignature} signature
481
+ * @param {PolkadotPrimitivesV9PvfCheckStatement} stmt
482
+ * @param {PolkadotPrimitivesV9ValidatorAppSignature} signature
481
483
  **/
482
484
  submitPvfCheckStatement: GenericRuntimeApiMethod<
483
- (stmt: PolkadotPrimitivesV8PvfCheckStatement, signature: PolkadotPrimitivesV8ValidatorAppSignature) => Promise<[]>
485
+ (stmt: PolkadotPrimitivesV9PvfCheckStatement, signature: PolkadotPrimitivesV9ValidatorAppSignature) => Promise<[]>
484
486
  >;
485
487
 
486
488
  /**
@@ -501,12 +503,12 @@ export interface RuntimeApis extends GenericRuntimeApis {
501
503
  *
502
504
  * @callname: ParachainHost_validation_code_hash
503
505
  * @param {PolkadotParachainPrimitivesPrimitivesId} para_id
504
- * @param {PolkadotPrimitivesV8OccupiedCoreAssumption} assumption
506
+ * @param {PolkadotPrimitivesV9OccupiedCoreAssumption} assumption
505
507
  **/
506
508
  validationCodeHash: GenericRuntimeApiMethod<
507
509
  (
508
510
  paraId: PolkadotParachainPrimitivesPrimitivesId,
509
- assumption: PolkadotPrimitivesV8OccupiedCoreAssumption,
511
+ assumption: PolkadotPrimitivesV9OccupiedCoreAssumption,
510
512
  ) => Promise<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined>
511
513
  >;
512
514
 
@@ -516,7 +518,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
516
518
  * @callname: ParachainHost_disputes
517
519
  **/
518
520
  disputes: GenericRuntimeApiMethod<
519
- () => Promise<Array<[number, PolkadotCorePrimitivesCandidateHash, PolkadotPrimitivesV8DisputeState]>>
521
+ () => Promise<Array<[number, PolkadotCorePrimitivesCandidateHash, PolkadotPrimitivesV9DisputeState]>>
520
522
  >;
521
523
 
522
524
  /**
@@ -526,17 +528,20 @@ export interface RuntimeApis extends GenericRuntimeApis {
526
528
  * @param {number} session_index
527
529
  **/
528
530
  sessionExecutorParams: GenericRuntimeApiMethod<
529
- (sessionIndex: number) => Promise<PolkadotPrimitivesV8ExecutorParams | undefined>
531
+ (sessionIndex: number) => Promise<PolkadotPrimitivesV9ExecutorParams | undefined>
530
532
  >;
531
533
 
532
534
  /**
533
535
  * Returns a list of validators that lost a past session dispute and need to be slashed.
534
- * NOTE: This function is only available since parachain host version 5.
536
+ *
537
+ * Deprecated. Use `unapplied_slashes_v2` instead.
535
538
  *
536
539
  * @callname: ParachainHost_unapplied_slashes
537
540
  **/
538
541
  unappliedSlashes: GenericRuntimeApiMethod<
539
- () => Promise<Array<[number, PolkadotCorePrimitivesCandidateHash, PolkadotPrimitivesV8SlashingPendingSlashes]>>
542
+ () => Promise<
543
+ Array<[number, PolkadotCorePrimitivesCandidateHash, PolkadotPrimitivesV9SlashingLegacyPendingSlashes]>
544
+ >
540
545
  >;
541
546
 
542
547
  /**
@@ -544,12 +549,12 @@ export interface RuntimeApis extends GenericRuntimeApis {
544
549
  * NOTE: This function is only available since parachain host version 5.
545
550
  *
546
551
  * @callname: ParachainHost_key_ownership_proof
547
- * @param {PolkadotPrimitivesV8ValidatorAppPublic} validator_id
552
+ * @param {PolkadotPrimitivesV9ValidatorAppPublic} validator_id
548
553
  **/
549
554
  keyOwnershipProof: GenericRuntimeApiMethod<
550
555
  (
551
- validatorId: PolkadotPrimitivesV8ValidatorAppPublic,
552
- ) => Promise<PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof | undefined>
556
+ validatorId: PolkadotPrimitivesV9ValidatorAppPublic,
557
+ ) => Promise<PolkadotPrimitivesV9SlashingOpaqueKeyOwnershipProof | undefined>
553
558
  >;
554
559
 
555
560
  /**
@@ -558,13 +563,13 @@ export interface RuntimeApis extends GenericRuntimeApis {
558
563
  * NOTE: This function is only available since parachain host version 5.
559
564
  *
560
565
  * @callname: ParachainHost_submit_report_dispute_lost
561
- * @param {PolkadotPrimitivesV8SlashingDisputeProof} dispute_proof
562
- * @param {PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof} key_ownership_proof
566
+ * @param {PolkadotPrimitivesV9SlashingDisputeProof} dispute_proof
567
+ * @param {PolkadotPrimitivesV9SlashingOpaqueKeyOwnershipProof} key_ownership_proof
563
568
  **/
564
569
  submitReportDisputeLost: GenericRuntimeApiMethod<
565
570
  (
566
- disputeProof: PolkadotPrimitivesV8SlashingDisputeProof,
567
- keyOwnershipProof: PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof,
571
+ disputeProof: PolkadotPrimitivesV9SlashingDisputeProof,
572
+ keyOwnershipProof: PolkadotPrimitivesV9SlashingOpaqueKeyOwnershipProof,
568
573
  ) => Promise<[] | undefined>
569
574
  >;
570
575
 
@@ -585,7 +590,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
585
590
  paraBackingState: GenericRuntimeApiMethod<
586
591
  (
587
592
  runtimeApiGeneratedName0: PolkadotParachainPrimitivesPrimitivesId,
588
- ) => Promise<PolkadotPrimitivesVstagingAsyncBackingBackingState | undefined>
593
+ ) => Promise<PolkadotPrimitivesV9AsyncBackingBackingState | undefined>
589
594
  >;
590
595
 
591
596
  /**
@@ -593,14 +598,14 @@ export interface RuntimeApis extends GenericRuntimeApis {
593
598
  *
594
599
  * @callname: ParachainHost_async_backing_params
595
600
  **/
596
- asyncBackingParams: GenericRuntimeApiMethod<() => Promise<PolkadotPrimitivesV8AsyncBackingAsyncBackingParams>>;
601
+ asyncBackingParams: GenericRuntimeApiMethod<() => Promise<PolkadotPrimitivesV9AsyncBackingAsyncBackingParams>>;
597
602
 
598
603
  /**
599
604
  * Returns a list of all disabled validators at the given block.
600
605
  *
601
606
  * @callname: ParachainHost_disabled_validators
602
607
  **/
603
- disabledValidators: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV8ValidatorIndex>>>;
608
+ disabledValidators: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV9ValidatorIndex>>>;
604
609
 
605
610
  /**
606
611
  * Get node features.
@@ -615,7 +620,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
615
620
  *
616
621
  * @callname: ParachainHost_approval_voting_params
617
622
  **/
618
- approvalVotingParams: GenericRuntimeApiMethod<() => Promise<PolkadotPrimitivesV8ApprovalVotingParams>>;
623
+ approvalVotingParams: GenericRuntimeApiMethod<() => Promise<PolkadotPrimitivesV9ApprovalVotingParams>>;
619
624
 
620
625
  /**
621
626
  * Claim queue
@@ -623,7 +628,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
623
628
  * @callname: ParachainHost_claim_queue
624
629
  **/
625
630
  claimQueue: GenericRuntimeApiMethod<
626
- () => Promise<Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotParachainPrimitivesPrimitivesId>]>>
631
+ () => Promise<Array<[PolkadotPrimitivesV9CoreIndex, Array<PolkadotParachainPrimitivesPrimitivesId>]>>
627
632
  >;
628
633
 
629
634
  /**
@@ -635,7 +640,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
635
640
  candidatesPendingAvailability: GenericRuntimeApiMethod<
636
641
  (
637
642
  paraId: PolkadotParachainPrimitivesPrimitivesId,
638
- ) => Promise<Array<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2>>
643
+ ) => Promise<Array<PolkadotPrimitivesV9CommittedCandidateReceiptV2>>
639
644
  >;
640
645
 
641
646
  /**
@@ -655,7 +660,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
655
660
  backingConstraints: GenericRuntimeApiMethod<
656
661
  (
657
662
  paraId: PolkadotParachainPrimitivesPrimitivesId,
658
- ) => Promise<PolkadotPrimitivesVstagingAsyncBackingConstraints | undefined>
663
+ ) => Promise<PolkadotPrimitivesV9AsyncBackingConstraints | undefined>
659
664
  >;
660
665
 
661
666
  /**
@@ -672,6 +677,15 @@ export interface RuntimeApis extends GenericRuntimeApis {
672
677
  **/
673
678
  paraIds: GenericRuntimeApiMethod<() => Promise<Array<PolkadotParachainPrimitivesPrimitivesId>>>;
674
679
 
680
+ /**
681
+ * Returns a list of validators that lost a past session dispute and need to be slashed.
682
+ *
683
+ * @callname: ParachainHost_unapplied_slashes_v2
684
+ **/
685
+ unappliedSlashesV2: GenericRuntimeApiMethod<
686
+ () => Promise<Array<[number, PolkadotCorePrimitivesCandidateHash, PolkadotPrimitivesV9SlashingPendingSlashes]>>
687
+ >;
688
+
675
689
  /**
676
690
  * Generic runtime api call
677
691
  **/
@@ -779,18 +793,6 @@ export interface RuntimeApis extends GenericRuntimeApis {
779
793
  (setId: bigint, authorityId: SpConsensusBeefyEcdsaCryptoPublic) => Promise<SpRuntimeOpaqueValue | undefined>
780
794
  >;
781
795
 
782
- /**
783
- * Generates a proof that the `prev_block_number` is part of the canonical chain at
784
- * `best_known_block_number`.
785
- *
786
- * @callname: BeefyApi_generate_ancestry_proof
787
- * @param {number} prev_block_number
788
- * @param {number | undefined} best_known_block_number
789
- **/
790
- generateAncestryProof: GenericRuntimeApiMethod<
791
- (prevBlockNumber: number, bestKnownBlockNumber?: number | undefined) => Promise<SpRuntimeOpaqueValue | undefined>
792
- >;
793
-
794
796
  /**
795
797
  * Generic runtime api call
796
798
  **/
@@ -829,6 +831,21 @@ export interface RuntimeApis extends GenericRuntimeApis {
829
831
  ) => Promise<Result<[Array<SpMmrPrimitivesEncodableOpaqueLeaf>, SpMmrPrimitivesLeafProof], SpMmrPrimitivesError>>
830
832
  >;
831
833
 
834
+ /**
835
+ * Generates a proof that the `prev_block_number` is part of the canonical chain at
836
+ * `best_known_block_number`.
837
+ *
838
+ * @callname: MmrApi_generate_ancestry_proof
839
+ * @param {number} prev_block_number
840
+ * @param {number | undefined} best_known_block_number
841
+ **/
842
+ generateAncestryProof: GenericRuntimeApiMethod<
843
+ (
844
+ prevBlockNumber: number,
845
+ bestKnownBlockNumber?: number | undefined,
846
+ ) => Promise<Result<SpMmrPrimitivesAncestryProof, SpMmrPrimitivesError>>
847
+ >;
848
+
832
849
  /**
833
850
  * Verify MMR proof against on-chain MMR for a batch of leaves.
834
851
  *
@@ -1257,6 +1274,8 @@ export interface RuntimeApis extends GenericRuntimeApis {
1257
1274
  >;
1258
1275
 
1259
1276
  /**
1277
+ * Query delivery fees V2.
1278
+ *
1260
1279
  * Get delivery fees for sending a specific `message` to a `destination`.
1261
1280
  * These always come in a specific asset, defined by the chain.
1262
1281
  *
@@ -1269,11 +1288,13 @@ export interface RuntimeApis extends GenericRuntimeApis {
1269
1288
  * @callname: XcmPaymentApi_query_delivery_fees
1270
1289
  * @param {XcmVersionedLocation} destination
1271
1290
  * @param {XcmVersionedXcm} message
1291
+ * @param {XcmVersionedAssetId} asset_id
1272
1292
  **/
1273
1293
  queryDeliveryFees: GenericRuntimeApiMethod<
1274
1294
  (
1275
1295
  destination: XcmVersionedLocation,
1276
1296
  message: XcmVersionedXcm,
1297
+ assetId: XcmVersionedAssetId,
1277
1298
  ) => Promise<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>
1278
1299
  >;
1279
1300
 
@@ -1469,7 +1490,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
1469
1490
  erasStakersPageCount: GenericRuntimeApiMethod<(era: number, account: AccountId32Like) => Promise<number>>;
1470
1491
 
1471
1492
  /**
1472
- * Returns true if validator `account` has pages to be claimed for the given era.
1493
+ * Returns true if a validator `account` has pages to be claimed for the given era.
1473
1494
  *
1474
1495
  * @callname: StakingApi_pending_rewards
1475
1496
  * @param {number} era
package/westend/tx.d.ts CHANGED
@@ -64,19 +64,19 @@ import type {
64
64
  FrameSupportScheduleDispatchTime,
65
65
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
66
66
  XcmVersionedLocation,
67
- PolkadotPrimitivesV8AsyncBackingAsyncBackingParams,
68
- PolkadotPrimitivesV8ExecutorParams,
69
- PolkadotPrimitivesV8ApprovalVotingParams,
70
- PolkadotPrimitivesV8SchedulerParams,
71
- PolkadotPrimitivesVstagingInherentData,
67
+ PolkadotPrimitivesV9AsyncBackingAsyncBackingParams,
68
+ PolkadotPrimitivesV9ExecutorParams,
69
+ PolkadotPrimitivesV9ApprovalVotingParams,
70
+ PolkadotPrimitivesV9SchedulerParams,
71
+ PolkadotPrimitivesV9InherentData,
72
72
  PolkadotParachainPrimitivesPrimitivesId,
73
73
  PolkadotParachainPrimitivesPrimitivesValidationCode,
74
74
  PolkadotParachainPrimitivesPrimitivesHeadData,
75
75
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
76
- PolkadotPrimitivesV8PvfCheckStatement,
77
- PolkadotPrimitivesV8ValidatorAppSignature,
76
+ PolkadotPrimitivesV9PvfCheckStatement,
77
+ PolkadotPrimitivesV9ValidatorAppSignature,
78
78
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
79
- PolkadotPrimitivesVstagingDisputeProof,
79
+ PolkadotPrimitivesV9SlashingDisputeProof,
80
80
  PolkadotRuntimeParachainsParasParaGenesisArgs,
81
81
  XcmVersionedXcm,
82
82
  SpRuntimeMultiSigner,
@@ -7293,15 +7293,15 @@ export interface ChainTx<
7293
7293
  /**
7294
7294
  * Set the asynchronous backing parameters.
7295
7295
  *
7296
- * @param {PolkadotPrimitivesV8AsyncBackingAsyncBackingParams} new_
7296
+ * @param {PolkadotPrimitivesV9AsyncBackingAsyncBackingParams} new_
7297
7297
  **/
7298
7298
  setAsyncBackingParams: GenericTxCall<
7299
- (new_: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams) => ChainSubmittableExtrinsic<
7299
+ (new_: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams) => ChainSubmittableExtrinsic<
7300
7300
  {
7301
7301
  pallet: 'Configuration';
7302
7302
  palletCall: {
7303
7303
  name: 'SetAsyncBackingParams';
7304
- params: { new: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams };
7304
+ params: { new: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams };
7305
7305
  };
7306
7306
  },
7307
7307
  ChainKnownTypes
@@ -7311,15 +7311,15 @@ export interface ChainTx<
7311
7311
  /**
7312
7312
  * Set PVF executor parameters.
7313
7313
  *
7314
- * @param {PolkadotPrimitivesV8ExecutorParams} new_
7314
+ * @param {PolkadotPrimitivesV9ExecutorParams} new_
7315
7315
  **/
7316
7316
  setExecutorParams: GenericTxCall<
7317
- (new_: PolkadotPrimitivesV8ExecutorParams) => ChainSubmittableExtrinsic<
7317
+ (new_: PolkadotPrimitivesV9ExecutorParams) => ChainSubmittableExtrinsic<
7318
7318
  {
7319
7319
  pallet: 'Configuration';
7320
7320
  palletCall: {
7321
7321
  name: 'SetExecutorParams';
7322
- params: { new: PolkadotPrimitivesV8ExecutorParams };
7322
+ params: { new: PolkadotPrimitivesV9ExecutorParams };
7323
7323
  };
7324
7324
  },
7325
7325
  ChainKnownTypes
@@ -7441,15 +7441,15 @@ export interface ChainTx<
7441
7441
  /**
7442
7442
  * Set approval-voting-params.
7443
7443
  *
7444
- * @param {PolkadotPrimitivesV8ApprovalVotingParams} new_
7444
+ * @param {PolkadotPrimitivesV9ApprovalVotingParams} new_
7445
7445
  **/
7446
7446
  setApprovalVotingParams: GenericTxCall<
7447
- (new_: PolkadotPrimitivesV8ApprovalVotingParams) => ChainSubmittableExtrinsic<
7447
+ (new_: PolkadotPrimitivesV9ApprovalVotingParams) => ChainSubmittableExtrinsic<
7448
7448
  {
7449
7449
  pallet: 'Configuration';
7450
7450
  palletCall: {
7451
7451
  name: 'SetApprovalVotingParams';
7452
- params: { new: PolkadotPrimitivesV8ApprovalVotingParams };
7452
+ params: { new: PolkadotPrimitivesV9ApprovalVotingParams };
7453
7453
  };
7454
7454
  },
7455
7455
  ChainKnownTypes
@@ -7459,15 +7459,15 @@ export interface ChainTx<
7459
7459
  /**
7460
7460
  * Set scheduler-params.
7461
7461
  *
7462
- * @param {PolkadotPrimitivesV8SchedulerParams} new_
7462
+ * @param {PolkadotPrimitivesV9SchedulerParams} new_
7463
7463
  **/
7464
7464
  setSchedulerParams: GenericTxCall<
7465
- (new_: PolkadotPrimitivesV8SchedulerParams) => ChainSubmittableExtrinsic<
7465
+ (new_: PolkadotPrimitivesV9SchedulerParams) => ChainSubmittableExtrinsic<
7466
7466
  {
7467
7467
  pallet: 'Configuration';
7468
7468
  palletCall: {
7469
7469
  name: 'SetSchedulerParams';
7470
- params: { new: PolkadotPrimitivesV8SchedulerParams };
7470
+ params: { new: PolkadotPrimitivesV9SchedulerParams };
7471
7471
  };
7472
7472
  },
7473
7473
  ChainKnownTypes
@@ -7504,15 +7504,15 @@ export interface ChainTx<
7504
7504
  /**
7505
7505
  * Enter the paras inherent. This will process bitfields and backed candidates.
7506
7506
  *
7507
- * @param {PolkadotPrimitivesVstagingInherentData} data
7507
+ * @param {PolkadotPrimitivesV9InherentData} data
7508
7508
  **/
7509
7509
  enter: GenericTxCall<
7510
- (data: PolkadotPrimitivesVstagingInherentData) => ChainSubmittableExtrinsic<
7510
+ (data: PolkadotPrimitivesV9InherentData) => ChainSubmittableExtrinsic<
7511
7511
  {
7512
7512
  pallet: 'ParaInherent';
7513
7513
  palletCall: {
7514
7514
  name: 'Enter';
7515
- params: { data: PolkadotPrimitivesVstagingInherentData };
7515
+ params: { data: PolkadotPrimitivesV9InherentData };
7516
7516
  };
7517
7517
  },
7518
7518
  ChainKnownTypes
@@ -7708,21 +7708,21 @@ export interface ChainTx<
7708
7708
  * Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
7709
7709
  * enacts the results if that was the last vote before achieving the supermajority.
7710
7710
  *
7711
- * @param {PolkadotPrimitivesV8PvfCheckStatement} stmt
7712
- * @param {PolkadotPrimitivesV8ValidatorAppSignature} signature
7711
+ * @param {PolkadotPrimitivesV9PvfCheckStatement} stmt
7712
+ * @param {PolkadotPrimitivesV9ValidatorAppSignature} signature
7713
7713
  **/
7714
7714
  includePvfCheckStatement: GenericTxCall<
7715
7715
  (
7716
- stmt: PolkadotPrimitivesV8PvfCheckStatement,
7717
- signature: PolkadotPrimitivesV8ValidatorAppSignature,
7716
+ stmt: PolkadotPrimitivesV9PvfCheckStatement,
7717
+ signature: PolkadotPrimitivesV9ValidatorAppSignature,
7718
7718
  ) => ChainSubmittableExtrinsic<
7719
7719
  {
7720
7720
  pallet: 'Paras';
7721
7721
  palletCall: {
7722
7722
  name: 'IncludePvfCheckStatement';
7723
7723
  params: {
7724
- stmt: PolkadotPrimitivesV8PvfCheckStatement;
7725
- signature: PolkadotPrimitivesV8ValidatorAppSignature;
7724
+ stmt: PolkadotPrimitivesV9PvfCheckStatement;
7725
+ signature: PolkadotPrimitivesV9ValidatorAppSignature;
7726
7726
  };
7727
7727
  };
7728
7728
  },
@@ -8226,19 +8226,19 @@ export interface ChainTx<
8226
8226
  parasSlashing: {
8227
8227
  /**
8228
8228
  *
8229
- * @param {PolkadotPrimitivesVstagingDisputeProof} disputeProof
8229
+ * @param {PolkadotPrimitivesV9SlashingDisputeProof} disputeProof
8230
8230
  * @param {SpSessionMembershipProof} keyOwnerProof
8231
8231
  **/
8232
8232
  reportDisputeLostUnsigned: GenericTxCall<
8233
8233
  (
8234
- disputeProof: PolkadotPrimitivesVstagingDisputeProof,
8234
+ disputeProof: PolkadotPrimitivesV9SlashingDisputeProof,
8235
8235
  keyOwnerProof: SpSessionMembershipProof,
8236
8236
  ) => ChainSubmittableExtrinsic<
8237
8237
  {
8238
8238
  pallet: 'ParasSlashing';
8239
8239
  palletCall: {
8240
8240
  name: 'ReportDisputeLostUnsigned';
8241
- params: { disputeProof: PolkadotPrimitivesVstagingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8241
+ params: { disputeProof: PolkadotPrimitivesV9SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
8242
8242
  };
8243
8243
  },
8244
8244
  ChainKnownTypes