Update Substrate types to Polkadot stable2503-5 (#6172)

This commit is contained in:
Valentin Fernandez
2025-06-26 23:13:40 -03:00
committed by GitHub
parent e87df306d8
commit 2db1715f14
7 changed files with 299 additions and 168 deletions
+34 -21
View File
@@ -7351,7 +7351,7 @@ export default {
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
},
/**
* Lookup621: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32, DataProvider>
* Lookup621: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32, VoterType>
**/
PalletElectionProviderMultiPhaseRoundSnapshot: {
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
@@ -9436,17 +9436,30 @@ export default {
_enum: ['DoesntExist', 'KeyDecodingFailed']
},
/**
* Lookup1084: pallet_revive::evm::api::debug_rpc_types::TracerConfig
* Lookup1084: pallet_revive::evm::api::debug_rpc_types::TracerType
**/
PalletReviveEvmApiDebugRpcTypesTracerConfig: {
PalletReviveEvmApiDebugRpcTypesTracerType: {
_enum: {
CallTracer: {
withLogs: 'bool'
}
CallTracer: 'Option<PalletReviveEvmApiDebugRpcTypesCallTracerConfig>'
}
},
/**
* Lookup1087: pallet_revive::evm::api::debug_rpc_types::CallTrace<primitive_types::U256>
* Lookup1086: pallet_revive::evm::api::debug_rpc_types::CallTracerConfig
**/
PalletReviveEvmApiDebugRpcTypesCallTracerConfig: {
withLogs: 'bool',
onlyTopCall: 'bool'
},
/**
* Lookup1089: pallet_revive::evm::api::debug_rpc_types::Trace
**/
PalletReviveEvmApiDebugRpcTypesTrace: {
_enum: {
Call: 'PalletReviveEvmApiDebugRpcTypesCallTrace'
}
},
/**
* Lookup1090: pallet_revive::evm::api::debug_rpc_types::CallTrace<primitive_types::U256>
**/
PalletReviveEvmApiDebugRpcTypesCallTrace: {
from: 'H160',
@@ -9463,7 +9476,7 @@ export default {
callType: 'PalletReviveEvmApiDebugRpcTypesCallType'
},
/**
* Lookup1091: pallet_revive::evm::api::debug_rpc_types::CallLog
* Lookup1094: pallet_revive::evm::api::debug_rpc_types::CallLog
**/
PalletReviveEvmApiDebugRpcTypesCallLog: {
address: 'H160',
@@ -9472,13 +9485,13 @@ export default {
position: 'u32'
},
/**
* Lookup1092: pallet_revive::evm::api::debug_rpc_types::CallType
* Lookup1095: pallet_revive::evm::api::debug_rpc_types::CallType
**/
PalletReviveEvmApiDebugRpcTypesCallType: {
_enum: ['Call', 'StaticCall', 'DelegateCall']
},
/**
* Lookup1095: pallet_transaction_payment::types::RuntimeDispatchInfo<Balance, sp_weights::weight_v2::Weight>
* Lookup1098: pallet_transaction_payment::types::RuntimeDispatchInfo<Balance, sp_weights::weight_v2::Weight>
**/
PalletTransactionPaymentRuntimeDispatchInfo: {
weight: 'SpWeightsWeightV2Weight',
@@ -9486,14 +9499,14 @@ export default {
partialFee: 'u128'
},
/**
* Lookup1096: pallet_transaction_payment::types::FeeDetails<Balance>
* Lookup1099: pallet_transaction_payment::types::FeeDetails<Balance>
**/
PalletTransactionPaymentFeeDetails: {
inclusionFee: 'Option<PalletTransactionPaymentInclusionFee>',
tip: 'u128'
},
/**
* Lookup1098: pallet_transaction_payment::types::InclusionFee<Balance>
* Lookup1101: pallet_transaction_payment::types::InclusionFee<Balance>
**/
PalletTransactionPaymentInclusionFee: {
baseFee: 'u128',
@@ -9501,14 +9514,14 @@ export default {
adjustedWeightFee: 'u128'
},
/**
* Lookup1102: sp_consensus_beefy::ValidatorSet<sp_consensus_beefy::ecdsa_crypto::Public>
* Lookup1105: sp_consensus_beefy::ValidatorSet<sp_consensus_beefy::ecdsa_crypto::Public>
**/
SpConsensusBeefyValidatorSet: {
validators: 'Vec<SpConsensusBeefyEcdsaCryptoPublic>',
id: 'u64'
},
/**
* Lookup1103: sp_consensus_beefy::ForkVotingProof<sp_runtime::generic::header::Header<Number, Hash>, sp_consensus_beefy::ecdsa_crypto::Public, sp_runtime::OpaqueValue>
* Lookup1106: sp_consensus_beefy::ForkVotingProof<sp_runtime::generic::header::Header<Number, Hash>, sp_consensus_beefy::ecdsa_crypto::Public, sp_runtime::OpaqueValue>
**/
SpConsensusBeefyForkVotingProofOpaqueValue: {
vote: 'SpConsensusBeefyVoteMessage',
@@ -9516,13 +9529,13 @@ export default {
header: 'SpRuntimeHeader'
},
/**
* Lookup1105: sp_mmr_primitives::Error
* Lookup1108: sp_mmr_primitives::Error
**/
SpMmrPrimitivesError: {
_enum: ['InvalidNumericOp', 'Push', 'GetRoot', 'Commit', 'GenerateProof', 'Verify', 'LeafNotFound', 'PalletNotIncluded', 'InvalidLeafIndex', 'InvalidBestKnownBlock']
},
/**
* Lookup1111: sp_mmr_primitives::LeafProof<primitive_types::H256>
* Lookup1114: sp_mmr_primitives::LeafProof<primitive_types::H256>
**/
SpMmrPrimitivesLeafProof: {
leafIndices: 'Vec<u64>',
@@ -9530,20 +9543,20 @@ export default {
items: 'Vec<H256>'
},
/**
* Lookup1113: sp_mixnet::types::SessionStatus
* Lookup1116: sp_mixnet::types::SessionStatus
**/
SpMixnetSessionStatus: {
currentIndex: 'u32',
phase: 'SpMixnetSessionPhase'
},
/**
* Lookup1114: sp_mixnet::types::SessionPhase
* Lookup1117: sp_mixnet::types::SessionPhase
**/
SpMixnetSessionPhase: {
_enum: ['CoverToCurrent', 'RequestsToCurrent', 'CoverToPrev', 'DisconnectFromPrev']
},
/**
* Lookup1117: sp_mixnet::types::Mixnode
* Lookup1120: sp_mixnet::types::Mixnode
**/
SpMixnetMixnode: {
kxPublic: '[u8;32]',
@@ -9551,7 +9564,7 @@ export default {
externalAddresses: 'Vec<Bytes>'
},
/**
* Lookup1118: sp_mixnet::types::MixnodesErr
* Lookup1121: sp_mixnet::types::MixnodesErr
**/
SpMixnetMixnodesErr: {
_enum: {
@@ -9562,7 +9575,7 @@ export default {
}
},
/**
* Lookup1124: kitchensink_runtime::RuntimeError
* Lookup1127: kitchensink_runtime::RuntimeError
**/
KitchensinkRuntimeRuntimeError: {
_enum: {
@@ -10309,16 +10309,27 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DoesntExist' | 'KeyDecodingFailed';
}
/** @name PalletReviveEvmApiDebugRpcTypesTracerConfig (1084) */
interface PalletReviveEvmApiDebugRpcTypesTracerConfig extends Enum {
/** @name PalletReviveEvmApiDebugRpcTypesTracerType (1084) */
interface PalletReviveEvmApiDebugRpcTypesTracerType extends Enum {
readonly isCallTracer: boolean;
readonly asCallTracer: {
readonly withLogs: bool;
} & Struct;
readonly asCallTracer: Option<PalletReviveEvmApiDebugRpcTypesCallTracerConfig>;
readonly type: 'CallTracer';
}
/** @name PalletReviveEvmApiDebugRpcTypesCallTrace (1087) */
/** @name PalletReviveEvmApiDebugRpcTypesCallTracerConfig (1086) */
interface PalletReviveEvmApiDebugRpcTypesCallTracerConfig extends Struct {
readonly withLogs: bool;
readonly onlyTopCall: bool;
}
/** @name PalletReviveEvmApiDebugRpcTypesTrace (1089) */
interface PalletReviveEvmApiDebugRpcTypesTrace extends Enum {
readonly isCall: boolean;
readonly asCall: PalletReviveEvmApiDebugRpcTypesCallTrace;
readonly type: 'Call';
}
/** @name PalletReviveEvmApiDebugRpcTypesCallTrace (1090) */
interface PalletReviveEvmApiDebugRpcTypesCallTrace extends Struct {
readonly from: H160;
readonly gas: U256;
@@ -10334,7 +10345,7 @@ declare module '@polkadot/types/lookup' {
readonly callType: PalletReviveEvmApiDebugRpcTypesCallType;
}
/** @name PalletReviveEvmApiDebugRpcTypesCallLog (1091) */
/** @name PalletReviveEvmApiDebugRpcTypesCallLog (1094) */
interface PalletReviveEvmApiDebugRpcTypesCallLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
@@ -10342,7 +10353,7 @@ declare module '@polkadot/types/lookup' {
readonly position: u32;
}
/** @name PalletReviveEvmApiDebugRpcTypesCallType (1092) */
/** @name PalletReviveEvmApiDebugRpcTypesCallType (1095) */
interface PalletReviveEvmApiDebugRpcTypesCallType extends Enum {
readonly isCall: boolean;
readonly isStaticCall: boolean;
@@ -10350,40 +10361,40 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Call' | 'StaticCall' | 'DelegateCall';
}
/** @name PalletTransactionPaymentRuntimeDispatchInfo (1095) */
/** @name PalletTransactionPaymentRuntimeDispatchInfo (1098) */
interface PalletTransactionPaymentRuntimeDispatchInfo extends Struct {
readonly weight: SpWeightsWeightV2Weight;
readonly class: FrameSupportDispatchDispatchClass;
readonly partialFee: u128;
}
/** @name PalletTransactionPaymentFeeDetails (1096) */
/** @name PalletTransactionPaymentFeeDetails (1099) */
interface PalletTransactionPaymentFeeDetails extends Struct {
readonly inclusionFee: Option<PalletTransactionPaymentInclusionFee>;
readonly tip: u128;
}
/** @name PalletTransactionPaymentInclusionFee (1098) */
/** @name PalletTransactionPaymentInclusionFee (1101) */
interface PalletTransactionPaymentInclusionFee extends Struct {
readonly baseFee: u128;
readonly lenFee: u128;
readonly adjustedWeightFee: u128;
}
/** @name SpConsensusBeefyValidatorSet (1102) */
/** @name SpConsensusBeefyValidatorSet (1105) */
interface SpConsensusBeefyValidatorSet extends Struct {
readonly validators: Vec<SpConsensusBeefyEcdsaCryptoPublic>;
readonly id: u64;
}
/** @name SpConsensusBeefyForkVotingProofOpaqueValue (1103) */
/** @name SpConsensusBeefyForkVotingProofOpaqueValue (1106) */
interface SpConsensusBeefyForkVotingProofOpaqueValue extends Struct {
readonly vote: SpConsensusBeefyVoteMessage;
readonly ancestryProof: Bytes;
readonly header: SpRuntimeHeader;
}
/** @name SpMmrPrimitivesError (1105) */
/** @name SpMmrPrimitivesError (1108) */
interface SpMmrPrimitivesError extends Enum {
readonly isInvalidNumericOp: boolean;
readonly isPush: boolean;
@@ -10398,20 +10409,20 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InvalidNumericOp' | 'Push' | 'GetRoot' | 'Commit' | 'GenerateProof' | 'Verify' | 'LeafNotFound' | 'PalletNotIncluded' | 'InvalidLeafIndex' | 'InvalidBestKnownBlock';
}
/** @name SpMmrPrimitivesLeafProof (1111) */
/** @name SpMmrPrimitivesLeafProof (1114) */
interface SpMmrPrimitivesLeafProof extends Struct {
readonly leafIndices: Vec<u64>;
readonly leafCount: u64;
readonly items: Vec<H256>;
}
/** @name SpMixnetSessionStatus (1113) */
/** @name SpMixnetSessionStatus (1116) */
interface SpMixnetSessionStatus extends Struct {
readonly currentIndex: u32;
readonly phase: SpMixnetSessionPhase;
}
/** @name SpMixnetSessionPhase (1114) */
/** @name SpMixnetSessionPhase (1117) */
interface SpMixnetSessionPhase extends Enum {
readonly isCoverToCurrent: boolean;
readonly isRequestsToCurrent: boolean;
@@ -10420,14 +10431,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'CoverToCurrent' | 'RequestsToCurrent' | 'CoverToPrev' | 'DisconnectFromPrev';
}
/** @name SpMixnetMixnode (1117) */
/** @name SpMixnetMixnode (1120) */
interface SpMixnetMixnode extends Struct {
readonly kxPublic: U8aFixed;
readonly peerId: U8aFixed;
readonly externalAddresses: Vec<Bytes>;
}
/** @name SpMixnetMixnodesErr (1118) */
/** @name SpMixnetMixnodesErr (1121) */
interface SpMixnetMixnodesErr extends Enum {
readonly isInsufficientRegistrations: boolean;
readonly asInsufficientRegistrations: {
@@ -10437,7 +10448,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InsufficientRegistrations';
}
/** @name KitchensinkRuntimeRuntimeError (1124) */
/** @name KitchensinkRuntimeRuntimeError (1127) */
interface KitchensinkRuntimeRuntimeError extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSystemError;
File diff suppressed because one or more lines are too long