@dedot/chaintypes 0.0.1-alpha.95 → 0.0.1-alpha.96

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.
@@ -15,11 +15,12 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
15
15
  | 'author_submitExtrinsic'
16
16
  | 'chainHead_unstable_body'
17
17
  | 'chainHead_unstable_call'
18
- | 'chainHead_unstable_continue'
19
18
  | 'chainHead_unstable_follow'
20
19
  | 'chainHead_unstable_genesisHash'
21
20
  | 'chainHead_unstable_header'
22
- | 'chainHead_unstable_stopOperation'
21
+ | 'chainHead_unstable_stopBody'
22
+ | 'chainHead_unstable_stopCall'
23
+ | 'chainHead_unstable_stopStorage'
23
24
  | 'chainHead_unstable_storage'
24
25
  | 'chainHead_unstable_unpin'
25
26
  | 'chain_getBlock'
@@ -36,6 +37,52 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
36
37
  | 'childstate_getStorageHash'
37
38
  | 'childstate_getStorageSize'
38
39
  | 'dev_getBlockStats'
40
+ | 'eth_accounts'
41
+ | 'eth_blockNumber'
42
+ | 'eth_call'
43
+ | 'eth_chainId'
44
+ | 'eth_coinbase'
45
+ | 'eth_estimateGas'
46
+ | 'eth_feeHistory'
47
+ | 'eth_gasPrice'
48
+ | 'eth_getBalance'
49
+ | 'eth_getBlockByHash'
50
+ | 'eth_getBlockByNumber'
51
+ | 'eth_getBlockTransactionCountByHash'
52
+ | 'eth_getBlockTransactionCountByNumber'
53
+ | 'eth_getCode'
54
+ | 'eth_getFilterChanges'
55
+ | 'eth_getFilterLogs'
56
+ | 'eth_getLogs'
57
+ | 'eth_getStorageAt'
58
+ | 'eth_getTransactionByBlockHashAndIndex'
59
+ | 'eth_getTransactionByBlockNumberAndIndex'
60
+ | 'eth_getTransactionByHash'
61
+ | 'eth_getTransactionCount'
62
+ | 'eth_getTransactionReceipt'
63
+ | 'eth_getUncleByBlockHashAndIndex'
64
+ | 'eth_getUncleByBlockNumberAndIndex'
65
+ | 'eth_getUncleCountByBlockHash'
66
+ | 'eth_getUncleCountByBlockNumber'
67
+ | 'eth_getWork'
68
+ | 'eth_hashrate'
69
+ | 'eth_maxPriorityFeePerGas'
70
+ | 'eth_mining'
71
+ | 'eth_newBlockFilter'
72
+ | 'eth_newFilter'
73
+ | 'eth_newPendingTransactionFilter'
74
+ | 'eth_protocolVersion'
75
+ | 'eth_sendRawTransaction'
76
+ | 'eth_sendTransaction'
77
+ | 'eth_submitHashrate'
78
+ | 'eth_submitWork'
79
+ | 'eth_subscribe'
80
+ | 'eth_syncing'
81
+ | 'eth_uninstallFilter'
82
+ | 'eth_unsubscribe'
83
+ | 'net_listening'
84
+ | 'net_peerCount'
85
+ | 'net_version'
39
86
  | 'offchain_localStorageGet'
40
87
  | 'offchain_localStorageSet'
41
88
  | 'payment_queryFeeDetails'
@@ -78,5 +125,7 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
78
125
  | 'system_version'
79
126
  | 'transaction_unstable_submitAndWatch'
80
127
  | 'transaction_unstable_unwatch'
128
+ | 'web3_clientVersion'
129
+ | 'web3_sha3'
81
130
  > &
82
131
  GenericJsonRpcApis<Rv>;
@@ -41,6 +41,9 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
41
41
  | 'childstate_getStorageEntries'
42
42
  | 'childstate_getStorageHash'
43
43
  | 'childstate_getStorageSize'
44
+ | 'debug_traceBlockByHash'
45
+ | 'debug_traceBlockByNumber'
46
+ | 'debug_traceTransaction'
44
47
  | 'eth_accounts'
45
48
  | 'eth_blockNumber'
46
49
  | 'eth_call'
@@ -130,7 +133,11 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
130
133
  | 'system_syncState'
131
134
  | 'system_unstable_networkState'
132
135
  | 'system_version'
136
+ | 'trace_filter'
133
137
  | 'transactionWatch_unstable_submitAndWatch'
138
+ | 'txpool_content'
139
+ | 'txpool_inspect'
140
+ | 'txpool_status'
134
141
  | 'web3_clientVersion'
135
142
  | 'web3_sha3'
136
143
  > &
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.0.1-alpha.95",
3
+ "version": "0.0.1-alpha.96",
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": "16b85686e8d485f552f18add1d5a9ea1a848664c",
22
+ "gitHead": "93136395ee5644a333004a7b946e7a133a788a4e",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts"
25
25
  }
@@ -1252,7 +1252,7 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
1252
1252
  **/
1253
1253
  coretime: {
1254
1254
  /**
1255
- * The ParaId of the broker system parachain.
1255
+ * The ParaId of the coretime chain.
1256
1256
  **/
1257
1257
  brokerId: number;
1258
1258
 
package/rococo/query.d.ts CHANGED
@@ -125,6 +125,7 @@ import type {
125
125
  PalletXcmVersionMigrationStage,
126
126
  PalletXcmRemoteLockedFungibleRecord,
127
127
  XcmVersionedAssetId,
128
+ StagingXcmV4Xcm,
128
129
  SpConsensusBeefyEcdsaCryptoPublic,
129
130
  SpConsensusBeefyMmrBeefyAuthoritySet,
130
131
  PolkadotRuntimeCommonAssignedSlotsParachainTemporarySlot,
@@ -3266,6 +3267,31 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3266
3267
  **/
3267
3268
  xcmExecutionSuspended: GenericStorageQuery<Rv, () => boolean>;
3268
3269
 
3270
+ /**
3271
+ * Whether or not incoming XCMs (both executed locally and received) should be recorded.
3272
+ * Only one XCM program will be recorded at a time.
3273
+ * This is meant to be used in runtime APIs, and it's advised it stays false
3274
+ * for all other use cases, so as to not degrade regular performance.
3275
+ *
3276
+ * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
3277
+ * implementation in the XCM executor configuration.
3278
+ *
3279
+ * @param {Callback<boolean> =} callback
3280
+ **/
3281
+ shouldRecordXcm: GenericStorageQuery<Rv, () => boolean>;
3282
+
3283
+ /**
3284
+ * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
3285
+ * will be stored here.
3286
+ * Runtime APIs can fetch the XCM that was executed by accessing this value.
3287
+ *
3288
+ * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
3289
+ * implementation in the XCM executor configuration.
3290
+ *
3291
+ * @param {Callback<StagingXcmV4Xcm | undefined> =} callback
3292
+ **/
3293
+ recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV4Xcm | undefined>;
3294
+
3269
3295
  /**
3270
3296
  * Generic pallet storage query
3271
3297
  **/
@@ -5,8 +5,8 @@ import type {
5
5
  RuntimeVersion,
6
6
  Header,
7
7
  Result,
8
- DispatchError,
9
8
  UncheckedExtrinsicLike,
9
+ DispatchError,
10
10
  UncheckedExtrinsic,
11
11
  H256,
12
12
  BitSequence,
@@ -18,11 +18,14 @@ import type {
18
18
  SpRuntimeBlock,
19
19
  SpRuntimeExtrinsicInclusionMode,
20
20
  XcmVersionedAssetId,
21
- XcmFeePaymentRuntimeApiError,
21
+ XcmFeePaymentRuntimeApiFeesError,
22
22
  SpWeightsWeightV2Weight,
23
23
  XcmVersionedXcm,
24
24
  XcmVersionedAssets,
25
25
  XcmVersionedLocation,
26
+ XcmFeePaymentRuntimeApiDryRunExtrinsicDryRunEffects,
27
+ XcmFeePaymentRuntimeApiDryRunError,
28
+ XcmFeePaymentRuntimeApiDryRunXcmDryRunEffects,
26
29
  SpCoreOpaqueMetadata,
27
30
  SpRuntimeTransactionValidityTransactionValidityError,
28
31
  SpInherentsInherentData,
@@ -58,12 +61,12 @@ import type {
58
61
  PolkadotPrimitivesV7ApprovalVotingParams,
59
62
  PolkadotPrimitivesV7CoreIndex,
60
63
  SpConsensusBeefyValidatorSet,
61
- SpConsensusBeefyEquivocationProof,
64
+ SpConsensusBeefyDoubleVotingProof,
62
65
  SpConsensusBeefyOpaqueKeyOwnershipProof,
63
66
  SpConsensusBeefyEcdsaCryptoPublic,
64
67
  SpMmrPrimitivesError,
65
68
  SpMmrPrimitivesEncodableOpaqueLeaf,
66
- SpMmrPrimitivesProof,
69
+ SpMmrPrimitivesLeafProof,
67
70
  SpConsensusGrandpaAppPublic,
68
71
  SpConsensusGrandpaEquivocationProof,
69
72
  SpConsensusGrandpaOpaqueKeyOwnershipProof,
@@ -129,7 +132,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
129
132
  **/
130
133
  queryAcceptablePaymentAssets: GenericRuntimeApiMethod<
131
134
  Rv,
132
- (xcmVersion: number) => Promise<Result<Array<XcmVersionedAssetId>, XcmFeePaymentRuntimeApiError>>
135
+ (xcmVersion: number) => Promise<Result<Array<XcmVersionedAssetId>, XcmFeePaymentRuntimeApiFeesError>>
133
136
  >;
134
137
 
135
138
  /**
@@ -144,7 +147,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
144
147
  **/
145
148
  queryXcmWeight: GenericRuntimeApiMethod<
146
149
  Rv,
147
- (message: XcmVersionedXcm) => Promise<Result<SpWeightsWeightV2Weight, XcmFeePaymentRuntimeApiError>>
150
+ (message: XcmVersionedXcm) => Promise<Result<SpWeightsWeightV2Weight, XcmFeePaymentRuntimeApiFeesError>>
148
151
  >;
149
152
 
150
153
  /**
@@ -164,7 +167,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
164
167
  (
165
168
  weight: SpWeightsWeightV2Weight,
166
169
  asset: XcmVersionedAssetId,
167
- ) => Promise<Result<bigint, XcmFeePaymentRuntimeApiError>>
170
+ ) => Promise<Result<bigint, XcmFeePaymentRuntimeApiFeesError>>
168
171
  >;
169
172
 
170
173
  /**
@@ -186,7 +189,44 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
186
189
  (
187
190
  destination: XcmVersionedLocation,
188
191
  message: XcmVersionedXcm,
189
- ) => Promise<Result<XcmVersionedAssets, XcmFeePaymentRuntimeApiError>>
192
+ ) => Promise<Result<XcmVersionedAssets, XcmFeePaymentRuntimeApiFeesError>>
193
+ >;
194
+
195
+ /**
196
+ * Generic runtime api call
197
+ **/
198
+ [method: string]: GenericRuntimeApiMethod<Rv>;
199
+ };
200
+ /**
201
+ * @runtimeapi: XcmDryRunApi - 0x12cbf43724c82779
202
+ **/
203
+ xcmDryRunApi: {
204
+ /**
205
+ * Dry run extrinsic.
206
+ *
207
+ * @callname: XcmDryRunApi_dry_run_extrinsic
208
+ * @param {UncheckedExtrinsicLike} extrinsic
209
+ **/
210
+ dryRunExtrinsic: GenericRuntimeApiMethod<
211
+ Rv,
212
+ (
213
+ extrinsic: UncheckedExtrinsicLike,
214
+ ) => Promise<Result<XcmFeePaymentRuntimeApiDryRunExtrinsicDryRunEffects, XcmFeePaymentRuntimeApiDryRunError>>
215
+ >;
216
+
217
+ /**
218
+ * Dry run XCM program
219
+ *
220
+ * @callname: XcmDryRunApi_dry_run_xcm
221
+ * @param {XcmVersionedLocation} origin_location
222
+ * @param {XcmVersionedXcm} xcm
223
+ **/
224
+ dryRunXcm: GenericRuntimeApiMethod<
225
+ Rv,
226
+ (
227
+ originLocation: XcmVersionedLocation,
228
+ xcm: XcmVersionedXcm,
229
+ ) => Promise<Result<XcmFeePaymentRuntimeApiDryRunXcmDryRunEffects, XcmFeePaymentRuntimeApiDryRunError>>
190
230
  >;
191
231
 
192
232
  /**
@@ -739,13 +779,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
739
779
  * hardcoded to return `None`). Only useful in an offchain context.
740
780
  *
741
781
  * @callname: BeefyApi_submit_report_equivocation_unsigned_extrinsic
742
- * @param {SpConsensusBeefyEquivocationProof} equivocation_proof
782
+ * @param {SpConsensusBeefyDoubleVotingProof} equivocation_proof
743
783
  * @param {SpConsensusBeefyOpaqueKeyOwnershipProof} key_owner_proof
744
784
  **/
745
785
  submitReportEquivocationUnsignedExtrinsic: GenericRuntimeApiMethod<
746
786
  Rv,
747
787
  (
748
- equivocationProof: SpConsensusBeefyEquivocationProof,
788
+ equivocationProof: SpConsensusBeefyDoubleVotingProof,
749
789
  keyOwnerProof: SpConsensusBeefyOpaqueKeyOwnershipProof,
750
790
  ) => Promise<[] | undefined>
751
791
  >;
@@ -811,7 +851,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
811
851
  (
812
852
  blockNumbers: Array<number>,
813
853
  bestKnownBlockNumber?: number | undefined,
814
- ) => Promise<Result<[Array<SpMmrPrimitivesEncodableOpaqueLeaf>, SpMmrPrimitivesProof], SpMmrPrimitivesError>>
854
+ ) => Promise<Result<[Array<SpMmrPrimitivesEncodableOpaqueLeaf>, SpMmrPrimitivesLeafProof], SpMmrPrimitivesError>>
815
855
  >;
816
856
 
817
857
  /**
@@ -819,17 +859,17 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
819
859
  *
820
860
  * Note this function will use on-chain MMR root hash and check if the proof matches the hash.
821
861
  * Note, the leaves should be sorted such that corresponding leaves and leaf indices have the
822
- * same position in both the `leaves` vector and the `leaf_indices` vector contained in the [Proof]
862
+ * same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof]
823
863
  *
824
864
  * @callname: MmrApi_verify_proof
825
865
  * @param {Array<SpMmrPrimitivesEncodableOpaqueLeaf>} leaves
826
- * @param {SpMmrPrimitivesProof} proof
866
+ * @param {SpMmrPrimitivesLeafProof} proof
827
867
  **/
828
868
  verifyProof: GenericRuntimeApiMethod<
829
869
  Rv,
830
870
  (
831
871
  leaves: Array<SpMmrPrimitivesEncodableOpaqueLeaf>,
832
- proof: SpMmrPrimitivesProof,
872
+ proof: SpMmrPrimitivesLeafProof,
833
873
  ) => Promise<Result<[], SpMmrPrimitivesError>>
834
874
  >;
835
875
 
@@ -840,19 +880,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
840
880
  * proof is verified against given MMR root hash.
841
881
  *
842
882
  * Note, the leaves should be sorted such that corresponding leaves and leaf indices have the
843
- * same position in both the `leaves` vector and the `leaf_indices` vector contained in the [Proof]
883
+ * same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof]
844
884
  *
845
885
  * @callname: MmrApi_verify_proof_stateless
846
886
  * @param {H256} root
847
887
  * @param {Array<SpMmrPrimitivesEncodableOpaqueLeaf>} leaves
848
- * @param {SpMmrPrimitivesProof} proof
888
+ * @param {SpMmrPrimitivesLeafProof} proof
849
889
  **/
850
890
  verifyProofStateless: GenericRuntimeApiMethod<
851
891
  Rv,
852
892
  (
853
893
  root: H256,
854
894
  leaves: Array<SpMmrPrimitivesEncodableOpaqueLeaf>,
855
- proof: SpMmrPrimitivesProof,
895
+ proof: SpMmrPrimitivesLeafProof,
856
896
  ) => Promise<Result<[], SpMmrPrimitivesError>>
857
897
  >;
858
898
 
package/rococo/tx.d.ts CHANGED
@@ -74,7 +74,7 @@ import type {
74
74
  XcmV3WeightLimit,
75
75
  StagingXcmExecutorAssetTransferTransferType,
76
76
  XcmVersionedAssetId,
77
- SpConsensusBeefyEquivocationProof,
77
+ SpConsensusBeefyDoubleVotingProof,
78
78
  PolkadotRuntimeParachainsParasParaGenesisArgs,
79
79
  PolkadotRuntimeCommonAssignedSlotsSlotLeasePeriodStart,
80
80
  PalletStateTrieMigrationMigrationLimits,
@@ -871,6 +871,35 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
871
871
  >
872
872
  >;
873
873
 
874
+ /**
875
+ * Burn the specified liquid free balance from the origin account.
876
+ *
877
+ * If the origin's account ends up below the existential deposit as a result
878
+ * of the burn and `keep_alive` is false, the account will be reaped.
879
+ *
880
+ * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
881
+ * this `burn` operation will reduce total issuance by the amount _burned_.
882
+ *
883
+ * @param {bigint} value
884
+ * @param {boolean} keepAlive
885
+ **/
886
+ burn: GenericTxCall<
887
+ Rv,
888
+ (
889
+ value: bigint,
890
+ keepAlive: boolean,
891
+ ) => ChainSubmittableExtrinsic<
892
+ Rv,
893
+ {
894
+ pallet: 'Balances';
895
+ palletCall: {
896
+ name: 'Burn';
897
+ params: { value: bigint; keepAlive: boolean };
898
+ };
899
+ }
900
+ >
901
+ >;
902
+
874
903
  /**
875
904
  * Generic pallet tx call
876
905
  **/
@@ -6609,6 +6638,35 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6609
6638
  >
6610
6639
  >;
6611
6640
 
6641
+ /**
6642
+ * Burn the specified liquid free balance from the origin account.
6643
+ *
6644
+ * If the origin's account ends up below the existential deposit as a result
6645
+ * of the burn and `keep_alive` is false, the account will be reaped.
6646
+ *
6647
+ * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
6648
+ * this `burn` operation will reduce total issuance by the amount _burned_.
6649
+ *
6650
+ * @param {bigint} value
6651
+ * @param {boolean} keepAlive
6652
+ **/
6653
+ burn: GenericTxCall<
6654
+ Rv,
6655
+ (
6656
+ value: bigint,
6657
+ keepAlive: boolean,
6658
+ ) => ChainSubmittableExtrinsic<
6659
+ Rv,
6660
+ {
6661
+ pallet: 'NisCounterpartBalances';
6662
+ palletCall: {
6663
+ name: 'Burn';
6664
+ params: { value: bigint; keepAlive: boolean };
6665
+ };
6666
+ }
6667
+ >
6668
+ >;
6669
+
6612
6670
  /**
6613
6671
  * Generic pallet tx call
6614
6672
  **/
@@ -9192,6 +9250,12 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
9192
9250
  **/
9193
9251
  coretime: {
9194
9252
  /**
9253
+ * Request the configuration to be updated with the specified number of cores. Warning:
9254
+ * Since this only schedules a configuration update, it takes two sessions to come into
9255
+ * effect.
9256
+ *
9257
+ * - `origin`: Root or the Coretime Chain
9258
+ * - `count`: total number of cores
9195
9259
  *
9196
9260
  * @param {number} count
9197
9261
  **/
@@ -9214,7 +9278,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
9214
9278
  * to be used.
9215
9279
  *
9216
9280
  * Parameters:
9217
- * -`origin`: The `ExternalBrokerOrigin`, assumed to be the Broker system parachain.
9281
+ * -`origin`: The `ExternalBrokerOrigin`, assumed to be the coretime chain.
9218
9282
  * -`core`: The core that should be scheduled.
9219
9283
  * -`begin`: The starting blockheight of the instruction.
9220
9284
  * -`assignment`: How the blockspace should be utilised.
@@ -9857,13 +9921,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
9857
9921
  * against the extracted offender. If both are valid, the offence
9858
9922
  * will be reported.
9859
9923
  *
9860
- * @param {SpConsensusBeefyEquivocationProof} equivocationProof
9924
+ * @param {SpConsensusBeefyDoubleVotingProof} equivocationProof
9861
9925
  * @param {SpSessionMembershipProof} keyOwnerProof
9862
9926
  **/
9863
9927
  reportEquivocation: GenericTxCall<
9864
9928
  Rv,
9865
9929
  (
9866
- equivocationProof: SpConsensusBeefyEquivocationProof,
9930
+ equivocationProof: SpConsensusBeefyDoubleVotingProof,
9867
9931
  keyOwnerProof: SpSessionMembershipProof,
9868
9932
  ) => ChainSubmittableExtrinsic<
9869
9933
  Rv,
@@ -9871,7 +9935,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
9871
9935
  pallet: 'Beefy';
9872
9936
  palletCall: {
9873
9937
  name: 'ReportEquivocation';
9874
- params: { equivocationProof: SpConsensusBeefyEquivocationProof; keyOwnerProof: SpSessionMembershipProof };
9938
+ params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
9875
9939
  };
9876
9940
  }
9877
9941
  >
@@ -9888,13 +9952,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
9888
9952
  * if the block author is defined it will be defined as the equivocation
9889
9953
  * reporter.
9890
9954
  *
9891
- * @param {SpConsensusBeefyEquivocationProof} equivocationProof
9955
+ * @param {SpConsensusBeefyDoubleVotingProof} equivocationProof
9892
9956
  * @param {SpSessionMembershipProof} keyOwnerProof
9893
9957
  **/
9894
9958
  reportEquivocationUnsigned: GenericTxCall<
9895
9959
  Rv,
9896
9960
  (
9897
- equivocationProof: SpConsensusBeefyEquivocationProof,
9961
+ equivocationProof: SpConsensusBeefyDoubleVotingProof,
9898
9962
  keyOwnerProof: SpSessionMembershipProof,
9899
9963
  ) => ChainSubmittableExtrinsic<
9900
9964
  Rv,
@@ -9902,7 +9966,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
9902
9966
  pallet: 'Beefy';
9903
9967
  palletCall: {
9904
9968
  name: 'ReportEquivocationUnsigned';
9905
- params: { equivocationProof: SpConsensusBeefyEquivocationProof; keyOwnerProof: SpSessionMembershipProof };
9969
+ params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
9906
9970
  };
9907
9971
  }
9908
9972
  >
package/rococo/types.d.ts CHANGED
@@ -1571,7 +1571,17 @@ export type PalletBalancesCall =
1571
1571
  *
1572
1572
  * # Example
1573
1573
  **/
1574
- | { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } };
1574
+ | { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } }
1575
+ /**
1576
+ * Burn the specified liquid free balance from the origin account.
1577
+ *
1578
+ * If the origin's account ends up below the existential deposit as a result
1579
+ * of the burn and `keep_alive` is false, the account will be reaped.
1580
+ *
1581
+ * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
1582
+ * this `burn` operation will reduce total issuance by the amount _burned_.
1583
+ **/
1584
+ | { name: 'Burn'; params: { value: bigint; keepAlive: boolean } };
1575
1585
 
1576
1586
  export type PalletBalancesCallLike =
1577
1587
  /**
@@ -1646,7 +1656,17 @@ export type PalletBalancesCallLike =
1646
1656
  *
1647
1657
  * # Example
1648
1658
  **/
1649
- | { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } };
1659
+ | { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } }
1660
+ /**
1661
+ * Burn the specified liquid free balance from the origin account.
1662
+ *
1663
+ * If the origin's account ends up below the existential deposit as a result
1664
+ * of the burn and `keep_alive` is false, the account will be reaped.
1665
+ *
1666
+ * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
1667
+ * this `burn` operation will reduce total issuance by the amount _burned_.
1668
+ **/
1669
+ | { name: 'Burn'; params: { value: bigint; keepAlive: boolean } };
1650
1670
 
1651
1671
  export type PalletBalancesAdjustmentDirection = 'Increase' | 'Decrease';
1652
1672
 
@@ -8361,13 +8381,21 @@ export type SpRuntimeMultiSigner =
8361
8381
  * Contains a variant per dispatchable extrinsic that this pallet has.
8362
8382
  **/
8363
8383
  export type PolkadotRuntimeParachainsCoretimePalletCall =
8384
+ /**
8385
+ * Request the configuration to be updated with the specified number of cores. Warning:
8386
+ * Since this only schedules a configuration update, it takes two sessions to come into
8387
+ * effect.
8388
+ *
8389
+ * - `origin`: Root or the Coretime Chain
8390
+ * - `count`: total number of cores
8391
+ **/
8364
8392
  | { name: 'RequestCoreCount'; params: { count: number } }
8365
8393
  /**
8366
8394
  * Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
8367
8395
  * to be used.
8368
8396
  *
8369
8397
  * Parameters:
8370
- * -`origin`: The `ExternalBrokerOrigin`, assumed to be the Broker system parachain.
8398
+ * -`origin`: The `ExternalBrokerOrigin`, assumed to be the coretime chain.
8371
8399
  * -`core`: The core that should be scheduled.
8372
8400
  * -`begin`: The starting blockheight of the instruction.
8373
8401
  * -`assignment`: How the blockspace should be utilised.
@@ -8386,13 +8414,21 @@ export type PolkadotRuntimeParachainsCoretimePalletCall =
8386
8414
  };
8387
8415
 
8388
8416
  export type PolkadotRuntimeParachainsCoretimePalletCallLike =
8417
+ /**
8418
+ * Request the configuration to be updated with the specified number of cores. Warning:
8419
+ * Since this only schedules a configuration update, it takes two sessions to come into
8420
+ * effect.
8421
+ *
8422
+ * - `origin`: Root or the Coretime Chain
8423
+ * - `count`: total number of cores
8424
+ **/
8389
8425
  | { name: 'RequestCoreCount'; params: { count: number } }
8390
8426
  /**
8391
8427
  * Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
8392
8428
  * to be used.
8393
8429
  *
8394
8430
  * Parameters:
8395
- * -`origin`: The `ExternalBrokerOrigin`, assumed to be the Broker system parachain.
8431
+ * -`origin`: The `ExternalBrokerOrigin`, assumed to be the coretime chain.
8396
8432
  * -`core`: The core that should be scheduled.
8397
8433
  * -`begin`: The starting blockheight of the instruction.
8398
8434
  * -`assignment`: How the blockspace should be utilised.
@@ -9558,7 +9594,7 @@ export type PalletBeefyCall =
9558
9594
  **/
9559
9595
  | {
9560
9596
  name: 'ReportEquivocation';
9561
- params: { equivocationProof: SpConsensusBeefyEquivocationProof; keyOwnerProof: SpSessionMembershipProof };
9597
+ params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
9562
9598
  }
9563
9599
  /**
9564
9600
  * Report voter equivocation/misbehavior. This method will verify the
@@ -9573,7 +9609,7 @@ export type PalletBeefyCall =
9573
9609
  **/
9574
9610
  | {
9575
9611
  name: 'ReportEquivocationUnsigned';
9576
- params: { equivocationProof: SpConsensusBeefyEquivocationProof; keyOwnerProof: SpSessionMembershipProof };
9612
+ params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
9577
9613
  }
9578
9614
  /**
9579
9615
  * Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
@@ -9592,7 +9628,7 @@ export type PalletBeefyCallLike =
9592
9628
  **/
9593
9629
  | {
9594
9630
  name: 'ReportEquivocation';
9595
- params: { equivocationProof: SpConsensusBeefyEquivocationProof; keyOwnerProof: SpSessionMembershipProof };
9631
+ params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
9596
9632
  }
9597
9633
  /**
9598
9634
  * Report voter equivocation/misbehavior. This method will verify the
@@ -9607,7 +9643,7 @@ export type PalletBeefyCallLike =
9607
9643
  **/
9608
9644
  | {
9609
9645
  name: 'ReportEquivocationUnsigned';
9610
- params: { equivocationProof: SpConsensusBeefyEquivocationProof; keyOwnerProof: SpSessionMembershipProof };
9646
+ params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
9611
9647
  }
9612
9648
  /**
9613
9649
  * Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
@@ -9617,7 +9653,7 @@ export type PalletBeefyCallLike =
9617
9653
  **/
9618
9654
  | { name: 'SetNewGenesis'; params: { delayInBlocks: number } };
9619
9655
 
9620
- export type SpConsensusBeefyEquivocationProof = {
9656
+ export type SpConsensusBeefyDoubleVotingProof = {
9621
9657
  first: SpConsensusBeefyVoteMessage;
9622
9658
  second: SpConsensusBeefyVoteMessage;
9623
9659
  };
@@ -11342,7 +11378,8 @@ export type FrameSupportMessagesProcessMessageError =
11342
11378
  | { tag: 'Corrupt' }
11343
11379
  | { tag: 'Unsupported' }
11344
11380
  | { tag: 'Overweight'; value: SpWeightsWeightV2Weight }
11345
- | { tag: 'Yield' };
11381
+ | { tag: 'Yield' }
11382
+ | { tag: 'StackLimitReached' };
11346
11383
 
11347
11384
  /**
11348
11385
  * The `Event` enum of this pallet
@@ -14519,7 +14556,7 @@ export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrin
14519
14556
 
14520
14557
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
14521
14558
 
14522
- export type XcmFeePaymentRuntimeApiError =
14559
+ export type XcmFeePaymentRuntimeApiFeesError =
14523
14560
  | 'Unimplemented'
14524
14561
  | 'VersionedConversionFailed'
14525
14562
  | 'WeightNotComputable'
@@ -14527,6 +14564,21 @@ export type XcmFeePaymentRuntimeApiError =
14527
14564
  | 'AssetNotFound'
14528
14565
  | 'Unroutable';
14529
14566
 
14567
+ export type XcmFeePaymentRuntimeApiDryRunExtrinsicDryRunEffects = {
14568
+ executionResult: Result<[], DispatchError>;
14569
+ emittedEvents: Array<RococoRuntimeRuntimeEvent>;
14570
+ localXcm?: XcmVersionedXcm | undefined;
14571
+ forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
14572
+ };
14573
+
14574
+ export type XcmFeePaymentRuntimeApiDryRunError = 'Unimplemented' | 'VersionedConversionFailed' | 'InvalidExtrinsic';
14575
+
14576
+ export type XcmFeePaymentRuntimeApiDryRunXcmDryRunEffects = {
14577
+ executionResult: StagingXcmV4TraitsOutcome;
14578
+ emittedEvents: Array<RococoRuntimeRuntimeEvent>;
14579
+ forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
14580
+ };
14581
+
14530
14582
  export type SpCoreOpaqueMetadata = Bytes;
14531
14583
 
14532
14584
  export type SpRuntimeTransactionValidityTransactionValidityError =
@@ -14688,7 +14740,7 @@ export type SpMmrPrimitivesError =
14688
14740
 
14689
14741
  export type SpMmrPrimitivesEncodableOpaqueLeaf = Bytes;
14690
14742
 
14691
- export type SpMmrPrimitivesProof = { leafIndices: Array<bigint>; leafCount: bigint; items: Array<H256> };
14743
+ export type SpMmrPrimitivesLeafProof = { leafIndices: Array<bigint>; leafCount: bigint; items: Array<H256> };
14692
14744
 
14693
14745
  export type SpConsensusGrandpaOpaqueKeyOwnershipProof = Bytes;
14694
14746