Skip to content

Commit 2db1715

Browse files
Update Substrate types to Polkadot stable2503-5 (#6172)
1 parent e87df30 commit 2db1715

File tree

7 files changed

+294
-163
lines changed

7 files changed

+294
-163
lines changed

packages/api-augment/src/substrate/runtime.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import type { OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
1212
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
1313
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
1414
import type { AccountId32, H160, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
15-
import type { FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, FrameSystemEventRecord, PalletContractsPrimitivesCode, PalletContractsPrimitivesCodeUploadReturnValue, PalletContractsPrimitivesContractAccessError, PalletContractsPrimitivesContractResult, PalletContractsPrimitivesExecReturnValue, PalletContractsPrimitivesStorageDeposit, PalletContractsWasmDeterminism, PalletReviveEvmApiDebugRpcTypesCallTrace, PalletReviveEvmApiDebugRpcTypesTracerConfig, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMixnetMixnode, SpMixnetMixnodesErr, SpMixnetSessionStatus, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpStatementStoreRuntimeApiInvalidStatement, SpStatementStoreRuntimeApiStatementSource, SpStatementStoreRuntimeApiValidStatement, SpStatementStoreStatement, SpVersionRuntimeVersion, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
15+
import type { FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, FrameSystemEventRecord, PalletContractsPrimitivesCode, PalletContractsPrimitivesCodeUploadReturnValue, PalletContractsPrimitivesContractAccessError, PalletContractsPrimitivesContractResult, PalletContractsPrimitivesExecReturnValue, PalletContractsPrimitivesStorageDeposit, PalletContractsWasmDeterminism, PalletReviveEvmApiDebugRpcTypesTrace, PalletReviveEvmApiDebugRpcTypesTracerType, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMixnetMixnode, SpMixnetMixnodesErr, SpMixnetSessionStatus, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpStatementStoreRuntimeApiInvalidStatement, SpStatementStoreRuntimeApiStatementSource, SpStatementStoreRuntimeApiValidStatement, SpStatementStoreStatement, SpVersionRuntimeVersion, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
1616
import type { IExtrinsic, Observable } from '@polkadot/types/types';
1717

1818
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -458,15 +458,15 @@ declare module '@polkadot/api-base/types/calls' {
458458
/**
459459
* Traces the execution of an entire block and returns call traces.,, This is intended to be called through `state_call` to replay the block from the, parent block.,, See eth-rpc `debug_traceBlockByNumber` for usage.
460460
**/
461-
traceBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerConfig | { CallTracer: any } | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesCallTrace]>>>>;
461+
traceBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesTrace]>>>>;
462462
/**
463463
* Dry run and return the trace of the given call.,, See eth-rpc `debug_traceCall` for usage.
464464
**/
465-
traceCall: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerConfig | { CallTracer: any } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesCallTrace, PalletRevivePrimitivesEthTransactError>>>;
465+
traceCall: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
466466
/**
467467
* Traces the execution of a specific transaction within a block.,, This is intended to be called through `state_call` to replay the block from the, parent hash up to the transaction.,, See eth-rpc `debug_traceTransaction` for usage.
468468
**/
469-
traceTx: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, tx_index: u32 | AnyNumber | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerConfig | { CallTracer: any } | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesCallTrace>>>;
469+
traceTx: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, tx_index: u32 | AnyNumber | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesTrace>>>;
470470
/**
471471
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
472472
**/

packages/types-augment/src/lookup/substrate.ts

Lines changed: 34 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7351,7 +7351,7 @@ export default {
73517351
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
73527352
},
73537353
/**
7354-
* Lookup621: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32, DataProvider>
7354+
* Lookup621: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32, VoterType>
73557355
**/
73567356
PalletElectionProviderMultiPhaseRoundSnapshot: {
73577357
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
@@ -9436,17 +9436,30 @@ export default {
94369436
_enum: ['DoesntExist', 'KeyDecodingFailed']
94379437
},
94389438
/**
9439-
* Lookup1084: pallet_revive::evm::api::debug_rpc_types::TracerConfig
9439+
* Lookup1084: pallet_revive::evm::api::debug_rpc_types::TracerType
94409440
**/
9441-
PalletReviveEvmApiDebugRpcTypesTracerConfig: {
9441+
PalletReviveEvmApiDebugRpcTypesTracerType: {
94429442
_enum: {
9443-
CallTracer: {
9444-
withLogs: 'bool'
9445-
}
9443+
CallTracer: 'Option<PalletReviveEvmApiDebugRpcTypesCallTracerConfig>'
9444+
}
9445+
},
9446+
/**
9447+
* Lookup1086: pallet_revive::evm::api::debug_rpc_types::CallTracerConfig
9448+
**/
9449+
PalletReviveEvmApiDebugRpcTypesCallTracerConfig: {
9450+
withLogs: 'bool',
9451+
onlyTopCall: 'bool'
9452+
},
9453+
/**
9454+
* Lookup1089: pallet_revive::evm::api::debug_rpc_types::Trace
9455+
**/
9456+
PalletReviveEvmApiDebugRpcTypesTrace: {
9457+
_enum: {
9458+
Call: 'PalletReviveEvmApiDebugRpcTypesCallTrace'
94469459
}
94479460
},
94489461
/**
9449-
* Lookup1087: pallet_revive::evm::api::debug_rpc_types::CallTrace<primitive_types::U256>
9462+
* Lookup1090: pallet_revive::evm::api::debug_rpc_types::CallTrace<primitive_types::U256>
94509463
**/
94519464
PalletReviveEvmApiDebugRpcTypesCallTrace: {
94529465
from: 'H160',
@@ -9463,7 +9476,7 @@ export default {
94639476
callType: 'PalletReviveEvmApiDebugRpcTypesCallType'
94649477
},
94659478
/**
9466-
* Lookup1091: pallet_revive::evm::api::debug_rpc_types::CallLog
9479+
* Lookup1094: pallet_revive::evm::api::debug_rpc_types::CallLog
94679480
**/
94689481
PalletReviveEvmApiDebugRpcTypesCallLog: {
94699482
address: 'H160',
@@ -9472,86 +9485,86 @@ export default {
94729485
position: 'u32'
94739486
},
94749487
/**
9475-
* Lookup1092: pallet_revive::evm::api::debug_rpc_types::CallType
9488+
* Lookup1095: pallet_revive::evm::api::debug_rpc_types::CallType
94769489
**/
94779490
PalletReviveEvmApiDebugRpcTypesCallType: {
94789491
_enum: ['Call', 'StaticCall', 'DelegateCall']
94799492
},
94809493
/**
9481-
* Lookup1095: pallet_transaction_payment::types::RuntimeDispatchInfo<Balance, sp_weights::weight_v2::Weight>
9494+
* Lookup1098: pallet_transaction_payment::types::RuntimeDispatchInfo<Balance, sp_weights::weight_v2::Weight>
94829495
**/
94839496
PalletTransactionPaymentRuntimeDispatchInfo: {
94849497
weight: 'SpWeightsWeightV2Weight',
94859498
class: 'FrameSupportDispatchDispatchClass',
94869499
partialFee: 'u128'
94879500
},
94889501
/**
9489-
* Lookup1096: pallet_transaction_payment::types::FeeDetails<Balance>
9502+
* Lookup1099: pallet_transaction_payment::types::FeeDetails<Balance>
94909503
**/
94919504
PalletTransactionPaymentFeeDetails: {
94929505
inclusionFee: 'Option<PalletTransactionPaymentInclusionFee>',
94939506
tip: 'u128'
94949507
},
94959508
/**
9496-
* Lookup1098: pallet_transaction_payment::types::InclusionFee<Balance>
9509+
* Lookup1101: pallet_transaction_payment::types::InclusionFee<Balance>
94979510
**/
94989511
PalletTransactionPaymentInclusionFee: {
94999512
baseFee: 'u128',
95009513
lenFee: 'u128',
95019514
adjustedWeightFee: 'u128'
95029515
},
95039516
/**
9504-
* Lookup1102: sp_consensus_beefy::ValidatorSet<sp_consensus_beefy::ecdsa_crypto::Public>
9517+
* Lookup1105: sp_consensus_beefy::ValidatorSet<sp_consensus_beefy::ecdsa_crypto::Public>
95059518
**/
95069519
SpConsensusBeefyValidatorSet: {
95079520
validators: 'Vec<SpConsensusBeefyEcdsaCryptoPublic>',
95089521
id: 'u64'
95099522
},
95109523
/**
9511-
* Lookup1103: sp_consensus_beefy::ForkVotingProof<sp_runtime::generic::header::Header<Number, Hash>, sp_consensus_beefy::ecdsa_crypto::Public, sp_runtime::OpaqueValue>
9524+
* Lookup1106: sp_consensus_beefy::ForkVotingProof<sp_runtime::generic::header::Header<Number, Hash>, sp_consensus_beefy::ecdsa_crypto::Public, sp_runtime::OpaqueValue>
95129525
**/
95139526
SpConsensusBeefyForkVotingProofOpaqueValue: {
95149527
vote: 'SpConsensusBeefyVoteMessage',
95159528
ancestryProof: 'Bytes',
95169529
header: 'SpRuntimeHeader'
95179530
},
95189531
/**
9519-
* Lookup1105: sp_mmr_primitives::Error
9532+
* Lookup1108: sp_mmr_primitives::Error
95209533
**/
95219534
SpMmrPrimitivesError: {
95229535
_enum: ['InvalidNumericOp', 'Push', 'GetRoot', 'Commit', 'GenerateProof', 'Verify', 'LeafNotFound', 'PalletNotIncluded', 'InvalidLeafIndex', 'InvalidBestKnownBlock']
95239536
},
95249537
/**
9525-
* Lookup1111: sp_mmr_primitives::LeafProof<primitive_types::H256>
9538+
* Lookup1114: sp_mmr_primitives::LeafProof<primitive_types::H256>
95269539
**/
95279540
SpMmrPrimitivesLeafProof: {
95289541
leafIndices: 'Vec<u64>',
95299542
leafCount: 'u64',
95309543
items: 'Vec<H256>'
95319544
},
95329545
/**
9533-
* Lookup1113: sp_mixnet::types::SessionStatus
9546+
* Lookup1116: sp_mixnet::types::SessionStatus
95349547
**/
95359548
SpMixnetSessionStatus: {
95369549
currentIndex: 'u32',
95379550
phase: 'SpMixnetSessionPhase'
95389551
},
95399552
/**
9540-
* Lookup1114: sp_mixnet::types::SessionPhase
9553+
* Lookup1117: sp_mixnet::types::SessionPhase
95419554
**/
95429555
SpMixnetSessionPhase: {
95439556
_enum: ['CoverToCurrent', 'RequestsToCurrent', 'CoverToPrev', 'DisconnectFromPrev']
95449557
},
95459558
/**
9546-
* Lookup1117: sp_mixnet::types::Mixnode
9559+
* Lookup1120: sp_mixnet::types::Mixnode
95479560
**/
95489561
SpMixnetMixnode: {
95499562
kxPublic: '[u8;32]',
95509563
peerId: '[u8;32]',
95519564
externalAddresses: 'Vec<Bytes>'
95529565
},
95539566
/**
9554-
* Lookup1118: sp_mixnet::types::MixnodesErr
9567+
* Lookup1121: sp_mixnet::types::MixnodesErr
95559568
**/
95569569
SpMixnetMixnodesErr: {
95579570
_enum: {
@@ -9562,7 +9575,7 @@ export default {
95629575
}
95639576
},
95649577
/**
9565-
* Lookup1124: kitchensink_runtime::RuntimeError
9578+
* Lookup1127: kitchensink_runtime::RuntimeError
95669579
**/
95679580
KitchensinkRuntimeRuntimeError: {
95689581
_enum: {

packages/types-augment/src/lookup/types-substrate.ts

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10309,16 +10309,27 @@ declare module '@polkadot/types/lookup' {
1030910309
readonly type: 'DoesntExist' | 'KeyDecodingFailed';
1031010310
}
1031110311

10312-
/** @name PalletReviveEvmApiDebugRpcTypesTracerConfig (1084) */
10313-
interface PalletReviveEvmApiDebugRpcTypesTracerConfig extends Enum {
10312+
/** @name PalletReviveEvmApiDebugRpcTypesTracerType (1084) */
10313+
interface PalletReviveEvmApiDebugRpcTypesTracerType extends Enum {
1031410314
readonly isCallTracer: boolean;
10315-
readonly asCallTracer: {
10316-
readonly withLogs: bool;
10317-
} & Struct;
10315+
readonly asCallTracer: Option<PalletReviveEvmApiDebugRpcTypesCallTracerConfig>;
1031810316
readonly type: 'CallTracer';
1031910317
}
1032010318

10321-
/** @name PalletReviveEvmApiDebugRpcTypesCallTrace (1087) */
10319+
/** @name PalletReviveEvmApiDebugRpcTypesCallTracerConfig (1086) */
10320+
interface PalletReviveEvmApiDebugRpcTypesCallTracerConfig extends Struct {
10321+
readonly withLogs: bool;
10322+
readonly onlyTopCall: bool;
10323+
}
10324+
10325+
/** @name PalletReviveEvmApiDebugRpcTypesTrace (1089) */
10326+
interface PalletReviveEvmApiDebugRpcTypesTrace extends Enum {
10327+
readonly isCall: boolean;
10328+
readonly asCall: PalletReviveEvmApiDebugRpcTypesCallTrace;
10329+
readonly type: 'Call';
10330+
}
10331+
10332+
/** @name PalletReviveEvmApiDebugRpcTypesCallTrace (1090) */
1032210333
interface PalletReviveEvmApiDebugRpcTypesCallTrace extends Struct {
1032310334
readonly from: H160;
1032410335
readonly gas: U256;
@@ -10334,56 +10345,56 @@ declare module '@polkadot/types/lookup' {
1033410345
readonly callType: PalletReviveEvmApiDebugRpcTypesCallType;
1033510346
}
1033610347

10337-
/** @name PalletReviveEvmApiDebugRpcTypesCallLog (1091) */
10348+
/** @name PalletReviveEvmApiDebugRpcTypesCallLog (1094) */
1033810349
interface PalletReviveEvmApiDebugRpcTypesCallLog extends Struct {
1033910350
readonly address: H160;
1034010351
readonly topics: Vec<H256>;
1034110352
readonly data: Bytes;
1034210353
readonly position: u32;
1034310354
}
1034410355

10345-
/** @name PalletReviveEvmApiDebugRpcTypesCallType (1092) */
10356+
/** @name PalletReviveEvmApiDebugRpcTypesCallType (1095) */
1034610357
interface PalletReviveEvmApiDebugRpcTypesCallType extends Enum {
1034710358
readonly isCall: boolean;
1034810359
readonly isStaticCall: boolean;
1034910360
readonly isDelegateCall: boolean;
1035010361
readonly type: 'Call' | 'StaticCall' | 'DelegateCall';
1035110362
}
1035210363

10353-
/** @name PalletTransactionPaymentRuntimeDispatchInfo (1095) */
10364+
/** @name PalletTransactionPaymentRuntimeDispatchInfo (1098) */
1035410365
interface PalletTransactionPaymentRuntimeDispatchInfo extends Struct {
1035510366
readonly weight: SpWeightsWeightV2Weight;
1035610367
readonly class: FrameSupportDispatchDispatchClass;
1035710368
readonly partialFee: u128;
1035810369
}
1035910370

10360-
/** @name PalletTransactionPaymentFeeDetails (1096) */
10371+
/** @name PalletTransactionPaymentFeeDetails (1099) */
1036110372
interface PalletTransactionPaymentFeeDetails extends Struct {
1036210373
readonly inclusionFee: Option<PalletTransactionPaymentInclusionFee>;
1036310374
readonly tip: u128;
1036410375
}
1036510376

10366-
/** @name PalletTransactionPaymentInclusionFee (1098) */
10377+
/** @name PalletTransactionPaymentInclusionFee (1101) */
1036710378
interface PalletTransactionPaymentInclusionFee extends Struct {
1036810379
readonly baseFee: u128;
1036910380
readonly lenFee: u128;
1037010381
readonly adjustedWeightFee: u128;
1037110382
}
1037210383

10373-
/** @name SpConsensusBeefyValidatorSet (1102) */
10384+
/** @name SpConsensusBeefyValidatorSet (1105) */
1037410385
interface SpConsensusBeefyValidatorSet extends Struct {
1037510386
readonly validators: Vec<SpConsensusBeefyEcdsaCryptoPublic>;
1037610387
readonly id: u64;
1037710388
}
1037810389

10379-
/** @name SpConsensusBeefyForkVotingProofOpaqueValue (1103) */
10390+
/** @name SpConsensusBeefyForkVotingProofOpaqueValue (1106) */
1038010391
interface SpConsensusBeefyForkVotingProofOpaqueValue extends Struct {
1038110392
readonly vote: SpConsensusBeefyVoteMessage;
1038210393
readonly ancestryProof: Bytes;
1038310394
readonly header: SpRuntimeHeader;
1038410395
}
1038510396

10386-
/** @name SpMmrPrimitivesError (1105) */
10397+
/** @name SpMmrPrimitivesError (1108) */
1038710398
interface SpMmrPrimitivesError extends Enum {
1038810399
readonly isInvalidNumericOp: boolean;
1038910400
readonly isPush: boolean;
@@ -10398,20 +10409,20 @@ declare module '@polkadot/types/lookup' {
1039810409
readonly type: 'InvalidNumericOp' | 'Push' | 'GetRoot' | 'Commit' | 'GenerateProof' | 'Verify' | 'LeafNotFound' | 'PalletNotIncluded' | 'InvalidLeafIndex' | 'InvalidBestKnownBlock';
1039910410
}
1040010411

10401-
/** @name SpMmrPrimitivesLeafProof (1111) */
10412+
/** @name SpMmrPrimitivesLeafProof (1114) */
1040210413
interface SpMmrPrimitivesLeafProof extends Struct {
1040310414
readonly leafIndices: Vec<u64>;
1040410415
readonly leafCount: u64;
1040510416
readonly items: Vec<H256>;
1040610417
}
1040710418

10408-
/** @name SpMixnetSessionStatus (1113) */
10419+
/** @name SpMixnetSessionStatus (1116) */
1040910420
interface SpMixnetSessionStatus extends Struct {
1041010421
readonly currentIndex: u32;
1041110422
readonly phase: SpMixnetSessionPhase;
1041210423
}
1041310424

10414-
/** @name SpMixnetSessionPhase (1114) */
10425+
/** @name SpMixnetSessionPhase (1117) */
1041510426
interface SpMixnetSessionPhase extends Enum {
1041610427
readonly isCoverToCurrent: boolean;
1041710428
readonly isRequestsToCurrent: boolean;
@@ -10420,14 +10431,14 @@ declare module '@polkadot/types/lookup' {
1042010431
readonly type: 'CoverToCurrent' | 'RequestsToCurrent' | 'CoverToPrev' | 'DisconnectFromPrev';
1042110432
}
1042210433

10423-
/** @name SpMixnetMixnode (1117) */
10434+
/** @name SpMixnetMixnode (1120) */
1042410435
interface SpMixnetMixnode extends Struct {
1042510436
readonly kxPublic: U8aFixed;
1042610437
readonly peerId: U8aFixed;
1042710438
readonly externalAddresses: Vec<Bytes>;
1042810439
}
1042910440

10430-
/** @name SpMixnetMixnodesErr (1118) */
10441+
/** @name SpMixnetMixnodesErr (1121) */
1043110442
interface SpMixnetMixnodesErr extends Enum {
1043210443
readonly isInsufficientRegistrations: boolean;
1043310444
readonly asInsufficientRegistrations: {
@@ -10437,7 +10448,7 @@ declare module '@polkadot/types/lookup' {
1043710448
readonly type: 'InsufficientRegistrations';
1043810449
}
1043910450

10440-
/** @name KitchensinkRuntimeRuntimeError (1124) */
10451+
/** @name KitchensinkRuntimeRuntimeError (1127) */
1044110452
interface KitchensinkRuntimeRuntimeError extends Enum {
1044210453
readonly isSystem: boolean;
1044310454
readonly asSystem: FrameSystemError;

packages/types-augment/src/registry/substrate.ts

Lines changed: 4 additions & 2 deletions
Large diffs are not rendered by default.

packages/types-support/src/metadata/v15/substrate-hex.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)