From 65bedf260c846e49b3ec459b77107df533284a32 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Tue, 7 Oct 2025 20:44:01 +0000 Subject: [PATCH 01/51] fix: clippy warnings --- runtime/common/config/orml.rs | 2 +- runtime/common/config/parachain.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/common/config/orml.rs b/runtime/common/config/orml.rs index 23cf171444..f515421be3 100644 --- a/runtime/common/config/orml.rs +++ b/runtime/common/config/orml.rs @@ -31,7 +31,7 @@ use crate::{ runtime_common::config::xcm::{ ReserveProvider, SelfLocation, UniversalLocation, Weigher, XcmExecutorConfig, }, - RelayChainBlockNumberProvider, Runtime, RuntimeEvent, + RelayChainBlockNumberProvider, Runtime, }; // Signed version of balance diff --git a/runtime/common/config/parachain.rs b/runtime/common/config/parachain.rs index 34dba548d5..b6ef4fb89e 100644 --- a/runtime/common/config/parachain.rs +++ b/runtime/common/config/parachain.rs @@ -20,7 +20,7 @@ use cumulus_pallet_parachain_system::{ use cumulus_primitives_core::AggregateMessageOrigin; use frame_support::{ parameter_types, - traits::{ConstU32, EnqueueWithOrigin}, + traits::EnqueueWithOrigin, weights::Weight, }; use up_common::constants::*; From f65c36e337eb171749e4178539cf43fd11eb4bc1 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Tue, 7 Oct 2025 20:52:00 +0000 Subject: [PATCH 02/51] update polkadot types --- js-packages/types/augment-api-errors.ts | 2 +- js-packages/types/augment-types.ts | 4 +-- js-packages/types/default/types.ts | 11 +++++---- js-packages/types/lookup.ts | 32 ++++++++++++------------ js-packages/types/types-lookup.ts | 33 +++++++++++++------------ 5 files changed, 42 insertions(+), 40 deletions(-) diff --git a/js-packages/types/augment-api-errors.ts b/js-packages/types/augment-api-errors.ts index 1c21b8810a..f340a9e1bb 100644 --- a/js-packages/types/augment-api-errors.ts +++ b/js-packages/types/augment-api-errors.ts @@ -265,7 +265,7 @@ declare module '@polkadot/api-base/types/errors' { /** * Insufficient funds to perform an action **/ - NotSufficientFunds: AugmentedError; + NotSufficientFounds: AugmentedError; /** * Tried to enable permissions which are only permitted to be disabled **/ diff --git a/js-packages/types/augment-types.ts b/js-packages/types/augment-types.ts index 48a84629c5..d13044667b 100644 --- a/js-packages/types/augment-types.ts +++ b/js-packages/types/augment-types.ts @@ -5,7 +5,7 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueueMigrationState, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection, CumulusPalletParachainSystemParachainInherentBasicParachainInherentData, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemParachainInherentInboundMessagesData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletXcmCall, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentHashedMessage, CumulusPrimitivesStorageWeightReclaimAllowDeprecatedStorageWeightReclaim, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionEip1559Eip1559Transaction, EthereumTransactionEip2930AccessListItem, EthereumTransactionEip2930Eip2930Transaction, EthereumTransactionLegacyLegacyTransaction, EthereumTransactionLegacyTransactionAction, EthereumTransactionLegacyTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameMetadataHashExtensionCheckMetadataHash, FrameMetadataHashExtensionMode, FrameSupportDispatchDispatchClass, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportMessagesProcessMessageError, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportStorageDisabled, FrameSupportTokensMiscBalanceStatus, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemDispatchEventInfo, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonFeeCoefficientApplier, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlOracleModuleCall, OrmlOracleModuleError, OrmlOracleModuleEvent, OrmlOracleModuleTimestampedValue, OrmlUtilitiesOrderedSet, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAssetTxPaymentEvent, PalletBalancesAccountData, PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletBalancesUnexpectedKind, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollatorSelectionHoldReason, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveHoldReason, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsForeignCollectionMode, PalletForeignAssetsMigrationStatus, PalletForeignAssetsMigrationStatusV3ToV5, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletMessageQueueBookState, PalletMessageQueueCall, PalletMessageQueueError, PalletMessageQueueEvent, PalletMessageQueueNeighbours, PalletMessageQueuePage, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageHoldReason, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackDetails, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletSessionHoldReason, PalletSponsoringChargeAssetTxPayment, PalletSponsoringCheckNonce, PalletSponsoringEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationHoldReason, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryPaymentState, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniqueCall, PalletUniqueError, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmAuthorizedAliasesEntry, PalletXcmCall, PalletXcmError, PalletXcmErrorsExecutionError, PalletXcmEvent, PalletXcmHoldReason, PalletXcmMaxAuthorizedAliases, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8AbridgedHrmpChannel, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeProvingTrieTrieError, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingParachainInfoCall, StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4AssetAssets, StagingXcmV4AssetFungibility, StagingXcmV4AssetWildAsset, StagingXcmV4AssetWildFungibility, StagingXcmV4Instruction, StagingXcmV4Junction, StagingXcmV4JunctionNetworkId, StagingXcmV4Junctions, StagingXcmV4Location, StagingXcmV4PalletInfo, StagingXcmV4QueryResponseInfo, StagingXcmV4Response, StagingXcmV4Xcm, StagingXcmV5Asset, StagingXcmV5AssetAssetFilter, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5AssetAssetTransferFilter, StagingXcmV5AssetAssets, StagingXcmV5AssetFungibility, StagingXcmV5AssetWildAsset, StagingXcmV5AssetWildFungibility, StagingXcmV5Hint, StagingXcmV5Instruction, StagingXcmV5Junction, StagingXcmV5JunctionNetworkId, StagingXcmV5Junctions, StagingXcmV5Location, StagingXcmV5PalletInfo, StagingXcmV5QueryResponseInfo, StagingXcmV5Response, StagingXcmV5TraitsInstructionError, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3OriginKind, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsSendError, XcmV3WeightLimit, XcmV3Xcm, XcmV5TraitsError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from './default/types.ts'; +import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueueMigrationState, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection, CumulusPalletParachainSystemParachainInherentBasicParachainInherentData, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemParachainInherentInboundMessagesData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletWeightReclaimStorageWeightReclaim, CumulusPalletXcmCall, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentHashedMessage, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionEip1559Eip1559Transaction, EthereumTransactionEip2930AccessListItem, EthereumTransactionEip2930Eip2930Transaction, EthereumTransactionLegacyLegacyTransaction, EthereumTransactionLegacyTransactionAction, EthereumTransactionLegacyTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameMetadataHashExtensionCheckMetadataHash, FrameMetadataHashExtensionMode, FrameSupportDispatchDispatchClass, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportMessagesProcessMessageError, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportStorageDisabled, FrameSupportTokensMiscBalanceStatus, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemDispatchEventInfo, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonFeeCoefficientApplier, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlOracleModuleCall, OrmlOracleModuleError, OrmlOracleModuleEvent, OrmlOracleModuleTimestampedValue, OrmlUtilitiesOrderedSet, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAssetTxPaymentEvent, PalletBalancesAccountData, PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletBalancesUnexpectedKind, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollatorSelectionHoldReason, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveHoldReason, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsForeignCollectionMode, PalletForeignAssetsMigrationStatus, PalletForeignAssetsMigrationStatusV3ToV5, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletMessageQueueBookState, PalletMessageQueueCall, PalletMessageQueueError, PalletMessageQueueEvent, PalletMessageQueueNeighbours, PalletMessageQueuePage, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageHoldReason, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackDetails, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletSessionHoldReason, PalletSponsoringChargeAssetTxPayment, PalletSponsoringCheckNonce, PalletSponsoringEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationHoldReason, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryPaymentState, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniqueCall, PalletUniqueError, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmAuthorizedAliasesEntry, PalletXcmCall, PalletXcmError, PalletXcmErrorsExecutionError, PalletXcmEvent, PalletXcmHoldReason, PalletXcmMaxAuthorizedAliases, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8AbridgedHrmpChannel, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeProvingTrieTrieError, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingParachainInfoCall, StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4AssetAssets, StagingXcmV4AssetFungibility, StagingXcmV4AssetWildAsset, StagingXcmV4AssetWildFungibility, StagingXcmV4Instruction, StagingXcmV4Junction, StagingXcmV4JunctionNetworkId, StagingXcmV4Junctions, StagingXcmV4Location, StagingXcmV4PalletInfo, StagingXcmV4QueryResponseInfo, StagingXcmV4Response, StagingXcmV4Xcm, StagingXcmV5Asset, StagingXcmV5AssetAssetFilter, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5AssetAssetTransferFilter, StagingXcmV5AssetAssets, StagingXcmV5AssetFungibility, StagingXcmV5AssetWildAsset, StagingXcmV5AssetWildFungibility, StagingXcmV5Hint, StagingXcmV5Instruction, StagingXcmV5Junction, StagingXcmV5JunctionNetworkId, StagingXcmV5Junctions, StagingXcmV5Location, StagingXcmV5PalletInfo, StagingXcmV5QueryResponseInfo, StagingXcmV5Response, StagingXcmV5TraitsInstructionError, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3OriginKind, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsSendError, XcmV3WeightLimit, XcmV3Xcm, XcmV5TraitsError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from './default/types.ts'; import type { Data, StorageKey } from '@polkadot/types'; import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, ISize, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, isize, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; import type { TAssetConversion } from '@polkadot/types/interfaces/assetConversion'; @@ -367,6 +367,7 @@ declare module '@polkadot/types/types/registry' { CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate; CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: CumulusPalletParachainSystemUnincludedSegmentSegmentTracker; CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; + CumulusPalletWeightReclaimStorageWeightReclaim: CumulusPalletWeightReclaimStorageWeightReclaim; CumulusPalletXcmCall: CumulusPalletXcmCall; CumulusPalletXcmEvent: CumulusPalletXcmEvent; CumulusPalletXcmOrigin: CumulusPalletXcmOrigin; @@ -378,7 +379,6 @@ declare module '@polkadot/types/types/registry' { CumulusPalletXcmpQueueQueueConfigData: CumulusPalletXcmpQueueQueueConfigData; CumulusPrimitivesCoreAggregateMessageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; CumulusPrimitivesParachainInherentHashedMessage: CumulusPrimitivesParachainInherentHashedMessage; - CumulusPrimitivesStorageWeightReclaimAllowDeprecatedStorageWeightReclaim: CumulusPrimitivesStorageWeightReclaimAllowDeprecatedStorageWeightReclaim; CustomMetadata15: CustomMetadata15; CustomValueMetadata15: CustomValueMetadata15; Data: Data; diff --git a/js-packages/types/default/types.ts b/js-packages/types/default/types.ts index 4419784a18..b3b7cfc350 100644 --- a/js-packages/types/default/types.ts +++ b/js-packages/types/default/types.ts @@ -5,6 +5,7 @@ import type { Data } from '@polkadot/types'; import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, i64, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; import type { Vote } from '@polkadot/types/interfaces/elections'; +import type { Era } from '@polkadot/types/interfaces/extrinsics'; import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime'; import type { Event } from '@polkadot/types/interfaces/system'; @@ -185,6 +186,9 @@ export interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth exte readonly hrmpOutgoing: BTreeMap; } +/** @name CumulusPalletWeightReclaimStorageWeightReclaim */ +export interface CumulusPalletWeightReclaimStorageWeightReclaim extends ITuple<[FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckGenesis, Era, PalletSponsoringCheckNonce, FrameSystemExtensionsCheckWeight, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, PalletSponsoringChargeAssetTxPayment, PalletEthereumFakeTransactionFinalizer, FrameMetadataHashExtensionCheckMetadataHash]> {} + /** @name CumulusPalletXcmCall */ export interface CumulusPalletXcmCall extends Null {} @@ -283,9 +287,6 @@ export interface CumulusPrimitivesParachainInherentHashedMessage extends Struct readonly msgHash: H256; } -/** @name CumulusPrimitivesStorageWeightReclaimAllowDeprecatedStorageWeightReclaim */ -export interface CumulusPrimitivesStorageWeightReclaimAllowDeprecatedStorageWeightReclaim extends Null {} - /** @name EthbloomBloom */ export interface EthbloomBloom extends U8aFixed {} @@ -1574,7 +1575,7 @@ export interface PalletCommonError extends Enum { readonly isAddressIsNotEthMirror: boolean; readonly isAddressIsZero: boolean; readonly isUnsupportedOperation: boolean; - readonly isNotSufficientFunds: boolean; + readonly isNotSufficientFounds: boolean; readonly isUserIsNotAllowedToNest: boolean; readonly isSourceCollectionIsNotAllowedToNest: boolean; readonly isCollectionFieldSizeExceeded: boolean; @@ -1589,7 +1590,7 @@ export interface PalletCommonError extends Enum { readonly isUserIsNotCollectionAdmin: boolean; readonly isFungibleItemsHaveNoId: boolean; readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; - readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFunds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId' | 'NotFungibleDataUsedToMintFungibleCollectionToken'; + readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId' | 'NotFungibleDataUsedToMintFungibleCollectionToken'; } /** @name PalletCommonEvent */ diff --git a/js-packages/types/lookup.ts b/js-packages/types/lookup.ts index 755cd079ff..cd9377ffd1 100644 --- a/js-packages/types/lookup.ts +++ b/js-packages/types/lookup.ts @@ -5738,7 +5738,7 @@ export default { * Lookup733: pallet_common::pallet::Error **/ PalletCommonError: { - _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFunds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin', 'FungibleItemsHaveNoId', 'NotFungibleDataUsedToMintFungibleCollectionToken'] + _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin', 'FungibleItemsHaveNoId', 'NotFungibleDataUsedToMintFungibleCollectionToken'] }, /** * Lookup735: pallet_fungible::pallet::Error @@ -5956,56 +5956,56 @@ export default { } }, /** - * Lookup798: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup797: cumulus_pallet_weight_reclaim::StorageWeightReclaim + **/ + CumulusPalletWeightReclaimStorageWeightReclaim: '(FrameSystemExtensionsCheckSpecVersion,FrameSystemExtensionsCheckTxVersion,FrameSystemExtensionsCheckGenesis,Era,PalletSponsoringCheckNonce,FrameSystemExtensionsCheckWeight,OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance,OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls,PalletSponsoringChargeAssetTxPayment,PalletEthereumFakeTransactionFinalizer,FrameMetadataHashExtensionCheckMetadataHash)', + /** + * Lookup799: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup799: frame_system::extensions::check_tx_version::CheckTxVersion + * Lookup800: frame_system::extensions::check_tx_version::CheckTxVersion **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup800: frame_system::extensions::check_genesis::CheckGenesis + * Lookup801: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup803: pallet_sponsoring::CheckNonce + * Lookup804: pallet_sponsoring::CheckNonce **/ PalletSponsoringCheckNonce: 'Compact', /** - * Lookup804: frame_system::extensions::check_weight::CheckWeight + * Lookup805: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup805: opal_runtime::runtime_common::maintenance::CheckMaintenance + * Lookup806: opal_runtime::runtime_common::maintenance::CheckMaintenance **/ OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null', /** - * Lookup806: opal_runtime::runtime_common::identity::DisableIdentityCalls + * Lookup807: opal_runtime::runtime_common::identity::DisableIdentityCalls **/ OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null', /** - * Lookup807: pallet_sponsoring::ChargeAssetTxPayment + * Lookup808: pallet_sponsoring::ChargeAssetTxPayment **/ PalletSponsoringChargeAssetTxPayment: { tip: 'Compact', assetId: 'Option' }, /** - * Lookup808: opal_runtime::Runtime + * Lookup809: opal_runtime::Runtime **/ OpalRuntimeRuntime: 'Null', /** - * Lookup809: opal_runtime::runtime_common::FeeCoefficientApplier + * Lookup810: opal_runtime::runtime_common::FeeCoefficientApplier **/ OpalRuntimeRuntimeCommonFeeCoefficientApplier: 'Null', /** - * Lookup810: pallet_ethereum::FakeTransactionFinalizer + * Lookup811: pallet_ethereum::FakeTransactionFinalizer **/ PalletEthereumFakeTransactionFinalizer: 'Null', - /** - * Lookup811: cumulus_primitives_storage_weight_reclaim::allow_deprecated::StorageWeightReclaim - **/ - CumulusPrimitivesStorageWeightReclaimAllowDeprecatedStorageWeightReclaim: 'Null', /** * Lookup812: frame_metadata_hash_extension::CheckMetadataHash **/ diff --git a/js-packages/types/types-lookup.ts b/js-packages/types/types-lookup.ts index d0007f70c2..908aa55b6f 100644 --- a/js-packages/types/types-lookup.ts +++ b/js-packages/types/types-lookup.ts @@ -9,6 +9,7 @@ import type { Data } from '@polkadot/types'; import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Set, Struct, Text, U256, U8aFixed, Vec, bool, i64, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; import type { Vote } from '@polkadot/types/interfaces/elections'; +import type { Era } from '@polkadot/types/interfaces/extrinsics'; import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime'; import type { Event } from '@polkadot/types/interfaces/system'; @@ -6146,7 +6147,7 @@ declare module '@polkadot/types/lookup' { readonly isAddressIsNotEthMirror: boolean; readonly isAddressIsZero: boolean; readonly isUnsupportedOperation: boolean; - readonly isNotSufficientFunds: boolean; + readonly isNotSufficientFounds: boolean; readonly isUserIsNotAllowedToNest: boolean; readonly isSourceCollectionIsNotAllowedToNest: boolean; readonly isCollectionFieldSizeExceeded: boolean; @@ -6161,7 +6162,7 @@ declare module '@polkadot/types/lookup' { readonly isUserIsNotCollectionAdmin: boolean; readonly isFungibleItemsHaveNoId: boolean; readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; - readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFunds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId' | 'NotFungibleDataUsedToMintFungibleCollectionToken'; + readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId' | 'NotFungibleDataUsedToMintFungibleCollectionToken'; } /** @name PalletFungibleError (735) */ @@ -6417,45 +6418,45 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name FrameSystemExtensionsCheckSpecVersion (798) */ + /** @name CumulusPalletWeightReclaimStorageWeightReclaim (797) */ + interface CumulusPalletWeightReclaimStorageWeightReclaim extends ITuple<[FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckGenesis, Era, PalletSponsoringCheckNonce, FrameSystemExtensionsCheckWeight, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, PalletSponsoringChargeAssetTxPayment, PalletEthereumFakeTransactionFinalizer, FrameMetadataHashExtensionCheckMetadataHash]> {} + + /** @name FrameSystemExtensionsCheckSpecVersion (799) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (799) */ + /** @name FrameSystemExtensionsCheckTxVersion (800) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (800) */ + /** @name FrameSystemExtensionsCheckGenesis (801) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name PalletSponsoringCheckNonce (803) */ + /** @name PalletSponsoringCheckNonce (804) */ interface PalletSponsoringCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckWeight (804) */ + /** @name FrameSystemExtensionsCheckWeight (805) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (805) */ + /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (806) */ type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null; - /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (806) */ + /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (807) */ type OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls = Null; - /** @name PalletSponsoringChargeAssetTxPayment (807) */ + /** @name PalletSponsoringChargeAssetTxPayment (808) */ interface PalletSponsoringChargeAssetTxPayment extends Struct { readonly tip: Compact; readonly assetId: Option; } - /** @name OpalRuntimeRuntime (808) */ + /** @name OpalRuntimeRuntime (809) */ type OpalRuntimeRuntime = Null; - /** @name OpalRuntimeRuntimeCommonFeeCoefficientApplier (809) */ + /** @name OpalRuntimeRuntimeCommonFeeCoefficientApplier (810) */ type OpalRuntimeRuntimeCommonFeeCoefficientApplier = Null; - /** @name PalletEthereumFakeTransactionFinalizer (810) */ + /** @name PalletEthereumFakeTransactionFinalizer (811) */ type PalletEthereumFakeTransactionFinalizer = Null; - /** @name CumulusPrimitivesStorageWeightReclaimAllowDeprecatedStorageWeightReclaim (811) */ - type CumulusPrimitivesStorageWeightReclaimAllowDeprecatedStorageWeightReclaim = Null; - /** @name FrameMetadataHashExtensionCheckMetadataHash (812) */ interface FrameMetadataHashExtensionCheckMetadataHash extends Struct { readonly mode: FrameMetadataHashExtensionMode; From f8acb4a6466f657dab1949448e66f0c8aeb989a3 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Tue, 7 Oct 2025 21:35:36 +0000 Subject: [PATCH 03/51] fix update polkadot types This reverts commit f65c36e337eb171749e4178539cf43fd11eb4bc1. --- js-packages/types/augment-api-consts.ts | 12 + js-packages/types/augment-api-errors.ts | 10 +- js-packages/types/augment-api-events.ts | 2 + js-packages/types/augment-api-query.ts | 21 +- js-packages/types/augment-api-runtime.ts | 14 +- js-packages/types/augment-api-tx.ts | 6 +- js-packages/types/augment-types.ts | 5 +- js-packages/types/default/types.ts | 65 ++- js-packages/types/lookup.ts | 465 +++++++++++---------- js-packages/types/types-lookup.ts | 495 ++++++++++++----------- 10 files changed, 627 insertions(+), 468 deletions(-) diff --git a/js-packages/types/augment-api-consts.ts b/js-packages/types/augment-api-consts.ts index ac69fb502b..e32aa0e69e 100644 --- a/js-packages/types/augment-api-consts.ts +++ b/js-packages/types/augment-api-consts.ts @@ -105,6 +105,18 @@ declare module '@polkadot/api-base/types/consts' { * Address under which the CollectionHelper contract would be available. **/ contractAddress: H160 & AugmentedConst; + /** + * Default price to upgrade property size limit. + **/ + propertySizeLimitUpgradePriceDefault: u128 & AugmentedConst; + /** + * Price to upgrade property size limit to extended. + **/ + propertySizeLimitUpgradePriceExtended: u128 & AugmentedConst; + /** + * Price to upgrade property size limit to maximum. + **/ + propertySizeLimitUpgradePriceMax: u128 & AugmentedConst; /** * Generic const **/ diff --git a/js-packages/types/augment-api-errors.ts b/js-packages/types/augment-api-errors.ts index f340a9e1bb..7476cfea63 100644 --- a/js-packages/types/augment-api-errors.ts +++ b/js-packages/types/augment-api-errors.ts @@ -226,6 +226,10 @@ declare module '@polkadot/api-base/types/errors' { * Token prefix can not be longer than 15 char. **/ CollectionTokenPrefixLimitExceeded: AugmentedError; + /** + * A downgrade of the token property size limit is attempted. + **/ + CollectionTokensPropertiesLimitDowngrade: AugmentedError; /** * This address is not set as sponsor, use setCollectionSponsor first. **/ @@ -265,7 +269,7 @@ declare module '@polkadot/api-base/types/errors' { /** * Insufficient funds to perform an action **/ - NotSufficientFounds: AugmentedError; + NotSufficientFunds: AugmentedError; /** * Tried to enable permissions which are only permitted to be disabled **/ @@ -810,6 +814,10 @@ declare module '@polkadot/api-base/types/errors' { * The given asset ID could not be converted into the current XCM version. **/ BadForeignAssetId: AugmentedError; + /** + * The given location could not be converted into the current XCM version. + **/ + BadLocation: AugmentedError; /** * Failed to parse the balance received from currency exchange. **/ diff --git a/js-packages/types/augment-api-events.ts b/js-packages/types/augment-api-events.ts index 49ba567e2e..e75264c26b 100644 --- a/js-packages/types/augment-api-events.ts +++ b/js-packages/types/augment-api-events.ts @@ -757,6 +757,8 @@ declare module '@polkadot/api-base/types/events' { * The foreign asset registered. **/ ForeignAssetRegistered: AugmentedEvent; + ForeignAssetReserveOverride: AugmentedEvent], { assetId: XcmVersionedAssetId, reserveOverride: Option }>; + ForeignAssetSuspensionSet: AugmentedEvent; /** * The migration status. **/ diff --git a/js-packages/types/augment-api-query.ts b/js-packages/types/augment-api-query.ts index 1d27389532..a46d1f7a7b 100644 --- a/js-packages/types/augment-api-query.ts +++ b/js-packages/types/augment-api-query.ts @@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types'; import type { BTreeMap, BTreeSet, Bytes, Option, Struct, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H160, H256, Perbill } from '@polkadot/types/interfaces/runtime'; -import type { CumulusPalletDmpQueueMigrationState, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlOracleModuleTimestampedValue, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollectiveVotes, PalletConfigurationAppPromotionConfiguration, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCodeMetadata, PalletEvmContractHelpersSponsoringModeT, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletMessageQueueBookState, PalletMessageQueuePage, PalletNonfungibleItemData, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5Instruction, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup'; +import type { CumulusPalletDmpQueueMigrationState, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlOracleModuleTimestampedValue, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollectiveVotes, PalletConfigurationAppPromotionConfiguration, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCodeMetadata, PalletEvmContractHelpersSponsoringModeT, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletMessageQueueBookState, PalletMessageQueuePage, PalletNonfungibleItemData, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5Instruction, StagingXcmV5Location, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSpaceMeteredProperties, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup'; import type { Observable } from '@polkadot/types/types'; export type __AugmentedQuery = AugmentedQuery unknown>; @@ -210,11 +210,15 @@ declare module '@polkadot/api-base/types/storage' { /** * Storage of collection properties. **/ - collectionProperties: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; + collectionProperties: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; /** * Storage of token property permissions of a collection. **/ collectionPropertyPermissions: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; + /** + * Storage of collection tokens' properties size limit + **/ + collectionTokenPropertiesLimit: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; /** * Storage of the count of created collections. Essentially contains the last collection ID. **/ @@ -630,6 +634,10 @@ declare module '@polkadot/api-base/types/storage' { * The corresponding collections of foreign assets. **/ foreignAssetConversionCoefficient: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Override the reserve location for the given foreign assets. + **/ + foreignAssetReserveOverride: AugmentedQuery Observable>, [StagingXcmV5AssetAssetId]> & QueryableStorageEntry; /** * The corresponding collections of foreign assets. **/ @@ -639,6 +647,11 @@ declare module '@polkadot/api-base/types/storage' { **/ foreignReserveAssetInstanceToTokenId: AugmentedQuery Observable>, [u32, StagingXcmV5AssetAssetInstance]> & QueryableStorageEntry; oracleMembers: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Suspended foreign collections (disables outgoing transfers). + * It is needed for events like AHM where our chain shouldn't send tokens to a particular dest. + **/ + suspendedForeignAsset: AugmentedQuery Observable, [StagingXcmV5AssetAssetId]> & QueryableStorageEntry; /** * The correponding reserve NFT of a token ID **/ @@ -789,7 +802,7 @@ declare module '@polkadot/api-base/types/storage' { /** * Map of key-value pairs, describing the metadata of a token. **/ - tokenProperties: AugmentedQuery Observable>, [u32, u32]> & QueryableStorageEntry; + tokenProperties: AugmentedQuery Observable>, [u32, u32]> & QueryableStorageEntry; /** * Amount of burnt tokens in a collection. **/ @@ -1130,7 +1143,7 @@ declare module '@polkadot/api-base/types/storage' { /** * Amount of pieces a refungible token is split into. **/ - tokenProperties: AugmentedQuery Observable>, [u32, u32]> & QueryableStorageEntry; + tokenProperties: AugmentedQuery Observable>, [u32, u32]> & QueryableStorageEntry; /** * Amount of tokens burnt in a collection. **/ diff --git a/js-packages/types/augment-api-runtime.ts b/js-packages/types/augment-api-runtime.ts index b4b7f1e85b..5e3d8d9468 100644 --- a/js-packages/types/augment-api-runtime.ts +++ b/js-packages/types/augment-api-runtime.ts @@ -22,7 +22,8 @@ import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system'; import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue'; import type { XcmPaymentApiError } from '@polkadot/types/interfaces/xcmPaymentApi'; -import type { XcmVersionedAssetId, XcmVersionedXcm } from '@polkadot/types/lookup'; +import type { Error } from '@polkadot/types/interfaces/xcmRuntimeApi'; +import type { XcmVersionedAssetId, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; import type { IExtrinsic, Observable } from '@polkadot/types/types'; export type __AugmentedCall = AugmentedCall; @@ -187,6 +188,17 @@ declare module '@polkadot/api-base/types/calls' { **/ [key: string]: DecoratedCallBase; }; + /** 0x9ffb505aa738d69c/1 */ + locationToAccountApi: { + /** + * Converts `Location` to `AccountId` + **/ + convertLocation: AugmentedCall Observable>>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; /** 0x37e397fc7c91f5e4/2 */ metadata: { /** diff --git a/js-packages/types/augment-api-tx.ts b/js-packages/types/augment-api-tx.ts index a6a5d3f66b..c119b1cbbf 100644 --- a/js-packages/types/augment-api-tx.ts +++ b/js-packages/types/augment-api-tx.ts @@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types'; import type { Bytes, Compact, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H160, H256, MultiAddress } from '@polkadot/types/interfaces/runtime'; -import type { CumulusPalletParachainSystemParachainInherentBasicParachainInherentData, CumulusPalletParachainSystemParachainInherentInboundMessagesData, CumulusPrimitivesCoreAggregateMessageOrigin, EthereumLog, EthereumTransactionTransactionV2, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, OpalRuntimeOriginCaller, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletBalancesAdjustmentDirection, PalletConfigurationAppPromotionConfiguration, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsForeignCollectionMode, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV3WeightLimit, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; +import type { CumulusPalletParachainSystemParachainInherentBasicParachainInherentData, CumulusPalletParachainSystemParachainInherentInboundMessagesData, CumulusPrimitivesCoreAggregateMessageOrigin, EthereumLog, EthereumTransactionTransactionV2, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, OpalRuntimeOriginCaller, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletBalancesAdjustmentDirection, PalletConfigurationAppPromotionConfiguration, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsForeignCollectionMode, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertySizeLimit, XcmV3WeightLimit, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __SubmittableExtrinsic = SubmittableExtrinsic; @@ -1213,7 +1213,10 @@ declare module '@polkadot/api-base/types/submittable' { forceRegisterForeignAsset: AugmentedSubmittable<(versionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, name: Vec | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: PalletForeignAssetsForeignCollectionMode | { NFT: any } | { Fungible: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssetId, Vec, Bytes, PalletForeignAssetsForeignCollectionMode]>; forceResetForeignAssetLocation: AugmentedSubmittable<(existingVersionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, newVersionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssetId, XcmVersionedAssetId]>; forceSetForeignAssetConversionCoefficient: AugmentedSubmittable<(conversionCoefficient: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; + forceSetForeignAssetReserveOverride: AugmentedSubmittable<(versionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, versionedReserveOverride: Option | null | Uint8Array | XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string) => SubmittableExtrinsic, [XcmVersionedAssetId, Option]>; + forceSetForeignAssetSuspension: AugmentedSubmittable<(versionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, isSuspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssetId, bool]>; removeOracleMember: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; + updateCurrencyExchangeUrl: AugmentedSubmittable<(url: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** * Generic tx **/ @@ -3130,6 +3133,7 @@ declare module '@polkadot/api-base/types/submittable' { * * Re-Fungible Mode: The desired number of pieces to transfer. **/ transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>; + upgradeTokensPropertiesLimit: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsPropertySizeLimit | 'Default' | 'Extended' | 'Max' | number | Uint8Array) => SubmittableExtrinsic, [u32, UpDataStructsPropertySizeLimit]>; /** * Generic tx **/ diff --git a/js-packages/types/augment-types.ts b/js-packages/types/augment-types.ts index d13044667b..9a1e0ad497 100644 --- a/js-packages/types/augment-types.ts +++ b/js-packages/types/augment-types.ts @@ -5,7 +5,7 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueueMigrationState, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection, CumulusPalletParachainSystemParachainInherentBasicParachainInherentData, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemParachainInherentInboundMessagesData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletWeightReclaimStorageWeightReclaim, CumulusPalletXcmCall, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentHashedMessage, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionEip1559Eip1559Transaction, EthereumTransactionEip2930AccessListItem, EthereumTransactionEip2930Eip2930Transaction, EthereumTransactionLegacyLegacyTransaction, EthereumTransactionLegacyTransactionAction, EthereumTransactionLegacyTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameMetadataHashExtensionCheckMetadataHash, FrameMetadataHashExtensionMode, FrameSupportDispatchDispatchClass, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportMessagesProcessMessageError, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportStorageDisabled, FrameSupportTokensMiscBalanceStatus, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemDispatchEventInfo, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonFeeCoefficientApplier, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlOracleModuleCall, OrmlOracleModuleError, OrmlOracleModuleEvent, OrmlOracleModuleTimestampedValue, OrmlUtilitiesOrderedSet, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAssetTxPaymentEvent, PalletBalancesAccountData, PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletBalancesUnexpectedKind, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollatorSelectionHoldReason, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveHoldReason, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsForeignCollectionMode, PalletForeignAssetsMigrationStatus, PalletForeignAssetsMigrationStatusV3ToV5, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletMessageQueueBookState, PalletMessageQueueCall, PalletMessageQueueError, PalletMessageQueueEvent, PalletMessageQueueNeighbours, PalletMessageQueuePage, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageHoldReason, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackDetails, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletSessionHoldReason, PalletSponsoringChargeAssetTxPayment, PalletSponsoringCheckNonce, PalletSponsoringEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationHoldReason, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryPaymentState, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniqueCall, PalletUniqueError, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmAuthorizedAliasesEntry, PalletXcmCall, PalletXcmError, PalletXcmErrorsExecutionError, PalletXcmEvent, PalletXcmHoldReason, PalletXcmMaxAuthorizedAliases, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8AbridgedHrmpChannel, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeProvingTrieTrieError, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingParachainInfoCall, StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4AssetAssets, StagingXcmV4AssetFungibility, StagingXcmV4AssetWildAsset, StagingXcmV4AssetWildFungibility, StagingXcmV4Instruction, StagingXcmV4Junction, StagingXcmV4JunctionNetworkId, StagingXcmV4Junctions, StagingXcmV4Location, StagingXcmV4PalletInfo, StagingXcmV4QueryResponseInfo, StagingXcmV4Response, StagingXcmV4Xcm, StagingXcmV5Asset, StagingXcmV5AssetAssetFilter, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5AssetAssetTransferFilter, StagingXcmV5AssetAssets, StagingXcmV5AssetFungibility, StagingXcmV5AssetWildAsset, StagingXcmV5AssetWildFungibility, StagingXcmV5Hint, StagingXcmV5Instruction, StagingXcmV5Junction, StagingXcmV5JunctionNetworkId, StagingXcmV5Junctions, StagingXcmV5Location, StagingXcmV5PalletInfo, StagingXcmV5QueryResponseInfo, StagingXcmV5Response, StagingXcmV5TraitsInstructionError, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3OriginKind, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsSendError, XcmV3WeightLimit, XcmV3Xcm, XcmV5TraitsError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from './default/types.ts'; +import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueueMigrationState, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection, CumulusPalletParachainSystemParachainInherentBasicParachainInherentData, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemParachainInherentInboundMessagesData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletWeightReclaimStorageWeightReclaim, CumulusPalletXcmCall, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentHashedMessage, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionEip1559Eip1559Transaction, EthereumTransactionEip2930AccessListItem, EthereumTransactionEip2930Eip2930Transaction, EthereumTransactionLegacyLegacyTransaction, EthereumTransactionLegacyTransactionAction, EthereumTransactionLegacyTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameMetadataHashExtensionCheckMetadataHash, FrameMetadataHashExtensionMode, FrameSupportDispatchDispatchClass, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportMessagesProcessMessageError, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportStorageDisabled, FrameSupportTokensMiscBalanceStatus, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemDispatchEventInfo, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonFeeCoefficientApplier, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlOracleModuleCall, OrmlOracleModuleError, OrmlOracleModuleEvent, OrmlOracleModuleTimestampedValue, OrmlUtilitiesOrderedSet, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAssetTxPaymentEvent, PalletBalancesAccountData, PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletBalancesUnexpectedKind, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollatorSelectionHoldReason, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveHoldReason, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsForeignCollectionMode, PalletForeignAssetsMigrationStatus, PalletForeignAssetsMigrationStatusV3ToV5, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletMessageQueueBookState, PalletMessageQueueCall, PalletMessageQueueError, PalletMessageQueueEvent, PalletMessageQueueNeighbours, PalletMessageQueuePage, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageHoldReason, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackDetails, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletSessionHoldReason, PalletSponsoringChargeAssetTxPayment, PalletSponsoringCheckNonce, PalletSponsoringEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationHoldReason, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryPaymentState, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniqueCall, PalletUniqueError, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmAuthorizedAliasesEntry, PalletXcmCall, PalletXcmError, PalletXcmErrorsExecutionError, PalletXcmEvent, PalletXcmHoldReason, PalletXcmMaxAuthorizedAliases, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8AbridgedHrmpChannel, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeProvingTrieTrieError, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingParachainInfoCall, StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4AssetAssets, StagingXcmV4AssetFungibility, StagingXcmV4AssetWildAsset, StagingXcmV4AssetWildFungibility, StagingXcmV4Instruction, StagingXcmV4Junction, StagingXcmV4JunctionNetworkId, StagingXcmV4Junctions, StagingXcmV4Location, StagingXcmV4PalletInfo, StagingXcmV4QueryResponseInfo, StagingXcmV4Response, StagingXcmV4Xcm, StagingXcmV5Asset, StagingXcmV5AssetAssetFilter, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5AssetAssetTransferFilter, StagingXcmV5AssetAssets, StagingXcmV5AssetFungibility, StagingXcmV5AssetWildAsset, StagingXcmV5AssetWildFungibility, StagingXcmV5Hint, StagingXcmV5Instruction, StagingXcmV5Junction, StagingXcmV5JunctionNetworkId, StagingXcmV5Junctions, StagingXcmV5Location, StagingXcmV5PalletInfo, StagingXcmV5QueryResponseInfo, StagingXcmV5Response, StagingXcmV5TraitsInstructionError, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsPropertySizeLimit, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSpaceMeteredProperties, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3OriginKind, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsSendError, XcmV3WeightLimit, XcmV3Xcm, XcmV5TraitsError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from './default'; import type { Data, StorageKey } from '@polkadot/types'; import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, ISize, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, isize, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; import type { TAssetConversion } from '@polkadot/types/interfaces/assetConversion'; @@ -1571,15 +1571,16 @@ declare module '@polkadot/types/types/registry' { UpDataStructsCreateRefungibleExSingleOwner: UpDataStructsCreateRefungibleExSingleOwner; UpDataStructsNestingPermissions: UpDataStructsNestingPermissions; UpDataStructsOwnerRestrictedSet: UpDataStructsOwnerRestrictedSet; - UpDataStructsProperties: UpDataStructsProperties; UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec; UpDataStructsPropertiesMapPropertyPermission: UpDataStructsPropertiesMapPropertyPermission; UpDataStructsProperty: UpDataStructsProperty; UpDataStructsPropertyKeyPermission: UpDataStructsPropertyKeyPermission; UpDataStructsPropertyPermission: UpDataStructsPropertyPermission; UpDataStructsPropertyScope: UpDataStructsPropertyScope; + UpDataStructsPropertySizeLimit: UpDataStructsPropertySizeLimit; UpDataStructsRpcCollection: UpDataStructsRpcCollection; UpDataStructsRpcCollectionFlags: UpDataStructsRpcCollectionFlags; + UpDataStructsSpaceMeteredProperties: UpDataStructsSpaceMeteredProperties; UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit; UpDataStructsSponsorshipStateAccountId32: UpDataStructsSponsorshipStateAccountId32; UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: UpDataStructsSponsorshipStateBasicCrossAccountIdRepr; diff --git a/js-packages/types/default/types.ts b/js-packages/types/default/types.ts index b3b7cfc350..26f3939c10 100644 --- a/js-packages/types/default/types.ts +++ b/js-packages/types/default/types.ts @@ -1575,7 +1575,7 @@ export interface PalletCommonError extends Enum { readonly isAddressIsNotEthMirror: boolean; readonly isAddressIsZero: boolean; readonly isUnsupportedOperation: boolean; - readonly isNotSufficientFounds: boolean; + readonly isNotSufficientFunds: boolean; readonly isUserIsNotAllowedToNest: boolean; readonly isSourceCollectionIsNotAllowedToNest: boolean; readonly isCollectionFieldSizeExceeded: boolean; @@ -1590,7 +1590,8 @@ export interface PalletCommonError extends Enum { readonly isUserIsNotCollectionAdmin: boolean; readonly isFungibleItemsHaveNoId: boolean; readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; - readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId' | 'NotFungibleDataUsedToMintFungibleCollectionToken'; + readonly isCollectionTokensPropertiesLimitDowngrade: boolean; + readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFunds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId' | 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'CollectionTokensPropertiesLimitDowngrade'; } /** @name PalletCommonEvent */ @@ -2273,6 +2274,16 @@ export interface PalletForeignAssetsModuleCall extends Enum { readonly existingVersionedAssetId: XcmVersionedAssetId; readonly newVersionedAssetId: XcmVersionedAssetId; } & Struct; + readonly isForceSetForeignAssetReserveOverride: boolean; + readonly asForceSetForeignAssetReserveOverride: { + readonly versionedAssetId: XcmVersionedAssetId; + readonly versionedReserveOverride: Option; + } & Struct; + readonly isForceSetForeignAssetSuspension: boolean; + readonly asForceSetForeignAssetSuspension: { + readonly versionedAssetId: XcmVersionedAssetId; + readonly isSuspended: bool; + } & Struct; readonly isForceSetForeignAssetConversionCoefficient: boolean; readonly asForceSetForeignAssetConversionCoefficient: { readonly conversionCoefficient: u128; @@ -2285,20 +2296,25 @@ export interface PalletForeignAssetsModuleCall extends Enum { readonly asRemoveOracleMember: { readonly accountId: AccountId32; } & Struct; - readonly type: 'ForceRegisterForeignAsset' | 'ForceResetForeignAssetLocation' | 'ForceSetForeignAssetConversionCoefficient' | 'AddOracleMember' | 'RemoveOracleMember'; + readonly isUpdateCurrencyExchangeUrl: boolean; + readonly asUpdateCurrencyExchangeUrl: { + readonly url: Bytes; + } & Struct; + readonly type: 'ForceRegisterForeignAsset' | 'ForceResetForeignAssetLocation' | 'ForceSetForeignAssetReserveOverride' | 'ForceSetForeignAssetSuspension' | 'ForceSetForeignAssetConversionCoefficient' | 'AddOracleMember' | 'RemoveOracleMember' | 'UpdateCurrencyExchangeUrl'; } /** @name PalletForeignAssetsModuleError */ export interface PalletForeignAssetsModuleError extends Enum { readonly isForeignAssetAlreadyRegistered: boolean; readonly isBadForeignAssetId: boolean; + readonly isBadLocation: boolean; readonly isForeignAssetNotFound: boolean; readonly isForeignAssetIsNotFungible: boolean; readonly isCantParseBalance: boolean; readonly isFailedToFetchRate: boolean; readonly isCantParseResponse: boolean; readonly isOracleMembersCapacityExceeded: boolean; - readonly type: 'ForeignAssetAlreadyRegistered' | 'BadForeignAssetId' | 'ForeignAssetNotFound' | 'ForeignAssetIsNotFungible' | 'CantParseBalance' | 'FailedToFetchRate' | 'CantParseResponse' | 'OracleMembersCapacityExceeded'; + readonly type: 'ForeignAssetAlreadyRegistered' | 'BadForeignAssetId' | 'BadLocation' | 'ForeignAssetNotFound' | 'ForeignAssetIsNotFungible' | 'CantParseBalance' | 'FailedToFetchRate' | 'CantParseResponse' | 'OracleMembersCapacityExceeded'; } /** @name PalletForeignAssetsModuleEvent */ @@ -2315,12 +2331,22 @@ export interface PalletForeignAssetsModuleEvent extends Enum { readonly oldAssetId: XcmVersionedAssetId; readonly newAssetId: XcmVersionedAssetId; } & Struct; + readonly isForeignAssetReserveOverride: boolean; + readonly asForeignAssetReserveOverride: { + readonly assetId: XcmVersionedAssetId; + readonly reserveOverride: Option; + } & Struct; + readonly isForeignAssetSuspensionSet: boolean; + readonly asForeignAssetSuspensionSet: { + readonly assetId: XcmVersionedAssetId; + readonly isSuspended: bool; + } & Struct; readonly isForeignAssetConversionCoefficientSet: boolean; readonly asForeignAssetConversionCoefficientSet: { readonly oldConversionCoefficient: u128; readonly newConversionCoefficient: u128; } & Struct; - readonly type: 'ForeignAssetRegistered' | 'MigrationStatus' | 'ForeignAssetMoved' | 'ForeignAssetConversionCoefficientSet'; + readonly type: 'ForeignAssetRegistered' | 'MigrationStatus' | 'ForeignAssetMoved' | 'ForeignAssetReserveOverride' | 'ForeignAssetSuspensionSet' | 'ForeignAssetConversionCoefficientSet'; } /** @name PalletFungibleError */ @@ -3966,7 +3992,12 @@ export interface PalletUniqueCall extends Enum { readonly collectionId: u32; readonly itemId: u32; } & Struct; - readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'ApproveFrom' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem'; + readonly isUpgradeTokensPropertiesLimit: boolean; + readonly asUpgradeTokensPropertiesLimit: { + readonly collectionId: u32; + readonly newLimit: UpDataStructsPropertySizeLimit; + } & Struct; + readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'ApproveFrom' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem' | 'UpgradeTokensPropertiesLimit'; } /** @name PalletUniqueError */ @@ -5714,13 +5745,6 @@ export interface UpDataStructsNestingPermissions extends Struct { /** @name UpDataStructsOwnerRestrictedSet */ export interface UpDataStructsOwnerRestrictedSet extends BTreeSet {} -/** @name UpDataStructsProperties */ -export interface UpDataStructsProperties extends Struct { - readonly map: UpDataStructsPropertiesMapBoundedVec; - readonly consumedSpace: u32; - readonly reserved: u32; -} - /** @name UpDataStructsPropertiesMapBoundedVec */ export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} @@ -5753,6 +5777,14 @@ export interface UpDataStructsPropertyScope extends Enum { readonly type: 'None' | 'Rmrk'; } +/** @name UpDataStructsPropertySizeLimit */ +export interface UpDataStructsPropertySizeLimit extends Enum { + readonly isDefault: boolean; + readonly isExtended: boolean; + readonly isMax: boolean; + readonly type: 'Default' | 'Extended' | 'Max'; +} + /** @name UpDataStructsRpcCollection */ export interface UpDataStructsRpcCollection extends Struct { readonly owner: AccountId32; @@ -5775,6 +5807,13 @@ export interface UpDataStructsRpcCollectionFlags extends Struct { readonly erc721metadata: bool; } +/** @name UpDataStructsSpaceMeteredProperties */ +export interface UpDataStructsSpaceMeteredProperties extends Struct { + readonly map: UpDataStructsPropertiesMapBoundedVec; + readonly consumedSpace: u32; + readonly reserved: u32; +} + /** @name UpDataStructsSponsoringRateLimit */ export interface UpDataStructsSponsoringRateLimit extends Enum { readonly isSponsoringDisabled: boolean; diff --git a/js-packages/types/lookup.ts b/js-packages/types/lookup.ts index cd9377ffd1..399de8da91 100644 --- a/js-packages/types/lookup.ts +++ b/js-packages/types/lookup.ts @@ -3504,7 +3504,11 @@ export default { }, force_repair_item: { collectionId: 'u32', - itemId: 'u32' + itemId: 'u32', + }, + upgrade_tokens_properties_limit: { + collectionId: 'u32', + newLimit: 'UpDataStructsPropertySizeLimit' } } }, @@ -3678,7 +3682,13 @@ export default { properties: 'Vec' }, /** - * Lookup393: pallet_configuration::pallet::Call + * Lookup393: up_data_structs::PropertySizeLimit + **/ + UpDataStructsPropertySizeLimit: { + _enum: ['Default', 'Extended', 'Max'] + }, + /** + * Lookup394: pallet_configuration::pallet::Call **/ PalletConfigurationCall: { _enum: { @@ -3707,7 +3717,7 @@ export default { } }, /** - * Lookup394: pallet_configuration::AppPromotionConfiguration + * Lookup395: pallet_configuration::AppPromotionConfiguration **/ PalletConfigurationAppPromotionConfiguration: { recalculationInterval: 'Option', @@ -3716,11 +3726,11 @@ export default { maxStakersPerCalculation: 'Option' }, /** - * Lookup399: pallet_structure::pallet::Call + * Lookup400: pallet_structure::pallet::Call **/ PalletStructureCall: 'Null', /** - * Lookup400: pallet_app_promotion::pallet::Call + * Lookup401: pallet_app_promotion::pallet::Call **/ PalletAppPromotionCall: { _enum: { @@ -3755,7 +3765,7 @@ export default { } }, /** - * Lookup402: pallet_foreign_assets::module::Call + * Lookup403: pallet_foreign_assets::module::Call **/ PalletForeignAssetsModuleCall: { _enum: { @@ -3769,6 +3779,14 @@ export default { existingVersionedAssetId: 'XcmVersionedAssetId', newVersionedAssetId: 'XcmVersionedAssetId', }, + force_set_foreign_asset_reserve_override: { + versionedAssetId: 'XcmVersionedAssetId', + versionedReserveOverride: 'Option', + }, + force_set_foreign_asset_suspension: { + versionedAssetId: 'XcmVersionedAssetId', + isSuspended: 'bool', + }, force_set_foreign_asset_conversion_coefficient: { conversionCoefficient: 'u128', }, @@ -3776,12 +3794,15 @@ export default { accountId: 'AccountId32', }, remove_oracle_member: { - accountId: 'AccountId32' + accountId: 'AccountId32', + }, + update_currency_exchange_url: { + url: 'Bytes' } } }, /** - * Lookup403: pallet_foreign_assets::ForeignCollectionMode + * Lookup404: pallet_foreign_assets::ForeignCollectionMode **/ PalletForeignAssetsForeignCollectionMode: { _enum: { @@ -3790,7 +3811,7 @@ export default { } }, /** - * Lookup405: orml_oracle::module::Call + * Lookup408: orml_oracle::module::Call **/ OrmlOracleModuleCall: { _enum: { @@ -3800,7 +3821,7 @@ export default { } }, /** - * Lookup410: pallet_evm::pallet::Call + * Lookup413: pallet_evm::pallet::Call **/ PalletEvmCall: { _enum: { @@ -3843,7 +3864,7 @@ export default { } }, /** - * Lookup416: pallet_ethereum::pallet::Call + * Lookup419: pallet_ethereum::pallet::Call **/ PalletEthereumCall: { _enum: { @@ -3853,7 +3874,7 @@ export default { } }, /** - * Lookup417: ethereum::transaction::TransactionV2 + * Lookup420: ethereum::transaction::TransactionV2 **/ EthereumTransactionTransactionV2: { _enum: { @@ -3863,7 +3884,7 @@ export default { } }, /** - * Lookup418: ethereum::transaction::legacy::LegacyTransaction + * Lookup421: ethereum::transaction::legacy::LegacyTransaction **/ EthereumTransactionLegacyLegacyTransaction: { nonce: 'U256', @@ -3875,7 +3896,7 @@ export default { signature: 'EthereumTransactionLegacyTransactionSignature' }, /** - * Lookup419: ethereum::transaction::legacy::TransactionAction + * Lookup422: ethereum::transaction::legacy::TransactionAction **/ EthereumTransactionLegacyTransactionAction: { _enum: { @@ -3884,7 +3905,7 @@ export default { } }, /** - * Lookup420: ethereum::transaction::legacy::TransactionSignature + * Lookup423: ethereum::transaction::legacy::TransactionSignature **/ EthereumTransactionLegacyTransactionSignature: { v: 'u64', @@ -3892,7 +3913,7 @@ export default { s: 'H256' }, /** - * Lookup422: ethereum::transaction::eip2930::EIP2930Transaction + * Lookup425: ethereum::transaction::eip2930::EIP2930Transaction **/ EthereumTransactionEip2930Eip2930Transaction: { chainId: 'u64', @@ -3908,14 +3929,14 @@ export default { s: 'H256' }, /** - * Lookup424: ethereum::transaction::eip2930::AccessListItem + * Lookup427: ethereum::transaction::eip2930::AccessListItem **/ EthereumTransactionEip2930AccessListItem: { address: 'H160', storageKeys: 'Vec' }, /** - * Lookup425: ethereum::transaction::eip1559::EIP1559Transaction + * Lookup428: ethereum::transaction::eip1559::EIP1559Transaction **/ EthereumTransactionEip1559Eip1559Transaction: { chainId: 'u64', @@ -3932,7 +3953,7 @@ export default { s: 'H256' }, /** - * Lookup426: pallet_evm_contract_helpers::pallet::Call + * Lookup429: pallet_evm_contract_helpers::pallet::Call **/ PalletEvmContractHelpersCall: { _enum: { @@ -3942,7 +3963,7 @@ export default { } }, /** - * Lookup428: pallet_evm_migration::pallet::Call + * Lookup431: pallet_evm_migration::pallet::Call **/ PalletEvmMigrationCall: { _enum: { @@ -3967,7 +3988,7 @@ export default { } }, /** - * Lookup432: ethereum::log::Log + * Lookup435: ethereum::log::Log **/ EthereumLog: { address: 'H160', @@ -3975,13 +3996,13 @@ export default { data: 'Bytes' }, /** - * Lookup433: pallet_maintenance::pallet::Call + * Lookup436: pallet_maintenance::pallet::Call **/ PalletMaintenanceCall: { _enum: ['enable', 'disable'] }, /** - * Lookup434: pallet_utility::pallet::Call + * Lookup437: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -4017,7 +4038,7 @@ export default { } }, /** - * Lookup436: pallet_test_utils::pallet::Call + * Lookup439: pallet_test_utils::pallet::Call **/ PalletTestUtilsCall: { _enum: { @@ -4040,11 +4061,11 @@ export default { } }, /** - * Lookup437: sp_runtime::traits::BlakeTwo256 + * Lookup440: sp_runtime::traits::BlakeTwo256 **/ SpRuntimeBlakeTwo256: 'Null', /** - * Lookup439: pallet_scheduler::pallet::Event + * Lookup442: pallet_scheduler::pallet::Event **/ PalletSchedulerEvent: { _enum: { @@ -4093,7 +4114,7 @@ export default { } }, /** - * Lookup442: cumulus_pallet_xcmp_queue::pallet::Event + * Lookup445: cumulus_pallet_xcmp_queue::pallet::Event **/ CumulusPalletXcmpQueueEvent: { _enum: { @@ -4103,7 +4124,7 @@ export default { } }, /** - * Lookup443: pallet_xcm::pallet::Event + * Lookup446: pallet_xcm::pallet::Event **/ PalletXcmEvent: { _enum: { @@ -4251,7 +4272,7 @@ export default { } }, /** - * Lookup444: staging_xcm::v5::traits::Outcome + * Lookup447: staging_xcm::v5::traits::Outcome **/ StagingXcmV5TraitsOutcome: { _enum: { @@ -4266,20 +4287,20 @@ export default { } }, /** - * Lookup445: staging_xcm::v5::traits::InstructionError + * Lookup448: staging_xcm::v5::traits::InstructionError **/ StagingXcmV5TraitsInstructionError: { index: 'u8', error: 'XcmV5TraitsError' }, /** - * Lookup446: xcm::v3::traits::SendError + * Lookup449: xcm::v3::traits::SendError **/ XcmV3TraitsSendError: { _enum: ['NotApplicable', 'Transport', 'Unroutable', 'DestinationUnsupported', 'ExceedsMaxMessageSize', 'MissingArgument', 'Fees'] }, /** - * Lookup447: cumulus_pallet_xcm::pallet::Event + * Lookup450: cumulus_pallet_xcm::pallet::Event **/ CumulusPalletXcmEvent: { _enum: { @@ -4289,7 +4310,7 @@ export default { } }, /** - * Lookup448: cumulus_pallet_dmp_queue::pallet::Event + * Lookup451: cumulus_pallet_dmp_queue::pallet::Event **/ CumulusPalletDmpQueueEvent: { _enum: { @@ -4319,7 +4340,7 @@ export default { } }, /** - * Lookup449: pallet_message_queue::pallet::Event + * Lookup452: pallet_message_queue::pallet::Event **/ PalletMessageQueueEvent: { _enum: { @@ -4347,7 +4368,7 @@ export default { } }, /** - * Lookup450: frame_support::traits::messages::ProcessMessageError + * Lookup453: frame_support::traits::messages::ProcessMessageError **/ FrameSupportMessagesProcessMessageError: { _enum: { @@ -4360,7 +4381,7 @@ export default { } }, /** - * Lookup451: pallet_configuration::pallet::Event + * Lookup454: pallet_configuration::pallet::Event **/ PalletConfigurationEvent: { _enum: { @@ -4376,7 +4397,7 @@ export default { } }, /** - * Lookup452: pallet_sponsoring::pallet::Event + * Lookup455: pallet_sponsoring::pallet::Event **/ PalletSponsoringEvent: { _enum: { @@ -4389,7 +4410,7 @@ export default { } }, /** - * Lookup453: pallet_common::pallet::Event + * Lookup456: pallet_common::pallet::Event **/ PalletCommonEvent: { _enum: { @@ -4418,7 +4439,7 @@ export default { } }, /** - * Lookup454: pallet_structure::pallet::Event + * Lookup457: pallet_structure::pallet::Event **/ PalletStructureEvent: { _enum: { @@ -4426,7 +4447,7 @@ export default { } }, /** - * Lookup455: pallet_app_promotion::pallet::Event + * Lookup458: pallet_app_promotion::pallet::Event **/ PalletAppPromotionEvent: { _enum: { @@ -4437,7 +4458,7 @@ export default { } }, /** - * Lookup456: pallet_foreign_assets::module::Event + * Lookup459: pallet_foreign_assets::module::Event **/ PalletForeignAssetsModuleEvent: { _enum: { @@ -4450,6 +4471,14 @@ export default { oldAssetId: 'XcmVersionedAssetId', newAssetId: 'XcmVersionedAssetId', }, + ForeignAssetReserveOverride: { + assetId: 'XcmVersionedAssetId', + reserveOverride: 'Option', + }, + ForeignAssetSuspensionSet: { + assetId: 'XcmVersionedAssetId', + isSuspended: 'bool', + }, ForeignAssetConversionCoefficientSet: { oldConversionCoefficient: 'u128', newConversionCoefficient: 'u128' @@ -4457,7 +4486,7 @@ export default { } }, /** - * Lookup457: pallet_foreign_assets::MigrationStatus + * Lookup460: pallet_foreign_assets::MigrationStatus **/ PalletForeignAssetsMigrationStatus: { _enum: { @@ -4465,7 +4494,7 @@ export default { } }, /** - * Lookup458: pallet_foreign_assets::MigrationStatusV3ToV5 + * Lookup461: pallet_foreign_assets::MigrationStatusV3ToV5 **/ PalletForeignAssetsMigrationStatusV3ToV5: { _enum: { @@ -4478,7 +4507,7 @@ export default { } }, /** - * Lookup459: pallet_asset_tx_payment::pallet::Event + * Lookup462: pallet_asset_tx_payment::pallet::Event **/ PalletAssetTxPaymentEvent: { _enum: { @@ -4491,7 +4520,7 @@ export default { } }, /** - * Lookup460: orml_oracle::module::Event + * Lookup463: orml_oracle::module::Event **/ OrmlOracleModuleEvent: { _enum: { @@ -4502,7 +4531,7 @@ export default { } }, /** - * Lookup461: pallet_evm::pallet::Event + * Lookup464: pallet_evm::pallet::Event **/ PalletEvmEvent: { _enum: { @@ -4524,7 +4553,7 @@ export default { } }, /** - * Lookup462: pallet_ethereum::pallet::Event + * Lookup465: pallet_ethereum::pallet::Event **/ PalletEthereumEvent: { _enum: { @@ -4538,7 +4567,7 @@ export default { } }, /** - * Lookup463: evm_core::error::ExitReason + * Lookup466: evm_core::error::ExitReason **/ EvmCoreErrorExitReason: { _enum: { @@ -4549,13 +4578,13 @@ export default { } }, /** - * Lookup464: evm_core::error::ExitSucceed + * Lookup467: evm_core::error::ExitSucceed **/ EvmCoreErrorExitSucceed: { _enum: ['Stopped', 'Returned', 'Suicided'] }, /** - * Lookup465: evm_core::error::ExitError + * Lookup468: evm_core::error::ExitError **/ EvmCoreErrorExitError: { _enum: { @@ -4578,13 +4607,13 @@ export default { } }, /** - * Lookup469: evm_core::error::ExitRevert + * Lookup472: evm_core::error::ExitRevert **/ EvmCoreErrorExitRevert: { _enum: ['Reverted'] }, /** - * Lookup470: evm_core::error::ExitFatal + * Lookup473: evm_core::error::ExitFatal **/ EvmCoreErrorExitFatal: { _enum: { @@ -4595,7 +4624,7 @@ export default { } }, /** - * Lookup471: pallet_evm_contract_helpers::pallet::Event + * Lookup474: pallet_evm_contract_helpers::pallet::Event **/ PalletEvmContractHelpersEvent: { _enum: { @@ -4605,19 +4634,19 @@ export default { } }, /** - * Lookup472: pallet_evm_migration::pallet::Event + * Lookup475: pallet_evm_migration::pallet::Event **/ PalletEvmMigrationEvent: { _enum: ['TestEvent'] }, /** - * Lookup473: pallet_maintenance::pallet::Event + * Lookup476: pallet_maintenance::pallet::Event **/ PalletMaintenanceEvent: { _enum: ['MaintenanceEnabled', 'MaintenanceDisabled'] }, /** - * Lookup474: pallet_utility::pallet::Event + * Lookup477: pallet_utility::pallet::Event **/ PalletUtilityEvent: { _enum: { @@ -4641,13 +4670,13 @@ export default { } }, /** - * Lookup475: pallet_test_utils::pallet::Event + * Lookup478: pallet_test_utils::pallet::Event **/ PalletTestUtilsEvent: { _enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted'] }, /** - * Lookup476: frame_system::Phase + * Lookup479: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -4657,21 +4686,21 @@ export default { } }, /** - * Lookup478: frame_system::LastRuntimeUpgradeInfo + * Lookup481: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact', specName: 'Text' }, /** - * Lookup479: frame_system::CodeUpgradeAuthorization + * Lookup482: frame_system::CodeUpgradeAuthorization **/ FrameSystemCodeUpgradeAuthorization: { codeHash: 'H256', checkVersion: 'bool' }, /** - * Lookup480: frame_system::limits::BlockWeights + * Lookup483: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'SpWeightsWeightV2Weight', @@ -4679,7 +4708,7 @@ export default { perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass' }, /** - * Lookup481: frame_support::dispatch::PerDispatchClass + * Lookup484: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -4687,7 +4716,7 @@ export default { mandatory: 'FrameSystemLimitsWeightsPerClass' }, /** - * Lookup482: frame_system::limits::WeightsPerClass + * Lookup485: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'SpWeightsWeightV2Weight', @@ -4696,13 +4725,13 @@ export default { reserved: 'Option' }, /** - * Lookup483: frame_system::limits::BlockLength + * Lookup486: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportDispatchPerDispatchClassU32' }, /** - * Lookup484: frame_support::dispatch::PerDispatchClass + * Lookup487: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassU32: { normal: 'u32', @@ -4710,14 +4739,14 @@ export default { mandatory: 'u32' }, /** - * Lookup485: sp_weights::RuntimeDbWeight + * Lookup488: sp_weights::RuntimeDbWeight **/ SpWeightsRuntimeDbWeight: { read: 'u64', write: 'u64' }, /** - * Lookup486: sp_version::RuntimeVersion + * Lookup489: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -4730,13 +4759,13 @@ export default { systemVersion: 'u8' }, /** - * Lookup490: frame_system::pallet::Error + * Lookup493: frame_system::pallet::Error **/ FrameSystemError: { _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'MultiBlockMigrationsOngoing', 'NothingAuthorized', 'Unauthorized'] }, /** - * Lookup492: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + * Lookup495: cumulus_pallet_parachain_system::unincluded_segment::Ancestor **/ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth', @@ -4744,7 +4773,7 @@ export default { consumedGoAheadSignal: 'Option' }, /** - * Lookup493: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + * Lookup496: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth **/ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: 'u32', @@ -4752,20 +4781,20 @@ export default { hrmpOutgoing: 'BTreeMap' }, /** - * Lookup495: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + * Lookup498: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate **/ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: 'u32', totalBytes: 'u32' }, /** - * Lookup499: polkadot_primitives::v8::UpgradeGoAhead + * Lookup502: polkadot_primitives::v8::UpgradeGoAhead **/ PolkadotPrimitivesV8UpgradeGoAhead: { _enum: ['Abort', 'GoAhead'] }, /** - * Lookup500: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + * Lookup503: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker **/ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth', @@ -4773,13 +4802,13 @@ export default { consumedGoAheadSignal: 'Option' }, /** - * Lookup502: polkadot_primitives::v8::UpgradeRestriction + * Lookup505: polkadot_primitives::v8::UpgradeRestriction **/ PolkadotPrimitivesV8UpgradeRestriction: { _enum: ['Present'] }, /** - * Lookup503: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + * Lookup506: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: 'H256', @@ -4788,14 +4817,14 @@ export default { egressChannels: 'Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>' }, /** - * Lookup504: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity + * Lookup507: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity **/ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: 'u32', remainingSize: 'u32' }, /** - * Lookup507: polkadot_primitives::v8::AbridgedHrmpChannel + * Lookup510: polkadot_primitives::v8::AbridgedHrmpChannel **/ PolkadotPrimitivesV8AbridgedHrmpChannel: { maxCapacity: 'u32', @@ -4806,7 +4835,7 @@ export default { mqcHead: 'Option' }, /** - * Lookup508: polkadot_primitives::v8::AbridgedHostConfiguration + * Lookup511: polkadot_primitives::v8::AbridgedHostConfiguration **/ PolkadotPrimitivesV8AbridgedHostConfiguration: { maxCodeSize: 'u32', @@ -4821,50 +4850,50 @@ export default { asyncBackingParams: 'PolkadotPrimitivesV8AsyncBackingAsyncBackingParams' }, /** - * Lookup509: polkadot_primitives::v8::async_backing::AsyncBackingParams + * Lookup512: polkadot_primitives::v8::async_backing::AsyncBackingParams **/ PolkadotPrimitivesV8AsyncBackingAsyncBackingParams: { maxCandidateDepth: 'u32', allowedAncestryLen: 'u32' }, /** - * Lookup514: cumulus_pallet_parachain_system::parachain_inherent::InboundMessageId + * Lookup517: cumulus_pallet_parachain_system::parachain_inherent::InboundMessageId **/ CumulusPalletParachainSystemParachainInherentInboundMessageId: { sentAt: 'u32', reverseIdx: 'u32' }, /** - * Lookup516: polkadot_core_primitives::OutboundHrmpMessage + * Lookup519: polkadot_core_primitives::OutboundHrmpMessage **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: 'u32', data: 'Bytes' }, /** - * Lookup517: cumulus_pallet_parachain_system::pallet::Error + * Lookup520: cumulus_pallet_parachain_system::pallet::Error **/ CumulusPalletParachainSystemError: { _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled'] }, /** - * Lookup519: pallet_collator_selection::pallet::Error + * Lookup522: pallet_collator_selection::pallet::Error **/ PalletCollatorSelectionError: { _enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered'] }, /** - * Lookup526: sp_core::crypto::KeyTypeId + * Lookup529: sp_core::crypto::KeyTypeId **/ SpCoreCryptoKeyTypeId: '[u8;4]', /** - * Lookup527: pallet_session::pallet::Error + * Lookup530: pallet_session::pallet::Error **/ PalletSessionError: { _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'] }, /** - * Lookup533: pallet_balances::types::BalanceLock + * Lookup536: pallet_balances::types::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -4872,20 +4901,20 @@ export default { reasons: 'PalletBalancesReasons' }, /** - * Lookup534: pallet_balances::types::Reasons + * Lookup537: pallet_balances::types::Reasons **/ PalletBalancesReasons: { _enum: ['Fee', 'Misc', 'All'] }, /** - * Lookup537: pallet_balances::types::ReserveData + * Lookup540: pallet_balances::types::ReserveData **/ PalletBalancesReserveData: { id: '[u8;16]', amount: 'u128' }, /** - * Lookup541: opal_runtime::RuntimeHoldReason + * Lookup544: opal_runtime::RuntimeHoldReason **/ OpalRuntimeRuntimeHoldReason: { _enum: { @@ -4990,62 +5019,62 @@ export default { } }, /** - * Lookup542: pallet_state_trie_migration::pallet::HoldReason + * Lookup545: pallet_state_trie_migration::pallet::HoldReason **/ PalletStateTrieMigrationHoldReason: { _enum: ['SlashForMigrate'] }, /** - * Lookup543: pallet_collator_selection::pallet::HoldReason + * Lookup546: pallet_collator_selection::pallet::HoldReason **/ PalletCollatorSelectionHoldReason: { _enum: ['LicenseBond'] }, /** - * Lookup544: pallet_session::pallet::HoldReason + * Lookup547: pallet_session::pallet::HoldReason **/ PalletSessionHoldReason: { _enum: ['Keys'] }, /** - * Lookup545: pallet_preimage::pallet::HoldReason + * Lookup548: pallet_preimage::pallet::HoldReason **/ PalletPreimageHoldReason: { _enum: ['Preimage'] }, /** - * Lookup546: pallet_collective::pallet::HoldReason + * Lookup549: pallet_collective::pallet::HoldReason **/ PalletCollectiveHoldReason: { _enum: ['ProposalSubmission'] }, /** - * Lookup549: pallet_xcm::pallet::HoldReason + * Lookup552: pallet_xcm::pallet::HoldReason **/ PalletXcmHoldReason: { _enum: ['AuthorizeAlias'] }, /** - * Lookup552: frame_support::traits::tokens::misc::IdAmount + * Lookup555: frame_support::traits::tokens::misc::IdAmount **/ FrameSupportTokensMiscIdAmount: { id: '[u8;16]', amount: 'u128' }, /** - * Lookup554: pallet_balances::pallet::Error + * Lookup557: pallet_balances::pallet::Error **/ PalletBalancesError: { _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero'] }, /** - * Lookup555: pallet_transaction_payment::Releases + * Lookup558: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { _enum: ['V1Ancient', 'V2'] }, /** - * Lookup556: pallet_treasury::Proposal + * Lookup559: pallet_treasury::Proposal **/ PalletTreasuryProposal: { proposer: 'AccountId32', @@ -5054,7 +5083,7 @@ export default { bond: 'u128' }, /** - * Lookup558: pallet_treasury::SpendStatus + * Lookup561: pallet_treasury::SpendStatus **/ PalletTreasurySpendStatus: { assetKind: 'Null', @@ -5065,7 +5094,7 @@ export default { status: 'PalletTreasuryPaymentState' }, /** - * Lookup559: pallet_treasury::PaymentState + * Lookup562: pallet_treasury::PaymentState **/ PalletTreasuryPaymentState: { _enum: { @@ -5077,35 +5106,35 @@ export default { } }, /** - * Lookup561: frame_support::PalletId + * Lookup564: frame_support::PalletId **/ FrameSupportPalletId: '[u8;8]', /** - * Lookup562: pallet_treasury::pallet::Error + * Lookup565: pallet_treasury::pallet::Error **/ PalletTreasuryError: { _enum: ['InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved', 'FailedToConvertBalance', 'SpendExpired', 'EarlyPayout', 'AlreadyAttempted', 'PayoutError', 'NotAttempted', 'Inconclusive'] }, /** - * Lookup563: pallet_sudo::pallet::Error + * Lookup566: pallet_sudo::pallet::Error **/ PalletSudoError: { _enum: ['RequireSudo'] }, /** - * Lookup565: orml_vesting::module::Error + * Lookup568: orml_vesting::module::Error **/ OrmlVestingModuleError: { _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded'] }, /** - * Lookup566: orml_xtokens::module::Error + * Lookup569: orml_xtokens::module::Error **/ OrmlXtokensModuleError: { _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedLocation', 'MinXcmFeeNotDefined', 'RateLimited'] }, /** - * Lookup571: pallet_identity::types::RegistrarInfo + * Lookup574: pallet_identity::types::RegistrarInfo **/ PalletIdentityRegistrarInfo: { account: 'AccountId32', @@ -5113,13 +5142,13 @@ export default { fields: 'PalletIdentityBitFlags' }, /** - * Lookup573: pallet_identity::pallet::Error + * Lookup576: pallet_identity::pallet::Error **/ PalletIdentityError: { _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed'] }, /** - * Lookup574: pallet_preimage::OldRequestStatus + * Lookup577: pallet_preimage::OldRequestStatus **/ PalletPreimageOldRequestStatus: { _enum: { @@ -5135,7 +5164,7 @@ export default { } }, /** - * Lookup577: pallet_preimage::RequestStatus> + * Lookup580: pallet_preimage::RequestStatus> **/ PalletPreimageRequestStatus: { _enum: { @@ -5151,13 +5180,13 @@ export default { } }, /** - * Lookup583: pallet_preimage::pallet::Error + * Lookup586: pallet_preimage::pallet::Error **/ PalletPreimageError: { _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested', 'TooMany', 'TooFew'] }, /** - * Lookup589: pallet_democracy::types::ReferendumInfo, Balance> + * Lookup592: pallet_democracy::types::ReferendumInfo, Balance> **/ PalletDemocracyReferendumInfo: { _enum: { @@ -5169,7 +5198,7 @@ export default { } }, /** - * Lookup590: pallet_democracy::types::ReferendumStatus, Balance> + * Lookup593: pallet_democracy::types::ReferendumStatus, Balance> **/ PalletDemocracyReferendumStatus: { end: 'u32', @@ -5179,7 +5208,7 @@ export default { tally: 'PalletDemocracyTally' }, /** - * Lookup591: pallet_democracy::types::Tally + * Lookup594: pallet_democracy::types::Tally **/ PalletDemocracyTally: { ayes: 'u128', @@ -5187,7 +5216,7 @@ export default { turnout: 'u128' }, /** - * Lookup592: pallet_democracy::vote::Voting + * Lookup595: pallet_democracy::vote::Voting **/ PalletDemocracyVoteVoting: { _enum: { @@ -5206,24 +5235,24 @@ export default { } }, /** - * Lookup596: pallet_democracy::types::Delegations + * Lookup599: pallet_democracy::types::Delegations **/ PalletDemocracyDelegations: { votes: 'u128', capital: 'u128' }, /** - * Lookup597: pallet_democracy::vote::PriorLock + * Lookup600: pallet_democracy::vote::PriorLock **/ PalletDemocracyVotePriorLock: '(u32,u128)', /** - * Lookup600: pallet_democracy::pallet::Error + * Lookup603: pallet_democracy::pallet::Error **/ PalletDemocracyError: { _enum: ['ValueLow', 'ProposalMissing', 'AlreadyCanceled', 'DuplicateProposal', 'ProposalBlacklisted', 'NotSimpleMajority', 'InvalidHash', 'NoProposal', 'AlreadyVetoed', 'ReferendumInvalid', 'NoneWaiting', 'NotVoter', 'NoPermission', 'AlreadyDelegating', 'InsufficientFunds', 'NotDelegating', 'VotesExist', 'InstantNotAllowed', 'Nonsense', 'WrongUpperBound', 'MaxVotesReached', 'TooMany', 'VotingPeriodLow', 'PreimageNotExist'] }, /** - * Lookup604: pallet_collective::Votes + * Lookup607: pallet_collective::Votes **/ PalletCollectiveVotes: { index: 'u32', @@ -5233,31 +5262,31 @@ export default { end: 'u32' }, /** - * Lookup605: pallet_collective::pallet::Error + * Lookup608: pallet_collective::pallet::Error **/ PalletCollectiveError: { _enum: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength', 'PrimeAccountNotMember', 'ProposalActive'] }, /** - * Lookup611: pallet_membership::pallet::Error + * Lookup614: pallet_membership::pallet::Error **/ PalletMembershipError: { _enum: ['AlreadyMember', 'NotMember', 'TooManyMembers'] }, /** - * Lookup614: pallet_ranked_collective::MemberRecord + * Lookup617: pallet_ranked_collective::MemberRecord **/ PalletRankedCollectiveMemberRecord: { rank: 'u16' }, /** - * Lookup619: pallet_ranked_collective::pallet::Error + * Lookup622: pallet_ranked_collective::pallet::Error **/ PalletRankedCollectiveError: { _enum: ['AlreadyMember', 'NotMember', 'NotPolling', 'Ongoing', 'NoneRemaining', 'Corruption', 'RankTooLow', 'InvalidWitness', 'NoPermission', 'SameMember', 'TooManyMembers'] }, /** - * Lookup620: pallet_referenda::types::ReferendumInfo, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> + * Lookup623: pallet_referenda::types::ReferendumInfo, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> **/ PalletReferendaReferendumInfo: { _enum: { @@ -5270,7 +5299,7 @@ export default { } }, /** - * Lookup621: pallet_referenda::types::ReferendumStatus, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> + * Lookup624: pallet_referenda::types::ReferendumStatus, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> **/ PalletReferendaReferendumStatus: { track: 'u16', @@ -5286,21 +5315,21 @@ export default { alarm: 'Option<(u32,(u32,u32))>' }, /** - * Lookup622: pallet_referenda::types::Deposit + * Lookup625: pallet_referenda::types::Deposit **/ PalletReferendaDeposit: { who: 'AccountId32', amount: 'u128' }, /** - * Lookup625: pallet_referenda::types::DecidingStatus + * Lookup628: pallet_referenda::types::DecidingStatus **/ PalletReferendaDecidingStatus: { since: 'u32', confirming: 'Option' }, /** - * Lookup631: pallet_referenda::types::TrackDetails + * Lookup634: pallet_referenda::types::TrackDetails **/ PalletReferendaTrackDetails: { name: 'Text', @@ -5314,7 +5343,7 @@ export default { minSupport: 'PalletReferendaCurve' }, /** - * Lookup632: pallet_referenda::types::Curve + * Lookup635: pallet_referenda::types::Curve **/ PalletReferendaCurve: { _enum: { @@ -5337,13 +5366,13 @@ export default { } }, /** - * Lookup635: pallet_referenda::pallet::Error + * Lookup638: pallet_referenda::pallet::Error **/ PalletReferendaError: { _enum: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit', 'BadStatus', 'PreimageNotExist', 'PreimageStoredWithDifferentLength'] }, /** - * Lookup638: pallet_scheduler::Scheduled, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32> + * Lookup641: pallet_scheduler::Scheduled, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32> **/ PalletSchedulerScheduled: { maybeId: 'Option<[u8;32]>', @@ -5353,7 +5382,7 @@ export default { origin: 'OpalRuntimeOriginCaller' }, /** - * Lookup640: pallet_scheduler::RetryConfig + * Lookup643: pallet_scheduler::RetryConfig **/ PalletSchedulerRetryConfig: { totalRetries: 'u8', @@ -5361,13 +5390,13 @@ export default { period: 'u32' }, /** - * Lookup641: pallet_scheduler::pallet::Error + * Lookup644: pallet_scheduler::pallet::Error **/ PalletSchedulerError: { _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'] }, /** - * Lookup652: cumulus_pallet_xcmp_queue::OutboundChannelDetails + * Lookup655: cumulus_pallet_xcmp_queue::OutboundChannelDetails **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: 'u32', @@ -5377,13 +5406,13 @@ export default { lastIndex: 'u16' }, /** - * Lookup653: cumulus_pallet_xcmp_queue::OutboundState + * Lookup656: cumulus_pallet_xcmp_queue::OutboundState **/ CumulusPalletXcmpQueueOutboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup657: cumulus_pallet_xcmp_queue::QueueConfigData + * Lookup660: cumulus_pallet_xcmp_queue::QueueConfigData **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: 'u32', @@ -5391,13 +5420,13 @@ export default { resumeThreshold: 'u32' }, /** - * Lookup658: cumulus_pallet_xcmp_queue::pallet::Error + * Lookup661: cumulus_pallet_xcmp_queue::pallet::Error **/ CumulusPalletXcmpQueueError: { _enum: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig'] }, /** - * Lookup659: pallet_xcm::pallet::QueryStatus + * Lookup662: pallet_xcm::pallet::QueryStatus **/ PalletXcmQueryStatus: { _enum: { @@ -5418,7 +5447,7 @@ export default { } }, /** - * Lookup663: xcm::VersionedResponse + * Lookup666: xcm::VersionedResponse **/ XcmVersionedResponse: { _enum: { @@ -5431,7 +5460,7 @@ export default { } }, /** - * Lookup669: pallet_xcm::pallet::VersionMigrationStage + * Lookup672: pallet_xcm::pallet::VersionMigrationStage **/ PalletXcmVersionMigrationStage: { _enum: { @@ -5442,7 +5471,7 @@ export default { } }, /** - * Lookup672: pallet_xcm::pallet::RemoteLockedFungibleRecord + * Lookup675: pallet_xcm::pallet::RemoteLockedFungibleRecord **/ PalletXcmRemoteLockedFungibleRecord: { amount: 'u128', @@ -5451,29 +5480,29 @@ export default { consumers: 'Vec<(Null,u128)>' }, /** - * Lookup679: pallet_xcm::AuthorizedAliasesEntry + * Lookup682: pallet_xcm::AuthorizedAliasesEntry **/ PalletXcmAuthorizedAliasesEntry: { aliasers: 'Vec', ticket: 'FrameSupportStorageDisabled' }, /** - * Lookup680: frame_support::traits::storage::Disabled + * Lookup683: frame_support::traits::storage::Disabled **/ FrameSupportStorageDisabled: 'Null', /** - * Lookup681: pallet_xcm::pallet::MaxAuthorizedAliases + * Lookup684: pallet_xcm::pallet::MaxAuthorizedAliases **/ PalletXcmMaxAuthorizedAliases: 'Null', /** - * Lookup683: xcm_runtime_apis::authorized_aliases::OriginAliaser + * Lookup686: xcm_runtime_apis::authorized_aliases::OriginAliaser **/ XcmRuntimeApisAuthorizedAliasesOriginAliaser: { location: 'XcmVersionedLocation', expiry: 'Option' }, /** - * Lookup685: pallet_xcm::pallet::Error + * Lookup688: pallet_xcm::pallet::Error **/ PalletXcmError: { _enum: { @@ -5512,13 +5541,13 @@ export default { } }, /** - * Lookup686: pallet_xcm::errors::ExecutionError + * Lookup689: pallet_xcm::errors::ExecutionError **/ PalletXcmErrorsExecutionError: { _enum: ['Overflow', 'Unimplemented', 'UntrustedReserveLocation', 'UntrustedTeleportLocation', 'LocationFull', 'LocationNotInvertible', 'BadOrigin', 'InvalidLocation', 'AssetNotFound', 'FailedToTransactAsset', 'NotWithdrawable', 'LocationCannotHold', 'ExceedsMaxMessageSize', 'DestinationUnsupported', 'Transport', 'Unroutable', 'UnknownClaim', 'FailedToDecode', 'MaxWeightInvalid', 'NotHoldingFees', 'TooExpensive', 'Trap', 'ExpectationFalse', 'PalletNotFound', 'NameMismatch', 'VersionIncompatible', 'HoldingWouldOverflow', 'ExportError', 'ReanchorFailed', 'NoDeal', 'FeesNotMet', 'LockError', 'NoPermission', 'Unanchored', 'NotDepositable', 'TooManyAssets', 'UnhandledXcmVersion', 'WeightLimitReached', 'Barrier', 'WeightNotComputable', 'ExceedsStackLimit'] }, /** - * Lookup687: cumulus_pallet_dmp_queue::pallet::MigrationState + * Lookup690: cumulus_pallet_dmp_queue::pallet::MigrationState **/ CumulusPalletDmpQueueMigrationState: { _enum: { @@ -5538,7 +5567,7 @@ export default { } }, /** - * Lookup690: pallet_message_queue::BookState + * Lookup693: pallet_message_queue::BookState **/ PalletMessageQueueBookState: { _alias: { @@ -5552,14 +5581,14 @@ export default { size_: 'u64' }, /** - * Lookup692: pallet_message_queue::Neighbours + * Lookup695: pallet_message_queue::Neighbours **/ PalletMessageQueueNeighbours: { prev: 'CumulusPrimitivesCoreAggregateMessageOrigin', next: 'CumulusPrimitivesCoreAggregateMessageOrigin' }, /** - * Lookup694: pallet_message_queue::Page + * Lookup697: pallet_message_queue::Page **/ PalletMessageQueuePage: { remaining: 'u32', @@ -5570,25 +5599,25 @@ export default { heap: 'Bytes' }, /** - * Lookup696: pallet_message_queue::pallet::Error + * Lookup699: pallet_message_queue::pallet::Error **/ PalletMessageQueueError: { _enum: ['NotReapable', 'NoPage', 'NoMessage', 'AlreadyProcessed', 'Queued', 'InsufficientWeight', 'TemporarilyUnprocessable', 'QueuePaused', 'RecursiveDisallowed'] }, /** - * Lookup700: pallet_unique::pallet::Error + * Lookup703: pallet_unique::pallet::Error **/ PalletUniqueError: { _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection'] }, /** - * Lookup701: pallet_configuration::pallet::Error + * Lookup704: pallet_configuration::pallet::Error **/ PalletConfigurationError: { _enum: ['InconsistentConfiguration'] }, /** - * Lookup702: up_data_structs::Collection + * Lookup705: up_data_structs::Collection **/ UpDataStructsCollection: { owner: 'AccountId32', @@ -5602,7 +5631,7 @@ export default { flags: '[u8;1]' }, /** - * Lookup703: up_data_structs::SponsorshipState + * Lookup706: up_data_structs::SponsorshipState **/ UpDataStructsSponsorshipStateAccountId32: { _enum: { @@ -5612,23 +5641,23 @@ export default { } }, /** - * Lookup704: up_data_structs::Properties + * Lookup708: up_data_structs::SpaceMeteredProperties **/ - UpDataStructsProperties: { + UpDataStructsSpaceMeteredProperties: { map: 'UpDataStructsPropertiesMapBoundedVec', consumedSpace: 'u32', reserved: 'u32' }, /** - * Lookup705: up_data_structs::PropertiesMap> + * Lookup709: up_data_structs::PropertiesMap> **/ UpDataStructsPropertiesMapBoundedVec: 'BTreeMap', /** - * Lookup710: up_data_structs::PropertiesMap + * Lookup714: up_data_structs::PropertiesMap **/ UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap', /** - * Lookup717: up_data_structs::CollectionStats + * Lookup721: up_data_structs::CollectionStats **/ UpDataStructsCollectionStats: { created: 'u32', @@ -5636,18 +5665,18 @@ export default { alive: 'u32' }, /** - * Lookup718: up_data_structs::TokenChild + * Lookup722: up_data_structs::TokenChild **/ UpDataStructsTokenChild: { token: 'u32', collection: 'u32' }, /** - * Lookup719: PhantomType::up_data_structs + * Lookup723: PhantomType::up_data_structs **/ PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpPovEstimateRpcPovInfo);0]', /** - * Lookup721: up_data_structs::TokenData> + * Lookup725: up_data_structs::TokenData> **/ UpDataStructsTokenData: { properties: 'Vec', @@ -5655,7 +5684,7 @@ export default { pieces: 'u128' }, /** - * Lookup722: up_data_structs::RpcCollection + * Lookup726: up_data_structs::RpcCollection **/ UpDataStructsRpcCollection: { owner: 'AccountId32', @@ -5672,14 +5701,14 @@ export default { flags: 'UpDataStructsRpcCollectionFlags' }, /** - * Lookup723: up_data_structs::RpcCollectionFlags + * Lookup727: up_data_structs::RpcCollectionFlags **/ UpDataStructsRpcCollectionFlags: { foreign: 'bool', erc721metadata: 'bool' }, /** - * Lookup724: up_pov_estimate_rpc::PovInfo + * Lookup728: up_pov_estimate_rpc::PovInfo **/ UpPovEstimateRpcPovInfo: { proofSize: 'u64', @@ -5689,7 +5718,7 @@ export default { keyValues: 'Vec' }, /** - * Lookup727: sp_runtime::transaction_validity::TransactionValidityError + * Lookup731: sp_runtime::transaction_validity::TransactionValidityError **/ SpRuntimeTransactionValidityTransactionValidityError: { _enum: { @@ -5698,7 +5727,7 @@ export default { } }, /** - * Lookup728: sp_runtime::transaction_validity::InvalidTransaction + * Lookup732: sp_runtime::transaction_validity::InvalidTransaction **/ SpRuntimeTransactionValidityInvalidTransaction: { _enum: { @@ -5718,7 +5747,7 @@ export default { } }, /** - * Lookup729: sp_runtime::transaction_validity::UnknownTransaction + * Lookup733: sp_runtime::transaction_validity::UnknownTransaction **/ SpRuntimeTransactionValidityUnknownTransaction: { _enum: { @@ -5728,85 +5757,85 @@ export default { } }, /** - * Lookup731: up_pov_estimate_rpc::TrieKeyValue + * Lookup735: up_pov_estimate_rpc::TrieKeyValue **/ UpPovEstimateRpcTrieKeyValue: { key: 'Bytes', value: 'Bytes' }, /** - * Lookup733: pallet_common::pallet::Error + * Lookup737: pallet_common::pallet::Error **/ PalletCommonError: { - _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin', 'FungibleItemsHaveNoId', 'NotFungibleDataUsedToMintFungibleCollectionToken'] + _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFunds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin', 'FungibleItemsHaveNoId', 'NotFungibleDataUsedToMintFungibleCollectionToken', 'CollectionTokensPropertiesLimitDowngrade'] }, /** - * Lookup735: pallet_fungible::pallet::Error + * Lookup739: pallet_fungible::pallet::Error **/ PalletFungibleError: { _enum: ['FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid'] }, /** - * Lookup740: pallet_refungible::pallet::Error + * Lookup744: pallet_refungible::pallet::Error **/ PalletRefungibleError: { _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed'] }, /** - * Lookup741: pallet_nonfungible::ItemData> + * Lookup745: pallet_nonfungible::ItemData> **/ PalletNonfungibleItemData: { owner: 'PalletEvmAccountBasicCrossAccountIdRepr' }, /** - * Lookup743: up_data_structs::PropertyScope + * Lookup747: up_data_structs::PropertyScope **/ UpDataStructsPropertyScope: { _enum: ['None', 'Rmrk'] }, /** - * Lookup746: pallet_nonfungible::pallet::Error + * Lookup750: pallet_nonfungible::pallet::Error **/ PalletNonfungibleError: { _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren'] }, /** - * Lookup747: pallet_structure::pallet::Error + * Lookup751: pallet_structure::pallet::Error **/ PalletStructureError: { _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound', 'CantNestTokenUnderCollection'] }, /** - * Lookup752: pallet_app_promotion::pallet::Error + * Lookup756: pallet_app_promotion::pallet::Error **/ PalletAppPromotionError: { _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'InsufficientStakedBalance', 'InconsistencyState'] }, /** - * Lookup756: pallet_foreign_assets::module::Error + * Lookup759: pallet_foreign_assets::module::Error **/ PalletForeignAssetsModuleError: { - _enum: ['ForeignAssetAlreadyRegistered', 'BadForeignAssetId', 'ForeignAssetNotFound', 'ForeignAssetIsNotFungible', 'CantParseBalance', 'FailedToFetchRate', 'CantParseResponse', 'OracleMembersCapacityExceeded'] + _enum: ['ForeignAssetAlreadyRegistered', 'BadForeignAssetId', 'BadLocation', 'ForeignAssetNotFound', 'ForeignAssetIsNotFungible', 'CantParseBalance', 'FailedToFetchRate', 'CantParseResponse', 'OracleMembersCapacityExceeded'] }, /** - * Lookup758: orml_oracle::module::TimestampedValue + * Lookup761: orml_oracle::module::TimestampedValue **/ OrmlOracleModuleTimestampedValue: { value: 'u128', timestamp: 'u64' }, /** - * Lookup759: orml_utilities::ordered_set::OrderedSet + * Lookup762: orml_utilities::ordered_set::OrderedSet **/ OrmlUtilitiesOrderedSet: 'Vec', /** - * Lookup761: orml_oracle::module::Error + * Lookup764: orml_oracle::module::Error **/ OrmlOracleModuleError: { _enum: ['NoPermission', 'AlreadyFeeded'] }, /** - * Lookup762: pallet_evm::CodeMetadata + * Lookup765: pallet_evm::CodeMetadata **/ PalletEvmCodeMetadata: { _alias: { @@ -5817,13 +5846,13 @@ export default { hash_: 'H256' }, /** - * Lookup764: pallet_evm::pallet::Error + * Lookup767: pallet_evm::pallet::Error **/ PalletEvmError: { _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'InvalidChainId', 'InvalidSignature', 'Reentrancy', 'TransactionMustComeFromEOA', 'Undefined', 'CreateOriginNotAllowed'] }, /** - * Lookup766: fp_rpc::TransactionStatus + * Lookup769: fp_rpc::TransactionStatus **/ FpRpcTransactionStatus: { transactionHash: 'H256', @@ -5835,11 +5864,11 @@ export default { logsBloom: 'EthbloomBloom' }, /** - * Lookup768: ethbloom::Bloom + * Lookup771: ethbloom::Bloom **/ EthbloomBloom: '[u8;256]', /** - * Lookup770: ethereum::receipt::ReceiptV3 + * Lookup773: ethereum::receipt::ReceiptV3 **/ EthereumReceiptReceiptV3: { _enum: { @@ -5849,7 +5878,7 @@ export default { } }, /** - * Lookup771: ethereum::receipt::EIP658ReceiptData + * Lookup774: ethereum::receipt::EIP658ReceiptData **/ EthereumReceiptEip658ReceiptData: { statusCode: 'u8', @@ -5858,7 +5887,7 @@ export default { logs: 'Vec' }, /** - * Lookup772: ethereum::block::Block + * Lookup775: ethereum::block::Block **/ EthereumBlock: { header: 'EthereumHeader', @@ -5866,7 +5895,7 @@ export default { ommers: 'Vec' }, /** - * Lookup773: ethereum::header::Header + * Lookup776: ethereum::header::Header **/ EthereumHeader: { parentHash: 'H256', @@ -5886,23 +5915,23 @@ export default { nonce: 'EthereumTypesHashH64' }, /** - * Lookup774: ethereum_types::hash::H64 + * Lookup777: ethereum_types::hash::H64 **/ EthereumTypesHashH64: '[u8;8]', /** - * Lookup779: pallet_ethereum::pallet::Error + * Lookup782: pallet_ethereum::pallet::Error **/ PalletEthereumError: { _enum: ['InvalidSignature', 'PreLogExists'] }, /** - * Lookup780: pallet_evm_coder_substrate::pallet::Error + * Lookup783: pallet_evm_coder_substrate::pallet::Error **/ PalletEvmCoderSubstrateError: { _enum: ['OutOfGas', 'OutOfFund'] }, /** - * Lookup781: up_data_structs::SponsorshipState> + * Lookup784: up_data_structs::SponsorshipState> **/ UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: { _enum: { @@ -5912,41 +5941,41 @@ export default { } }, /** - * Lookup782: pallet_evm_contract_helpers::SponsoringModeT + * Lookup785: pallet_evm_contract_helpers::SponsoringModeT **/ PalletEvmContractHelpersSponsoringModeT: { _enum: ['Disabled', 'Allowlisted', 'Generous'] }, /** - * Lookup788: pallet_evm_contract_helpers::pallet::Error + * Lookup791: pallet_evm_contract_helpers::pallet::Error **/ PalletEvmContractHelpersError: { _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit'] }, /** - * Lookup789: pallet_evm_migration::pallet::Error + * Lookup792: pallet_evm_migration::pallet::Error **/ PalletEvmMigrationError: { _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent'] }, /** - * Lookup790: pallet_maintenance::pallet::Error + * Lookup793: pallet_maintenance::pallet::Error **/ PalletMaintenanceError: 'Null', /** - * Lookup791: pallet_utility::pallet::Error + * Lookup794: pallet_utility::pallet::Error **/ PalletUtilityError: { _enum: ['TooManyCalls'] }, /** - * Lookup792: pallet_test_utils::pallet::Error + * Lookup795: pallet_test_utils::pallet::Error **/ PalletTestUtilsError: { _enum: ['TestPalletDisabled', 'TriggerRollback'] }, /** - * Lookup794: sp_runtime::MultiSignature + * Lookup797: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { @@ -5956,64 +5985,64 @@ export default { } }, /** - * Lookup797: cumulus_pallet_weight_reclaim::StorageWeightReclaim + * Lookup800: cumulus_pallet_weight_reclaim::StorageWeightReclaim **/ CumulusPalletWeightReclaimStorageWeightReclaim: '(FrameSystemExtensionsCheckSpecVersion,FrameSystemExtensionsCheckTxVersion,FrameSystemExtensionsCheckGenesis,Era,PalletSponsoringCheckNonce,FrameSystemExtensionsCheckWeight,OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance,OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls,PalletSponsoringChargeAssetTxPayment,PalletEthereumFakeTransactionFinalizer,FrameMetadataHashExtensionCheckMetadataHash)', /** - * Lookup799: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup802: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup800: frame_system::extensions::check_tx_version::CheckTxVersion + * Lookup803: frame_system::extensions::check_tx_version::CheckTxVersion **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup801: frame_system::extensions::check_genesis::CheckGenesis + * Lookup804: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup804: pallet_sponsoring::CheckNonce + * Lookup807: pallet_sponsoring::CheckNonce **/ PalletSponsoringCheckNonce: 'Compact', /** - * Lookup805: frame_system::extensions::check_weight::CheckWeight + * Lookup808: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup806: opal_runtime::runtime_common::maintenance::CheckMaintenance + * Lookup809: opal_runtime::runtime_common::maintenance::CheckMaintenance **/ OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null', /** - * Lookup807: opal_runtime::runtime_common::identity::DisableIdentityCalls + * Lookup810: opal_runtime::runtime_common::identity::DisableIdentityCalls **/ OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null', /** - * Lookup808: pallet_sponsoring::ChargeAssetTxPayment + * Lookup811: pallet_sponsoring::ChargeAssetTxPayment **/ PalletSponsoringChargeAssetTxPayment: { tip: 'Compact', assetId: 'Option' }, /** - * Lookup809: opal_runtime::Runtime + * Lookup812: opal_runtime::Runtime **/ OpalRuntimeRuntime: 'Null', /** - * Lookup810: opal_runtime::runtime_common::FeeCoefficientApplier + * Lookup813: opal_runtime::runtime_common::FeeCoefficientApplier **/ OpalRuntimeRuntimeCommonFeeCoefficientApplier: 'Null', /** - * Lookup811: pallet_ethereum::FakeTransactionFinalizer + * Lookup814: pallet_ethereum::FakeTransactionFinalizer **/ PalletEthereumFakeTransactionFinalizer: 'Null', /** - * Lookup812: frame_metadata_hash_extension::CheckMetadataHash + * Lookup815: frame_metadata_hash_extension::CheckMetadataHash **/ FrameMetadataHashExtensionCheckMetadataHash: { mode: 'FrameMetadataHashExtensionMode' }, /** - * Lookup813: frame_metadata_hash_extension::Mode + * Lookup816: frame_metadata_hash_extension::Mode **/ FrameMetadataHashExtensionMode: { _enum: ['Disabled', 'Enabled'] diff --git a/js-packages/types/types-lookup.ts b/js-packages/types/types-lookup.ts index 908aa55b6f..58fe839ccb 100644 --- a/js-packages/types/types-lookup.ts +++ b/js-packages/types/types-lookup.ts @@ -610,21 +610,21 @@ declare module '@polkadot/types/lookup' { interface StagingXcmV5Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; - readonly asX1: Vec; + readonly asX1: Vec; readonly isX2: boolean; - readonly asX2: Vec; + readonly asX2: Vec; readonly isX3: boolean; - readonly asX3: Vec; + readonly asX3: Vec; readonly isX4: boolean; - readonly asX4: Vec; + readonly asX4: Vec; readonly isX5: boolean; - readonly asX5: Vec; + readonly asX5: Vec; readonly isX6: boolean; - readonly asX6: Vec; + readonly asX6: Vec; readonly isX7: boolean; - readonly asX7: Vec; + readonly asX7: Vec; readonly isX8: boolean; - readonly asX8: Vec; + readonly asX8: Vec; readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } @@ -3748,7 +3748,12 @@ declare module '@polkadot/types/lookup' { readonly collectionId: u32; readonly itemId: u32; } & Struct; - readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'ApproveFrom' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem'; + readonly isUpgradeTokensPropertiesLimit: boolean; + readonly asUpgradeTokensPropertiesLimit: { + readonly collectionId: u32; + readonly newLimit: UpDataStructsPropertySizeLimit; + } & Struct; + readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'ApproveFrom' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem' | 'UpgradeTokensPropertiesLimit'; } /** @name UpDataStructsCollectionMode (344) */ @@ -3908,7 +3913,15 @@ declare module '@polkadot/types/lookup' { readonly properties: Vec; } - /** @name PalletConfigurationCall (393) */ + /** @name UpDataStructsPropertySizeLimit (393) */ + interface UpDataStructsPropertySizeLimit extends Enum { + readonly isDefault: boolean; + readonly isExtended: boolean; + readonly isMax: boolean; + readonly type: 'Default' | 'Extended' | 'Max'; + } + + /** @name PalletConfigurationCall (394) */ interface PalletConfigurationCall extends Enum { readonly isSetWeightToFeeCoefficientOverride: boolean; readonly asSetWeightToFeeCoefficientOverride: { @@ -3941,7 +3954,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold' | 'SetRelayBlockNumberChecks'; } - /** @name PalletConfigurationAppPromotionConfiguration (394) */ + /** @name PalletConfigurationAppPromotionConfiguration (395) */ interface PalletConfigurationAppPromotionConfiguration extends Struct { readonly recalculationInterval: Option; readonly pendingInterval: Option; @@ -3949,10 +3962,10 @@ declare module '@polkadot/types/lookup' { readonly maxStakersPerCalculation: Option; } - /** @name PalletStructureCall (399) */ + /** @name PalletStructureCall (400) */ type PalletStructureCall = Null; - /** @name PalletAppPromotionCall (400) */ + /** @name PalletAppPromotionCall (401) */ interface PalletAppPromotionCall extends Enum { readonly isSetAdminAddress: boolean; readonly asSetAdminAddress: { @@ -3994,7 +4007,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetAdminAddress' | 'Stake' | 'UnstakeAll' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers' | 'UnstakePartial' | 'ResolveSkippedBlocks'; } - /** @name PalletForeignAssetsModuleCall (402) */ + /** @name PalletForeignAssetsModuleCall (403) */ interface PalletForeignAssetsModuleCall extends Enum { readonly isForceRegisterForeignAsset: boolean; readonly asForceRegisterForeignAsset: { @@ -4008,6 +4021,16 @@ declare module '@polkadot/types/lookup' { readonly existingVersionedAssetId: XcmVersionedAssetId; readonly newVersionedAssetId: XcmVersionedAssetId; } & Struct; + readonly isForceSetForeignAssetReserveOverride: boolean; + readonly asForceSetForeignAssetReserveOverride: { + readonly versionedAssetId: XcmVersionedAssetId; + readonly versionedReserveOverride: Option; + } & Struct; + readonly isForceSetForeignAssetSuspension: boolean; + readonly asForceSetForeignAssetSuspension: { + readonly versionedAssetId: XcmVersionedAssetId; + readonly isSuspended: bool; + } & Struct; readonly isForceSetForeignAssetConversionCoefficient: boolean; readonly asForceSetForeignAssetConversionCoefficient: { readonly conversionCoefficient: u128; @@ -4020,10 +4043,14 @@ declare module '@polkadot/types/lookup' { readonly asRemoveOracleMember: { readonly accountId: AccountId32; } & Struct; - readonly type: 'ForceRegisterForeignAsset' | 'ForceResetForeignAssetLocation' | 'ForceSetForeignAssetConversionCoefficient' | 'AddOracleMember' | 'RemoveOracleMember'; + readonly isUpdateCurrencyExchangeUrl: boolean; + readonly asUpdateCurrencyExchangeUrl: { + readonly url: Bytes; + } & Struct; + readonly type: 'ForceRegisterForeignAsset' | 'ForceResetForeignAssetLocation' | 'ForceSetForeignAssetReserveOverride' | 'ForceSetForeignAssetSuspension' | 'ForceSetForeignAssetConversionCoefficient' | 'AddOracleMember' | 'RemoveOracleMember' | 'UpdateCurrencyExchangeUrl'; } - /** @name PalletForeignAssetsForeignCollectionMode (403) */ + /** @name PalletForeignAssetsForeignCollectionMode (404) */ interface PalletForeignAssetsForeignCollectionMode extends Enum { readonly isNft: boolean; readonly isFungible: boolean; @@ -4031,7 +4058,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Nft' | 'Fungible'; } - /** @name OrmlOracleModuleCall (405) */ + /** @name OrmlOracleModuleCall (408) */ interface OrmlOracleModuleCall extends Enum { readonly isFeedValues: boolean; readonly asFeedValues: { @@ -4040,7 +4067,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'FeedValues'; } - /** @name PalletEvmCall (410) */ + /** @name PalletEvmCall (413) */ interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { @@ -4085,7 +4112,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2'; } - /** @name PalletEthereumCall (416) */ + /** @name PalletEthereumCall (419) */ interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -4094,7 +4121,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Transact'; } - /** @name EthereumTransactionTransactionV2 (417) */ + /** @name EthereumTransactionTransactionV2 (420) */ interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyLegacyTransaction; @@ -4105,7 +4132,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumTransactionLegacyLegacyTransaction (418) */ + /** @name EthereumTransactionLegacyLegacyTransaction (421) */ interface EthereumTransactionLegacyLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; @@ -4116,7 +4143,7 @@ declare module '@polkadot/types/lookup' { readonly signature: EthereumTransactionLegacyTransactionSignature; } - /** @name EthereumTransactionLegacyTransactionAction (419) */ + /** @name EthereumTransactionLegacyTransactionAction (422) */ interface EthereumTransactionLegacyTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -4124,14 +4151,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Call' | 'Create'; } - /** @name EthereumTransactionLegacyTransactionSignature (420) */ + /** @name EthereumTransactionLegacyTransactionSignature (423) */ interface EthereumTransactionLegacyTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } - /** @name EthereumTransactionEip2930Eip2930Transaction (422) */ + /** @name EthereumTransactionEip2930Eip2930Transaction (425) */ interface EthereumTransactionEip2930Eip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -4146,13 +4173,13 @@ declare module '@polkadot/types/lookup' { readonly s: H256; } - /** @name EthereumTransactionEip2930AccessListItem (424) */ + /** @name EthereumTransactionEip2930AccessListItem (427) */ interface EthereumTransactionEip2930AccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name EthereumTransactionEip1559Eip1559Transaction (425) */ + /** @name EthereumTransactionEip1559Eip1559Transaction (428) */ interface EthereumTransactionEip1559Eip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -4168,7 +4195,7 @@ declare module '@polkadot/types/lookup' { readonly s: H256; } - /** @name PalletEvmContractHelpersCall (426) */ + /** @name PalletEvmContractHelpersCall (429) */ interface PalletEvmContractHelpersCall extends Enum { readonly isMigrateFromSelfSponsoring: boolean; readonly asMigrateFromSelfSponsoring: { @@ -4177,7 +4204,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'MigrateFromSelfSponsoring'; } - /** @name PalletEvmMigrationCall (428) */ + /** @name PalletEvmMigrationCall (431) */ interface PalletEvmMigrationCall extends Enum { readonly isBegin: boolean; readonly asBegin: { @@ -4205,21 +4232,21 @@ declare module '@polkadot/types/lookup' { readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'RemoveRmrkData'; } - /** @name EthereumLog (432) */ + /** @name EthereumLog (435) */ interface EthereumLog extends Struct { readonly address: H160; readonly topics: Vec; readonly data: Bytes; } - /** @name PalletMaintenanceCall (433) */ + /** @name PalletMaintenanceCall (436) */ interface PalletMaintenanceCall extends Enum { readonly isEnable: boolean; readonly isDisable: boolean; readonly type: 'Enable' | 'Disable'; } - /** @name PalletUtilityCall (434) */ + /** @name PalletUtilityCall (437) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -4261,7 +4288,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch' | 'WithWeight' | 'IfElse' | 'DispatchAsFallible'; } - /** @name PalletTestUtilsCall (436) */ + /** @name PalletTestUtilsCall (439) */ interface PalletTestUtilsCall extends Enum { readonly isEnable: boolean; readonly isSetTestValue: boolean; @@ -4286,10 +4313,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll' | 'MintForeignAssets'; } - /** @name SpRuntimeBlakeTwo256 (437) */ + /** @name SpRuntimeBlakeTwo256 (440) */ type SpRuntimeBlakeTwo256 = Null; - /** @name PalletSchedulerEvent (439) */ + /** @name PalletSchedulerEvent (442) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { @@ -4346,7 +4373,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'RetrySet' | 'RetryCancelled' | 'CallUnavailable' | 'PeriodicFailed' | 'RetryFailed' | 'PermanentlyOverweight' | 'AgendaIncomplete'; } - /** @name CumulusPalletXcmpQueueEvent (442) */ + /** @name CumulusPalletXcmpQueueEvent (445) */ interface CumulusPalletXcmpQueueEvent extends Enum { readonly isXcmpMessageSent: boolean; readonly asXcmpMessageSent: { @@ -4355,7 +4382,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'XcmpMessageSent'; } - /** @name PalletXcmEvent (443) */ + /** @name PalletXcmEvent (446) */ interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: { @@ -4524,7 +4551,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Attempted' | 'Sent' | 'SendFailed' | 'ProcessXcmError' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed' | 'VersionMigrationFinished' | 'AliasAuthorized' | 'AliasAuthorizationRemoved' | 'AliasesAuthorizationsRemoved'; } - /** @name StagingXcmV5TraitsOutcome (444) */ + /** @name StagingXcmV5TraitsOutcome (447) */ interface StagingXcmV5TraitsOutcome extends Enum { readonly isComplete: boolean; readonly asComplete: { @@ -4540,13 +4567,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Complete' | 'Incomplete' | 'Error'; } - /** @name StagingXcmV5TraitsInstructionError (445) */ + /** @name StagingXcmV5TraitsInstructionError (448) */ interface StagingXcmV5TraitsInstructionError extends Struct { readonly index: u8; readonly error: XcmV5TraitsError; } - /** @name XcmV3TraitsSendError (446) */ + /** @name XcmV3TraitsSendError (449) */ interface XcmV3TraitsSendError extends Enum { readonly isNotApplicable: boolean; readonly isTransport: boolean; @@ -4558,7 +4585,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotApplicable' | 'Transport' | 'Unroutable' | 'DestinationUnsupported' | 'ExceedsMaxMessageSize' | 'MissingArgument' | 'Fees'; } - /** @name CumulusPalletXcmEvent (447) */ + /** @name CumulusPalletXcmEvent (450) */ interface CumulusPalletXcmEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: U8aFixed; @@ -4569,7 +4596,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward'; } - /** @name CumulusPalletDmpQueueEvent (448) */ + /** @name CumulusPalletDmpQueueEvent (451) */ interface CumulusPalletDmpQueueEvent extends Enum { readonly isStartedExport: boolean; readonly isExported: boolean; @@ -4603,7 +4630,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'StartedExport' | 'Exported' | 'ExportFailed' | 'CompletedExport' | 'StartedOverweightExport' | 'ExportedOverweight' | 'ExportOverweightFailed' | 'CompletedOverweightExport' | 'StartedCleanup' | 'CleanedSome' | 'Completed'; } - /** @name PalletMessageQueueEvent (449) */ + /** @name PalletMessageQueueEvent (452) */ interface PalletMessageQueueEvent extends Enum { readonly isProcessingFailed: boolean; readonly asProcessingFailed: { @@ -4633,7 +4660,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ProcessingFailed' | 'Processed' | 'OverweightEnqueued' | 'PageReaped'; } - /** @name FrameSupportMessagesProcessMessageError (450) */ + /** @name FrameSupportMessagesProcessMessageError (453) */ interface FrameSupportMessagesProcessMessageError extends Enum { readonly isBadFormat: boolean; readonly isCorrupt: boolean; @@ -4645,7 +4672,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BadFormat' | 'Corrupt' | 'Unsupported' | 'Overweight' | 'Yield' | 'StackLimitReached'; } - /** @name PalletConfigurationEvent (451) */ + /** @name PalletConfigurationEvent (454) */ interface PalletConfigurationEvent extends Enum { readonly isNewDesiredCollators: boolean; readonly asNewDesiredCollators: { @@ -4662,7 +4689,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold'; } - /** @name PalletSponsoringEvent (452) */ + /** @name PalletSponsoringEvent (455) */ interface PalletSponsoringEvent extends Enum { readonly isAssetTxFeePaid: boolean; readonly asAssetTxFeePaid: { @@ -4674,7 +4701,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AssetTxFeePaid'; } - /** @name PalletCommonEvent (453) */ + /** @name PalletCommonEvent (456) */ interface PalletCommonEvent extends Enum { readonly isCollectionCreated: boolean; readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>; @@ -4723,14 +4750,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved'; } - /** @name PalletStructureEvent (454) */ + /** @name PalletStructureEvent (457) */ interface PalletStructureEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: Result; readonly type: 'Executed'; } - /** @name PalletAppPromotionEvent (455) */ + /** @name PalletAppPromotionEvent (458) */ interface PalletAppPromotionEvent extends Enum { readonly isStakingRecalculation: boolean; readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>; @@ -4743,7 +4770,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin'; } - /** @name PalletForeignAssetsModuleEvent (456) */ + /** @name PalletForeignAssetsModuleEvent (459) */ interface PalletForeignAssetsModuleEvent extends Enum { readonly isForeignAssetRegistered: boolean; readonly asForeignAssetRegistered: { @@ -4757,22 +4784,32 @@ declare module '@polkadot/types/lookup' { readonly oldAssetId: XcmVersionedAssetId; readonly newAssetId: XcmVersionedAssetId; } & Struct; + readonly isForeignAssetReserveOverride: boolean; + readonly asForeignAssetReserveOverride: { + readonly assetId: XcmVersionedAssetId; + readonly reserveOverride: Option; + } & Struct; + readonly isForeignAssetSuspensionSet: boolean; + readonly asForeignAssetSuspensionSet: { + readonly assetId: XcmVersionedAssetId; + readonly isSuspended: bool; + } & Struct; readonly isForeignAssetConversionCoefficientSet: boolean; readonly asForeignAssetConversionCoefficientSet: { readonly oldConversionCoefficient: u128; readonly newConversionCoefficient: u128; } & Struct; - readonly type: 'ForeignAssetRegistered' | 'MigrationStatus' | 'ForeignAssetMoved' | 'ForeignAssetConversionCoefficientSet'; + readonly type: 'ForeignAssetRegistered' | 'MigrationStatus' | 'ForeignAssetMoved' | 'ForeignAssetReserveOverride' | 'ForeignAssetSuspensionSet' | 'ForeignAssetConversionCoefficientSet'; } - /** @name PalletForeignAssetsMigrationStatus (457) */ + /** @name PalletForeignAssetsMigrationStatus (460) */ interface PalletForeignAssetsMigrationStatus extends Enum { readonly isV3ToV5: boolean; readonly asV3ToV5: PalletForeignAssetsMigrationStatusV3ToV5; readonly type: 'V3ToV5'; } - /** @name PalletForeignAssetsMigrationStatusV3ToV5 (458) */ + /** @name PalletForeignAssetsMigrationStatusV3ToV5 (461) */ interface PalletForeignAssetsMigrationStatusV3ToV5 extends Enum { readonly isDone: boolean; readonly isSkippedNotConvertibleAssetId: boolean; @@ -4785,7 +4822,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Done' | 'SkippedNotConvertibleAssetId' | 'SkippedNotConvertibleAssetInstance'; } - /** @name PalletAssetTxPaymentEvent (459) */ + /** @name PalletAssetTxPaymentEvent (462) */ interface PalletAssetTxPaymentEvent extends Enum { readonly isAssetTxFeePaid: boolean; readonly asAssetTxFeePaid: { @@ -4797,7 +4834,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AssetTxFeePaid'; } - /** @name OrmlOracleModuleEvent (460) */ + /** @name OrmlOracleModuleEvent (463) */ interface OrmlOracleModuleEvent extends Enum { readonly isNewFeedData: boolean; readonly asNewFeedData: { @@ -4807,7 +4844,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NewFeedData'; } - /** @name PalletEvmEvent (461) */ + /** @name PalletEvmEvent (464) */ interface PalletEvmEvent extends Enum { readonly isLog: boolean; readonly asLog: { @@ -4832,7 +4869,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed'; } - /** @name PalletEthereumEvent (462) */ + /** @name PalletEthereumEvent (465) */ interface PalletEthereumEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: { @@ -4845,7 +4882,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Executed'; } - /** @name EvmCoreErrorExitReason (463) */ + /** @name EvmCoreErrorExitReason (466) */ interface EvmCoreErrorExitReason extends Enum { readonly isSucceed: boolean; readonly asSucceed: EvmCoreErrorExitSucceed; @@ -4858,7 +4895,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal'; } - /** @name EvmCoreErrorExitSucceed (464) */ + /** @name EvmCoreErrorExitSucceed (467) */ interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; @@ -4866,7 +4903,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Stopped' | 'Returned' | 'Suicided'; } - /** @name EvmCoreErrorExitError (465) */ + /** @name EvmCoreErrorExitError (468) */ interface EvmCoreErrorExitError extends Enum { readonly isStackUnderflow: boolean; readonly isStackOverflow: boolean; @@ -4889,13 +4926,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'MaxNonce' | 'InvalidCode'; } - /** @name EvmCoreErrorExitRevert (469) */ + /** @name EvmCoreErrorExitRevert (472) */ interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: 'Reverted'; } - /** @name EvmCoreErrorExitFatal (470) */ + /** @name EvmCoreErrorExitFatal (473) */ interface EvmCoreErrorExitFatal extends Enum { readonly isNotSupported: boolean; readonly isUnhandledInterrupt: boolean; @@ -4906,7 +4943,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other'; } - /** @name PalletEvmContractHelpersEvent (471) */ + /** @name PalletEvmContractHelpersEvent (474) */ interface PalletEvmContractHelpersEvent extends Enum { readonly isContractSponsorSet: boolean; readonly asContractSponsorSet: ITuple<[H160, AccountId32]>; @@ -4917,20 +4954,20 @@ declare module '@polkadot/types/lookup' { readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved'; } - /** @name PalletEvmMigrationEvent (472) */ + /** @name PalletEvmMigrationEvent (475) */ interface PalletEvmMigrationEvent extends Enum { readonly isTestEvent: boolean; readonly type: 'TestEvent'; } - /** @name PalletMaintenanceEvent (473) */ + /** @name PalletMaintenanceEvent (476) */ interface PalletMaintenanceEvent extends Enum { readonly isMaintenanceEnabled: boolean; readonly isMaintenanceDisabled: boolean; readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled'; } - /** @name PalletUtilityEvent (474) */ + /** @name PalletUtilityEvent (477) */ interface PalletUtilityEvent extends Enum { readonly isBatchInterrupted: boolean; readonly asBatchInterrupted: { @@ -4956,7 +4993,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BatchInterrupted' | 'BatchCompleted' | 'BatchCompletedWithErrors' | 'ItemCompleted' | 'ItemFailed' | 'DispatchedAs' | 'IfElseMainSuccess' | 'IfElseFallbackCalled'; } - /** @name PalletTestUtilsEvent (475) */ + /** @name PalletTestUtilsEvent (478) */ interface PalletTestUtilsEvent extends Enum { readonly isValueIsSet: boolean; readonly isShouldRollback: boolean; @@ -4964,7 +5001,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted'; } - /** @name FrameSystemPhase (476) */ + /** @name FrameSystemPhase (479) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -4973,33 +5010,33 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } - /** @name FrameSystemLastRuntimeUpgradeInfo (478) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (481) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCodeUpgradeAuthorization (479) */ + /** @name FrameSystemCodeUpgradeAuthorization (482) */ interface FrameSystemCodeUpgradeAuthorization extends Struct { readonly codeHash: H256; readonly checkVersion: bool; } - /** @name FrameSystemLimitsBlockWeights (480) */ + /** @name FrameSystemLimitsBlockWeights (483) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (481) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (484) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (482) */ + /** @name FrameSystemLimitsWeightsPerClass (485) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -5007,25 +5044,25 @@ declare module '@polkadot/types/lookup' { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (483) */ + /** @name FrameSystemLimitsBlockLength (486) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (484) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (487) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (485) */ + /** @name SpWeightsRuntimeDbWeight (488) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (486) */ + /** @name SpVersionRuntimeVersion (489) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -5037,7 +5074,7 @@ declare module '@polkadot/types/lookup' { readonly systemVersion: u8; } - /** @name FrameSystemError (490) */ + /** @name FrameSystemError (493) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -5051,47 +5088,47 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered' | 'MultiBlockMigrationsOngoing' | 'NothingAuthorized' | 'Unauthorized'; } - /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (492) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (495) */ interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly paraHeadHash: Option; readonly consumedGoAheadSignal: Option; } - /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (493) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (496) */ interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct { readonly umpMsgCount: u32; readonly umpTotalBytes: u32; readonly hrmpOutgoing: BTreeMap; } - /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (495) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (498) */ interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct { readonly msgCount: u32; readonly totalBytes: u32; } - /** @name PolkadotPrimitivesV8UpgradeGoAhead (499) */ + /** @name PolkadotPrimitivesV8UpgradeGoAhead (502) */ interface PolkadotPrimitivesV8UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: 'Abort' | 'GoAhead'; } - /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (500) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (503) */ interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly hrmpWatermark: Option; readonly consumedGoAheadSignal: Option; } - /** @name PolkadotPrimitivesV8UpgradeRestriction (502) */ + /** @name PolkadotPrimitivesV8UpgradeRestriction (505) */ interface PolkadotPrimitivesV8UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: 'Present'; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (503) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (506) */ interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; @@ -5099,13 +5136,13 @@ declare module '@polkadot/types/lookup' { readonly egressChannels: Vec>; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (504) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (507) */ interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct { readonly remainingCount: u32; readonly remainingSize: u32; } - /** @name PolkadotPrimitivesV8AbridgedHrmpChannel (507) */ + /** @name PolkadotPrimitivesV8AbridgedHrmpChannel (510) */ interface PolkadotPrimitivesV8AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; @@ -5115,7 +5152,7 @@ declare module '@polkadot/types/lookup' { readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV8AbridgedHostConfiguration (508) */ + /** @name PolkadotPrimitivesV8AbridgedHostConfiguration (511) */ interface PolkadotPrimitivesV8AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; @@ -5129,25 +5166,25 @@ declare module '@polkadot/types/lookup' { readonly asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams; } - /** @name PolkadotPrimitivesV8AsyncBackingAsyncBackingParams (509) */ + /** @name PolkadotPrimitivesV8AsyncBackingAsyncBackingParams (512) */ interface PolkadotPrimitivesV8AsyncBackingAsyncBackingParams extends Struct { readonly maxCandidateDepth: u32; readonly allowedAncestryLen: u32; } - /** @name CumulusPalletParachainSystemParachainInherentInboundMessageId (514) */ + /** @name CumulusPalletParachainSystemParachainInherentInboundMessageId (517) */ interface CumulusPalletParachainSystemParachainInherentInboundMessageId extends Struct { readonly sentAt: u32; readonly reverseIdx: u32; } - /** @name PolkadotCorePrimitivesOutboundHrmpMessage (516) */ + /** @name PolkadotCorePrimitivesOutboundHrmpMessage (519) */ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } - /** @name CumulusPalletParachainSystemError (517) */ + /** @name CumulusPalletParachainSystemError (520) */ interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; readonly isProhibitedByPolkadot: boolean; @@ -5158,7 +5195,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled'; } - /** @name PalletCollatorSelectionError (519) */ + /** @name PalletCollatorSelectionError (522) */ interface PalletCollatorSelectionError extends Enum { readonly isTooManyCandidates: boolean; readonly isUnknown: boolean; @@ -5176,10 +5213,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered'; } - /** @name SpCoreCryptoKeyTypeId (526) */ + /** @name SpCoreCryptoKeyTypeId (529) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (527) */ + /** @name PalletSessionError (530) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -5189,14 +5226,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount'; } - /** @name PalletBalancesBalanceLock (533) */ + /** @name PalletBalancesBalanceLock (536) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (534) */ + /** @name PalletBalancesReasons (537) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -5204,13 +5241,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesReserveData (537) */ + /** @name PalletBalancesReserveData (540) */ interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name OpalRuntimeRuntimeHoldReason (541) */ + /** @name OpalRuntimeRuntimeHoldReason (544) */ interface OpalRuntimeRuntimeHoldReason extends Enum { readonly isStateTrieMigration: boolean; readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason; @@ -5231,49 +5268,49 @@ declare module '@polkadot/types/lookup' { readonly type: 'StateTrieMigration' | 'CollatorSelection' | 'Session' | 'Preimage' | 'Council' | 'TechnicalCommittee' | 'PolkadotXcm' | 'FinancialCouncil'; } - /** @name PalletStateTrieMigrationHoldReason (542) */ + /** @name PalletStateTrieMigrationHoldReason (545) */ interface PalletStateTrieMigrationHoldReason extends Enum { readonly isSlashForMigrate: boolean; readonly type: 'SlashForMigrate'; } - /** @name PalletCollatorSelectionHoldReason (543) */ + /** @name PalletCollatorSelectionHoldReason (546) */ interface PalletCollatorSelectionHoldReason extends Enum { readonly isLicenseBond: boolean; readonly type: 'LicenseBond'; } - /** @name PalletSessionHoldReason (544) */ + /** @name PalletSessionHoldReason (547) */ interface PalletSessionHoldReason extends Enum { readonly isKeys: boolean; readonly type: 'Keys'; } - /** @name PalletPreimageHoldReason (545) */ + /** @name PalletPreimageHoldReason (548) */ interface PalletPreimageHoldReason extends Enum { readonly isPreimage: boolean; readonly type: 'Preimage'; } - /** @name PalletCollectiveHoldReason (546) */ + /** @name PalletCollectiveHoldReason (549) */ interface PalletCollectiveHoldReason extends Enum { readonly isProposalSubmission: boolean; readonly type: 'ProposalSubmission'; } - /** @name PalletXcmHoldReason (549) */ + /** @name PalletXcmHoldReason (552) */ interface PalletXcmHoldReason extends Enum { readonly isAuthorizeAlias: boolean; readonly type: 'AuthorizeAlias'; } - /** @name FrameSupportTokensMiscIdAmount (552) */ + /** @name FrameSupportTokensMiscIdAmount (555) */ interface FrameSupportTokensMiscIdAmount extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name PalletBalancesError (554) */ + /** @name PalletBalancesError (557) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -5290,14 +5327,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero'; } - /** @name PalletTransactionPaymentReleases (555) */ + /** @name PalletTransactionPaymentReleases (558) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name PalletTreasuryProposal (556) */ + /** @name PalletTreasuryProposal (559) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u128; @@ -5305,7 +5342,7 @@ declare module '@polkadot/types/lookup' { readonly bond: u128; } - /** @name PalletTreasurySpendStatus (558) */ + /** @name PalletTreasurySpendStatus (561) */ interface PalletTreasurySpendStatus extends Struct { readonly assetKind: Null; readonly amount: u128; @@ -5315,7 +5352,7 @@ declare module '@polkadot/types/lookup' { readonly status: PalletTreasuryPaymentState; } - /** @name PalletTreasuryPaymentState (559) */ + /** @name PalletTreasuryPaymentState (562) */ interface PalletTreasuryPaymentState extends Enum { readonly isPending: boolean; readonly isAttempted: boolean; @@ -5326,10 +5363,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'Attempted' | 'Failed'; } - /** @name FrameSupportPalletId (561) */ + /** @name FrameSupportPalletId (564) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name PalletTreasuryError (562) */ + /** @name PalletTreasuryError (565) */ interface PalletTreasuryError extends Enum { readonly isInvalidIndex: boolean; readonly isTooManyApprovals: boolean; @@ -5345,13 +5382,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved' | 'FailedToConvertBalance' | 'SpendExpired' | 'EarlyPayout' | 'AlreadyAttempted' | 'PayoutError' | 'NotAttempted' | 'Inconclusive'; } - /** @name PalletSudoError (563) */ + /** @name PalletSudoError (566) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name OrmlVestingModuleError (565) */ + /** @name OrmlVestingModuleError (568) */ interface OrmlVestingModuleError extends Enum { readonly isZeroVestingPeriod: boolean; readonly isZeroVestingPeriodCount: boolean; @@ -5362,7 +5399,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded'; } - /** @name OrmlXtokensModuleError (566) */ + /** @name OrmlXtokensModuleError (569) */ interface OrmlXtokensModuleError extends Enum { readonly isAssetHasNoReserve: boolean; readonly isNotCrossChainTransfer: boolean; @@ -5387,14 +5424,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedLocation' | 'MinXcmFeeNotDefined' | 'RateLimited'; } - /** @name PalletIdentityRegistrarInfo (571) */ + /** @name PalletIdentityRegistrarInfo (574) */ interface PalletIdentityRegistrarInfo extends Struct { readonly account: AccountId32; readonly fee: u128; readonly fields: PalletIdentityBitFlags; } - /** @name PalletIdentityError (573) */ + /** @name PalletIdentityError (576) */ interface PalletIdentityError extends Enum { readonly isTooManySubAccounts: boolean; readonly isNotFound: boolean; @@ -5417,7 +5454,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed'; } - /** @name PalletPreimageOldRequestStatus (574) */ + /** @name PalletPreimageOldRequestStatus (577) */ interface PalletPreimageOldRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -5433,7 +5470,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageRequestStatus (577) */ + /** @name PalletPreimageRequestStatus (580) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -5449,7 +5486,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageError (583) */ + /** @name PalletPreimageError (586) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -5462,7 +5499,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested' | 'TooMany' | 'TooFew'; } - /** @name PalletDemocracyReferendumInfo (589) */ + /** @name PalletDemocracyReferendumInfo (592) */ interface PalletDemocracyReferendumInfo extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletDemocracyReferendumStatus; @@ -5474,7 +5511,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ongoing' | 'Finished'; } - /** @name PalletDemocracyReferendumStatus (590) */ + /** @name PalletDemocracyReferendumStatus (593) */ interface PalletDemocracyReferendumStatus extends Struct { readonly end: u32; readonly proposal: FrameSupportPreimagesBounded; @@ -5483,14 +5520,14 @@ declare module '@polkadot/types/lookup' { readonly tally: PalletDemocracyTally; } - /** @name PalletDemocracyTally (591) */ + /** @name PalletDemocracyTally (594) */ interface PalletDemocracyTally extends Struct { readonly ayes: u128; readonly nays: u128; readonly turnout: u128; } - /** @name PalletDemocracyVoteVoting (592) */ + /** @name PalletDemocracyVoteVoting (595) */ interface PalletDemocracyVoteVoting extends Enum { readonly isDirect: boolean; readonly asDirect: { @@ -5509,16 +5546,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Direct' | 'Delegating'; } - /** @name PalletDemocracyDelegations (596) */ + /** @name PalletDemocracyDelegations (599) */ interface PalletDemocracyDelegations extends Struct { readonly votes: u128; readonly capital: u128; } - /** @name PalletDemocracyVotePriorLock (597) */ + /** @name PalletDemocracyVotePriorLock (600) */ interface PalletDemocracyVotePriorLock extends ITuple<[u32, u128]> {} - /** @name PalletDemocracyError (600) */ + /** @name PalletDemocracyError (603) */ interface PalletDemocracyError extends Enum { readonly isValueLow: boolean; readonly isProposalMissing: boolean; @@ -5547,7 +5584,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ValueLow' | 'ProposalMissing' | 'AlreadyCanceled' | 'DuplicateProposal' | 'ProposalBlacklisted' | 'NotSimpleMajority' | 'InvalidHash' | 'NoProposal' | 'AlreadyVetoed' | 'ReferendumInvalid' | 'NoneWaiting' | 'NotVoter' | 'NoPermission' | 'AlreadyDelegating' | 'InsufficientFunds' | 'NotDelegating' | 'VotesExist' | 'InstantNotAllowed' | 'Nonsense' | 'WrongUpperBound' | 'MaxVotesReached' | 'TooMany' | 'VotingPeriodLow' | 'PreimageNotExist'; } - /** @name PalletCollectiveVotes (604) */ + /** @name PalletCollectiveVotes (607) */ interface PalletCollectiveVotes extends Struct { readonly index: u32; readonly threshold: u32; @@ -5556,7 +5593,7 @@ declare module '@polkadot/types/lookup' { readonly end: u32; } - /** @name PalletCollectiveError (605) */ + /** @name PalletCollectiveError (608) */ interface PalletCollectiveError extends Enum { readonly isNotMember: boolean; readonly isDuplicateProposal: boolean; @@ -5573,7 +5610,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength' | 'PrimeAccountNotMember' | 'ProposalActive'; } - /** @name PalletMembershipError (611) */ + /** @name PalletMembershipError (614) */ interface PalletMembershipError extends Enum { readonly isAlreadyMember: boolean; readonly isNotMember: boolean; @@ -5581,12 +5618,12 @@ declare module '@polkadot/types/lookup' { readonly type: 'AlreadyMember' | 'NotMember' | 'TooManyMembers'; } - /** @name PalletRankedCollectiveMemberRecord (614) */ + /** @name PalletRankedCollectiveMemberRecord (617) */ interface PalletRankedCollectiveMemberRecord extends Struct { readonly rank: u16; } - /** @name PalletRankedCollectiveError (619) */ + /** @name PalletRankedCollectiveError (622) */ interface PalletRankedCollectiveError extends Enum { readonly isAlreadyMember: boolean; readonly isNotMember: boolean; @@ -5602,7 +5639,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AlreadyMember' | 'NotMember' | 'NotPolling' | 'Ongoing' | 'NoneRemaining' | 'Corruption' | 'RankTooLow' | 'InvalidWitness' | 'NoPermission' | 'SameMember' | 'TooManyMembers'; } - /** @name PalletReferendaReferendumInfo (620) */ + /** @name PalletReferendaReferendumInfo (623) */ interface PalletReferendaReferendumInfo extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletReferendaReferendumStatus; @@ -5619,7 +5656,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed'; } - /** @name PalletReferendaReferendumStatus (621) */ + /** @name PalletReferendaReferendumStatus (624) */ interface PalletReferendaReferendumStatus extends Struct { readonly track: u16; readonly origin: OpalRuntimeOriginCaller; @@ -5634,19 +5671,19 @@ declare module '@polkadot/types/lookup' { readonly alarm: Option]>>; } - /** @name PalletReferendaDeposit (622) */ + /** @name PalletReferendaDeposit (625) */ interface PalletReferendaDeposit extends Struct { readonly who: AccountId32; readonly amount: u128; } - /** @name PalletReferendaDecidingStatus (625) */ + /** @name PalletReferendaDecidingStatus (628) */ interface PalletReferendaDecidingStatus extends Struct { readonly since: u32; readonly confirming: Option; } - /** @name PalletReferendaTrackDetails (631) */ + /** @name PalletReferendaTrackDetails (634) */ interface PalletReferendaTrackDetails extends Struct { readonly name: Text; readonly maxDeciding: u32; @@ -5659,7 +5696,7 @@ declare module '@polkadot/types/lookup' { readonly minSupport: PalletReferendaCurve; } - /** @name PalletReferendaCurve (632) */ + /** @name PalletReferendaCurve (635) */ interface PalletReferendaCurve extends Enum { readonly isLinearDecreasing: boolean; readonly asLinearDecreasing: { @@ -5683,7 +5720,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'LinearDecreasing' | 'SteppedDecreasing' | 'Reciprocal'; } - /** @name PalletReferendaError (635) */ + /** @name PalletReferendaError (638) */ interface PalletReferendaError extends Enum { readonly isNotOngoing: boolean; readonly isHasDeposit: boolean; @@ -5702,7 +5739,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotOngoing' | 'HasDeposit' | 'BadTrack' | 'Full' | 'QueueEmpty' | 'BadReferendum' | 'NothingToDo' | 'NoTrack' | 'Unfinished' | 'NoPermission' | 'NoDeposit' | 'BadStatus' | 'PreimageNotExist' | 'PreimageStoredWithDifferentLength'; } - /** @name PalletSchedulerScheduled (638) */ + /** @name PalletSchedulerScheduled (641) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; @@ -5711,14 +5748,14 @@ declare module '@polkadot/types/lookup' { readonly origin: OpalRuntimeOriginCaller; } - /** @name PalletSchedulerRetryConfig (640) */ + /** @name PalletSchedulerRetryConfig (643) */ interface PalletSchedulerRetryConfig extends Struct { readonly totalRetries: u8; readonly remaining: u8; readonly period: u32; } - /** @name PalletSchedulerError (641) */ + /** @name PalletSchedulerError (644) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -5728,7 +5765,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange' | 'Named'; } - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (652) */ + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (655) */ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; @@ -5737,21 +5774,21 @@ declare module '@polkadot/types/lookup' { readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (653) */ + /** @name CumulusPalletXcmpQueueOutboundState (656) */ interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name CumulusPalletXcmpQueueQueueConfigData (657) */ + /** @name CumulusPalletXcmpQueueQueueConfigData (660) */ interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; readonly resumeThreshold: u32; } - /** @name CumulusPalletXcmpQueueError (658) */ + /** @name CumulusPalletXcmpQueueError (661) */ interface CumulusPalletXcmpQueueError extends Enum { readonly isBadQueueConfig: boolean; readonly isAlreadySuspended: boolean; @@ -5761,7 +5798,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BadQueueConfig' | 'AlreadySuspended' | 'AlreadyResumed' | 'TooManyActiveOutboundChannels' | 'TooBig'; } - /** @name PalletXcmQueryStatus (659) */ + /** @name PalletXcmQueryStatus (662) */ interface PalletXcmQueryStatus extends Enum { readonly isPending: boolean; readonly asPending: { @@ -5783,7 +5820,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'VersionNotifier' | 'Ready'; } - /** @name XcmVersionedResponse (663) */ + /** @name XcmVersionedResponse (666) */ interface XcmVersionedResponse extends Enum { readonly isV3: boolean; readonly asV3: XcmV3Response; @@ -5794,7 +5831,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V3' | 'V4' | 'V5'; } - /** @name PalletXcmVersionMigrationStage (669) */ + /** @name PalletXcmVersionMigrationStage (672) */ interface PalletXcmVersionMigrationStage extends Enum { readonly isMigrateSupportedVersion: boolean; readonly isMigrateVersionNotifiers: boolean; @@ -5804,7 +5841,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets'; } - /** @name PalletXcmRemoteLockedFungibleRecord (672) */ + /** @name PalletXcmRemoteLockedFungibleRecord (675) */ interface PalletXcmRemoteLockedFungibleRecord extends Struct { readonly amount: u128; readonly owner: XcmVersionedLocation; @@ -5812,25 +5849,25 @@ declare module '@polkadot/types/lookup' { readonly consumers: Vec>; } - /** @name PalletXcmAuthorizedAliasesEntry (679) */ + /** @name PalletXcmAuthorizedAliasesEntry (682) */ interface PalletXcmAuthorizedAliasesEntry extends Struct { readonly aliasers: Vec; readonly ticket: FrameSupportStorageDisabled; } - /** @name FrameSupportStorageDisabled (680) */ + /** @name FrameSupportStorageDisabled (683) */ type FrameSupportStorageDisabled = Null; - /** @name PalletXcmMaxAuthorizedAliases (681) */ + /** @name PalletXcmMaxAuthorizedAliases (684) */ type PalletXcmMaxAuthorizedAliases = Null; - /** @name XcmRuntimeApisAuthorizedAliasesOriginAliaser (683) */ + /** @name XcmRuntimeApisAuthorizedAliasesOriginAliaser (686) */ interface XcmRuntimeApisAuthorizedAliasesOriginAliaser extends Struct { readonly location: XcmVersionedLocation; readonly expiry: Option; } - /** @name PalletXcmError (685) */ + /** @name PalletXcmError (688) */ interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -5867,7 +5904,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'CannotCheckOutTeleport' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse' | 'InvalidAssetUnknownReserve' | 'InvalidAssetUnsupportedReserve' | 'TooManyReserves' | 'LocalExecutionIncomplete' | 'TooManyAuthorizedAliases' | 'ExpiresInPast' | 'AliasNotFound' | 'LocalExecutionIncompleteWithError'; } - /** @name PalletXcmErrorsExecutionError (686) */ + /** @name PalletXcmErrorsExecutionError (689) */ interface PalletXcmErrorsExecutionError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -5913,7 +5950,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'TooManyAssets' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit'; } - /** @name CumulusPalletDmpQueueMigrationState (687) */ + /** @name CumulusPalletDmpQueueMigrationState (690) */ interface CumulusPalletDmpQueueMigrationState extends Enum { readonly isNotStarted: boolean; readonly isStartedExport: boolean; @@ -5934,7 +5971,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotStarted' | 'StartedExport' | 'CompletedExport' | 'StartedOverweightExport' | 'CompletedOverweightExport' | 'StartedCleanup' | 'Completed'; } - /** @name PalletMessageQueueBookState (690) */ + /** @name PalletMessageQueueBookState (693) */ interface PalletMessageQueueBookState extends Struct { readonly begin: u32; readonly end: u32; @@ -5944,13 +5981,13 @@ declare module '@polkadot/types/lookup' { readonly size_: u64; } - /** @name PalletMessageQueueNeighbours (692) */ + /** @name PalletMessageQueueNeighbours (695) */ interface PalletMessageQueueNeighbours extends Struct { readonly prev: CumulusPrimitivesCoreAggregateMessageOrigin; readonly next: CumulusPrimitivesCoreAggregateMessageOrigin; } - /** @name PalletMessageQueuePage (694) */ + /** @name PalletMessageQueuePage (697) */ interface PalletMessageQueuePage extends Struct { readonly remaining: u32; readonly remainingSize: u32; @@ -5960,7 +5997,7 @@ declare module '@polkadot/types/lookup' { readonly heap: Bytes; } - /** @name PalletMessageQueueError (696) */ + /** @name PalletMessageQueueError (699) */ interface PalletMessageQueueError extends Enum { readonly isNotReapable: boolean; readonly isNoPage: boolean; @@ -5974,7 +6011,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotReapable' | 'NoPage' | 'NoMessage' | 'AlreadyProcessed' | 'Queued' | 'InsufficientWeight' | 'TemporarilyUnprocessable' | 'QueuePaused' | 'RecursiveDisallowed'; } - /** @name PalletUniqueError (700) */ + /** @name PalletUniqueError (703) */ interface PalletUniqueError extends Enum { readonly isCollectionDecimalPointLimitExceeded: boolean; readonly isEmptyArgument: boolean; @@ -5982,13 +6019,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection'; } - /** @name PalletConfigurationError (701) */ + /** @name PalletConfigurationError (704) */ interface PalletConfigurationError extends Enum { readonly isInconsistentConfiguration: boolean; readonly type: 'InconsistentConfiguration'; } - /** @name UpDataStructsCollection (702) */ + /** @name UpDataStructsCollection (705) */ interface UpDataStructsCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; @@ -6001,7 +6038,7 @@ declare module '@polkadot/types/lookup' { readonly flags: U8aFixed; } - /** @name UpDataStructsSponsorshipStateAccountId32 (703) */ + /** @name UpDataStructsSponsorshipStateAccountId32 (706) */ interface UpDataStructsSponsorshipStateAccountId32 extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; @@ -6011,43 +6048,43 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name UpDataStructsProperties (704) */ - interface UpDataStructsProperties extends Struct { + /** @name UpDataStructsSpaceMeteredProperties (708) */ + interface UpDataStructsSpaceMeteredProperties extends Struct { readonly map: UpDataStructsPropertiesMapBoundedVec; readonly consumedSpace: u32; readonly reserved: u32; } - /** @name UpDataStructsPropertiesMapBoundedVec (705) */ + /** @name UpDataStructsPropertiesMapBoundedVec (709) */ interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} - /** @name UpDataStructsPropertiesMapPropertyPermission (710) */ + /** @name UpDataStructsPropertiesMapPropertyPermission (714) */ interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap {} - /** @name UpDataStructsCollectionStats (717) */ + /** @name UpDataStructsCollectionStats (721) */ interface UpDataStructsCollectionStats extends Struct { readonly created: u32; readonly destroyed: u32; readonly alive: u32; } - /** @name UpDataStructsTokenChild (718) */ + /** @name UpDataStructsTokenChild (722) */ interface UpDataStructsTokenChild extends Struct { readonly token: u32; readonly collection: u32; } - /** @name PhantomTypeUpDataStructs (719) */ + /** @name PhantomTypeUpDataStructs (723) */ interface PhantomTypeUpDataStructs extends Vec> {} - /** @name UpDataStructsTokenData (721) */ + /** @name UpDataStructsTokenData (725) */ interface UpDataStructsTokenData extends Struct { readonly properties: Vec; readonly owner: Option; readonly pieces: u128; } - /** @name UpDataStructsRpcCollection (722) */ + /** @name UpDataStructsRpcCollection (726) */ interface UpDataStructsRpcCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; @@ -6063,13 +6100,13 @@ declare module '@polkadot/types/lookup' { readonly flags: UpDataStructsRpcCollectionFlags; } - /** @name UpDataStructsRpcCollectionFlags (723) */ + /** @name UpDataStructsRpcCollectionFlags (727) */ interface UpDataStructsRpcCollectionFlags extends Struct { readonly foreign: bool; readonly erc721metadata: bool; } - /** @name UpPovEstimateRpcPovInfo (724) */ + /** @name UpPovEstimateRpcPovInfo (728) */ interface UpPovEstimateRpcPovInfo extends Struct { readonly proofSize: u64; readonly compactProofSize: u64; @@ -6078,7 +6115,7 @@ declare module '@polkadot/types/lookup' { readonly keyValues: Vec; } - /** @name SpRuntimeTransactionValidityTransactionValidityError (727) */ + /** @name SpRuntimeTransactionValidityTransactionValidityError (731) */ interface SpRuntimeTransactionValidityTransactionValidityError extends Enum { readonly isInvalid: boolean; readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction; @@ -6087,7 +6124,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Invalid' | 'Unknown'; } - /** @name SpRuntimeTransactionValidityInvalidTransaction (728) */ + /** @name SpRuntimeTransactionValidityInvalidTransaction (732) */ interface SpRuntimeTransactionValidityInvalidTransaction extends Enum { readonly isCall: boolean; readonly isPayment: boolean; @@ -6106,7 +6143,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner' | 'IndeterminateImplicit' | 'UnknownOrigin'; } - /** @name SpRuntimeTransactionValidityUnknownTransaction (729) */ + /** @name SpRuntimeTransactionValidityUnknownTransaction (733) */ interface SpRuntimeTransactionValidityUnknownTransaction extends Enum { readonly isCannotLookup: boolean; readonly isNoUnsignedValidator: boolean; @@ -6115,13 +6152,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom'; } - /** @name UpPovEstimateRpcTrieKeyValue (731) */ + /** @name UpPovEstimateRpcTrieKeyValue (735) */ interface UpPovEstimateRpcTrieKeyValue extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name PalletCommonError (733) */ + /** @name PalletCommonError (737) */ interface PalletCommonError extends Enum { readonly isCollectionNotFound: boolean; readonly isMustBeTokenOwner: boolean; @@ -6147,7 +6184,7 @@ declare module '@polkadot/types/lookup' { readonly isAddressIsNotEthMirror: boolean; readonly isAddressIsZero: boolean; readonly isUnsupportedOperation: boolean; - readonly isNotSufficientFounds: boolean; + readonly isNotSufficientFunds: boolean; readonly isUserIsNotAllowedToNest: boolean; readonly isSourceCollectionIsNotAllowedToNest: boolean; readonly isCollectionFieldSizeExceeded: boolean; @@ -6162,10 +6199,11 @@ declare module '@polkadot/types/lookup' { readonly isUserIsNotCollectionAdmin: boolean; readonly isFungibleItemsHaveNoId: boolean; readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; - readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId' | 'NotFungibleDataUsedToMintFungibleCollectionToken'; + readonly isCollectionTokensPropertiesLimitDowngrade: boolean; + readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFunds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId' | 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'CollectionTokensPropertiesLimitDowngrade'; } - /** @name PalletFungibleError (735) */ + /** @name PalletFungibleError (739) */ interface PalletFungibleError extends Enum { readonly isFungibleItemsDontHaveData: boolean; readonly isFungibleDisallowsNesting: boolean; @@ -6175,7 +6213,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid'; } - /** @name PalletRefungibleError (740) */ + /** @name PalletRefungibleError (744) */ interface PalletRefungibleError extends Enum { readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isWrongRefungiblePieces: boolean; @@ -6185,19 +6223,19 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed'; } - /** @name PalletNonfungibleItemData (741) */ + /** @name PalletNonfungibleItemData (745) */ interface PalletNonfungibleItemData extends Struct { readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } - /** @name UpDataStructsPropertyScope (743) */ + /** @name UpDataStructsPropertyScope (747) */ interface UpDataStructsPropertyScope extends Enum { readonly isNone: boolean; readonly isRmrk: boolean; readonly type: 'None' | 'Rmrk'; } - /** @name PalletNonfungibleError (746) */ + /** @name PalletNonfungibleError (750) */ interface PalletNonfungibleError extends Enum { readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isNonfungibleItemsHaveNoAmount: boolean; @@ -6205,7 +6243,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren'; } - /** @name PalletStructureError (747) */ + /** @name PalletStructureError (751) */ interface PalletStructureError extends Enum { readonly isOuroborosDetected: boolean; readonly isDepthLimit: boolean; @@ -6215,7 +6253,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound' | 'CantNestTokenUnderCollection'; } - /** @name PalletAppPromotionError (752) */ + /** @name PalletAppPromotionError (756) */ interface PalletAppPromotionError extends Enum { readonly isAdminNotSet: boolean; readonly isNoPermission: boolean; @@ -6227,42 +6265,43 @@ declare module '@polkadot/types/lookup' { readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'InsufficientStakedBalance' | 'InconsistencyState'; } - /** @name PalletForeignAssetsModuleError (756) */ + /** @name PalletForeignAssetsModuleError (759) */ interface PalletForeignAssetsModuleError extends Enum { readonly isForeignAssetAlreadyRegistered: boolean; readonly isBadForeignAssetId: boolean; + readonly isBadLocation: boolean; readonly isForeignAssetNotFound: boolean; readonly isForeignAssetIsNotFungible: boolean; readonly isCantParseBalance: boolean; readonly isFailedToFetchRate: boolean; readonly isCantParseResponse: boolean; readonly isOracleMembersCapacityExceeded: boolean; - readonly type: 'ForeignAssetAlreadyRegistered' | 'BadForeignAssetId' | 'ForeignAssetNotFound' | 'ForeignAssetIsNotFungible' | 'CantParseBalance' | 'FailedToFetchRate' | 'CantParseResponse' | 'OracleMembersCapacityExceeded'; + readonly type: 'ForeignAssetAlreadyRegistered' | 'BadForeignAssetId' | 'BadLocation' | 'ForeignAssetNotFound' | 'ForeignAssetIsNotFungible' | 'CantParseBalance' | 'FailedToFetchRate' | 'CantParseResponse' | 'OracleMembersCapacityExceeded'; } - /** @name OrmlOracleModuleTimestampedValue (758) */ + /** @name OrmlOracleModuleTimestampedValue (761) */ interface OrmlOracleModuleTimestampedValue extends Struct { readonly value: u128; readonly timestamp: u64; } - /** @name OrmlUtilitiesOrderedSet (759) */ + /** @name OrmlUtilitiesOrderedSet (762) */ interface OrmlUtilitiesOrderedSet extends Vec {} - /** @name OrmlOracleModuleError (761) */ + /** @name OrmlOracleModuleError (764) */ interface OrmlOracleModuleError extends Enum { readonly isNoPermission: boolean; readonly isAlreadyFeeded: boolean; readonly type: 'NoPermission' | 'AlreadyFeeded'; } - /** @name PalletEvmCodeMetadata (762) */ + /** @name PalletEvmCodeMetadata (765) */ interface PalletEvmCodeMetadata extends Struct { readonly size_: u64; readonly hash_: H256; } - /** @name PalletEvmError (764) */ + /** @name PalletEvmError (767) */ interface PalletEvmError extends Enum { readonly isBalanceLow: boolean; readonly isFeeOverflow: boolean; @@ -6281,7 +6320,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'InvalidChainId' | 'InvalidSignature' | 'Reentrancy' | 'TransactionMustComeFromEOA' | 'Undefined' | 'CreateOriginNotAllowed'; } - /** @name FpRpcTransactionStatus (766) */ + /** @name FpRpcTransactionStatus (769) */ interface FpRpcTransactionStatus extends Struct { readonly transactionHash: H256; readonly transactionIndex: u32; @@ -6292,10 +6331,10 @@ declare module '@polkadot/types/lookup' { readonly logsBloom: EthbloomBloom; } - /** @name EthbloomBloom (768) */ + /** @name EthbloomBloom (771) */ interface EthbloomBloom extends U8aFixed {} - /** @name EthereumReceiptReceiptV3 (770) */ + /** @name EthereumReceiptReceiptV3 (773) */ interface EthereumReceiptReceiptV3 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumReceiptEip658ReceiptData; @@ -6306,7 +6345,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumReceiptEip658ReceiptData (771) */ + /** @name EthereumReceiptEip658ReceiptData (774) */ interface EthereumReceiptEip658ReceiptData extends Struct { readonly statusCode: u8; readonly usedGas: U256; @@ -6314,14 +6353,14 @@ declare module '@polkadot/types/lookup' { readonly logs: Vec; } - /** @name EthereumBlock (772) */ + /** @name EthereumBlock (775) */ interface EthereumBlock extends Struct { readonly header: EthereumHeader; readonly transactions: Vec; readonly ommers: Vec; } - /** @name EthereumHeader (773) */ + /** @name EthereumHeader (776) */ interface EthereumHeader extends Struct { readonly parentHash: H256; readonly ommersHash: H256; @@ -6340,24 +6379,24 @@ declare module '@polkadot/types/lookup' { readonly nonce: EthereumTypesHashH64; } - /** @name EthereumTypesHashH64 (774) */ + /** @name EthereumTypesHashH64 (777) */ interface EthereumTypesHashH64 extends U8aFixed {} - /** @name PalletEthereumError (779) */ + /** @name PalletEthereumError (782) */ interface PalletEthereumError extends Enum { readonly isInvalidSignature: boolean; readonly isPreLogExists: boolean; readonly type: 'InvalidSignature' | 'PreLogExists'; } - /** @name PalletEvmCoderSubstrateError (780) */ + /** @name PalletEvmCoderSubstrateError (783) */ interface PalletEvmCoderSubstrateError extends Enum { readonly isOutOfGas: boolean; readonly isOutOfFund: boolean; readonly type: 'OutOfGas' | 'OutOfFund'; } - /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (781) */ + /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (784) */ interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; @@ -6367,7 +6406,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name PalletEvmContractHelpersSponsoringModeT (782) */ + /** @name PalletEvmContractHelpersSponsoringModeT (785) */ interface PalletEvmContractHelpersSponsoringModeT extends Enum { readonly isDisabled: boolean; readonly isAllowlisted: boolean; @@ -6375,7 +6414,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Allowlisted' | 'Generous'; } - /** @name PalletEvmContractHelpersError (788) */ + /** @name PalletEvmContractHelpersError (791) */ interface PalletEvmContractHelpersError extends Enum { readonly isNoPermission: boolean; readonly isNoPendingSponsor: boolean; @@ -6383,7 +6422,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit'; } - /** @name PalletEvmMigrationError (789) */ + /** @name PalletEvmMigrationError (792) */ interface PalletEvmMigrationError extends Enum { readonly isAccountNotEmpty: boolean; readonly isAccountIsNotMigrating: boolean; @@ -6391,23 +6430,23 @@ declare module '@polkadot/types/lookup' { readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent'; } - /** @name PalletMaintenanceError (790) */ + /** @name PalletMaintenanceError (793) */ type PalletMaintenanceError = Null; - /** @name PalletUtilityError (791) */ + /** @name PalletUtilityError (794) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly type: 'TooManyCalls'; } - /** @name PalletTestUtilsError (792) */ + /** @name PalletTestUtilsError (795) */ interface PalletTestUtilsError extends Enum { readonly isTestPalletDisabled: boolean; readonly isTriggerRollback: boolean; readonly type: 'TestPalletDisabled' | 'TriggerRollback'; } - /** @name SpRuntimeMultiSignature (794) */ + /** @name SpRuntimeMultiSignature (797) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: U8aFixed; @@ -6418,51 +6457,51 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name CumulusPalletWeightReclaimStorageWeightReclaim (797) */ + /** @name CumulusPalletWeightReclaimStorageWeightReclaim (800) */ interface CumulusPalletWeightReclaimStorageWeightReclaim extends ITuple<[FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckGenesis, Era, PalletSponsoringCheckNonce, FrameSystemExtensionsCheckWeight, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, PalletSponsoringChargeAssetTxPayment, PalletEthereumFakeTransactionFinalizer, FrameMetadataHashExtensionCheckMetadataHash]> {} - /** @name FrameSystemExtensionsCheckSpecVersion (799) */ + /** @name FrameSystemExtensionsCheckSpecVersion (802) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (800) */ + /** @name FrameSystemExtensionsCheckTxVersion (803) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (801) */ + /** @name FrameSystemExtensionsCheckGenesis (804) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name PalletSponsoringCheckNonce (804) */ + /** @name PalletSponsoringCheckNonce (807) */ interface PalletSponsoringCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckWeight (805) */ + /** @name FrameSystemExtensionsCheckWeight (808) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (806) */ + /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (809) */ type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null; - /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (807) */ + /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (810) */ type OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls = Null; - /** @name PalletSponsoringChargeAssetTxPayment (808) */ + /** @name PalletSponsoringChargeAssetTxPayment (811) */ interface PalletSponsoringChargeAssetTxPayment extends Struct { readonly tip: Compact; readonly assetId: Option; } - /** @name OpalRuntimeRuntime (809) */ + /** @name OpalRuntimeRuntime (812) */ type OpalRuntimeRuntime = Null; - /** @name OpalRuntimeRuntimeCommonFeeCoefficientApplier (810) */ + /** @name OpalRuntimeRuntimeCommonFeeCoefficientApplier (813) */ type OpalRuntimeRuntimeCommonFeeCoefficientApplier = Null; - /** @name PalletEthereumFakeTransactionFinalizer (811) */ + /** @name PalletEthereumFakeTransactionFinalizer (814) */ type PalletEthereumFakeTransactionFinalizer = Null; - /** @name FrameMetadataHashExtensionCheckMetadataHash (812) */ + /** @name FrameMetadataHashExtensionCheckMetadataHash (815) */ interface FrameMetadataHashExtensionCheckMetadataHash extends Struct { readonly mode: FrameMetadataHashExtensionMode; } - /** @name FrameMetadataHashExtensionMode (813) */ + /** @name FrameMetadataHashExtensionMode (816) */ interface FrameMetadataHashExtensionMode extends Enum { readonly isDisabled: boolean; readonly isEnabled: boolean; From df7cfc68116214537093f632604261cca637bb53 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Tue, 7 Oct 2025 23:17:21 +0000 Subject: [PATCH 04/51] ci: cargo fmt --- js-packages/types/types-lookup.ts | 16 ++++++++-------- runtime/common/config/parachain.rs | 6 +----- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/js-packages/types/types-lookup.ts b/js-packages/types/types-lookup.ts index 58fe839ccb..e0bac09691 100644 --- a/js-packages/types/types-lookup.ts +++ b/js-packages/types/types-lookup.ts @@ -610,21 +610,21 @@ declare module '@polkadot/types/lookup' { interface StagingXcmV5Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; - readonly asX1: Vec; + readonly asX1: Vec; readonly isX2: boolean; - readonly asX2: Vec; + readonly asX2: Vec; readonly isX3: boolean; - readonly asX3: Vec; + readonly asX3: Vec; readonly isX4: boolean; - readonly asX4: Vec; + readonly asX4: Vec; readonly isX5: boolean; - readonly asX5: Vec; + readonly asX5: Vec; readonly isX6: boolean; - readonly asX6: Vec; + readonly asX6: Vec; readonly isX7: boolean; - readonly asX7: Vec; + readonly asX7: Vec; readonly isX8: boolean; - readonly asX8: Vec; + readonly asX8: Vec; readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } diff --git a/runtime/common/config/parachain.rs b/runtime/common/config/parachain.rs index b6ef4fb89e..2bbc5cc340 100644 --- a/runtime/common/config/parachain.rs +++ b/runtime/common/config/parachain.rs @@ -18,11 +18,7 @@ use cumulus_pallet_parachain_system::{ consensus_hook::UnincludedSegmentCapacity, RelayChainStateProof, }; use cumulus_primitives_core::AggregateMessageOrigin; -use frame_support::{ - parameter_types, - traits::EnqueueWithOrigin, - weights::Weight, -}; +use frame_support::{parameter_types, traits::EnqueueWithOrigin, weights::Weight}; use up_common::constants::*; use crate::{MessageQueue, Runtime, RuntimeEvent, XcmpQueue}; From 2185139687e3c01254308d8fbb4a41c4be40eec0 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Mon, 6 Oct 2025 21:58:55 +0700 Subject: [PATCH 05/51] set chainQL params in baedeker up.sh --- .baedeker/up.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.baedeker/up.sh b/.baedeker/up.sh index d66a21913d..2c99f67ae0 100755 --- a/.baedeker/up.sh +++ b/.baedeker/up.sh @@ -3,6 +3,8 @@ set -e BDK_DIR=$(dirname $(readlink -f "$0")) RUST_LOG=info \ +CHAINQL_WORKERS=2 \ +CHAINQL_KEYS_CHUNK_SIZE=20000 \ baedeker \ --spec=docker \ -J$BDK_DIR/vendor/ \ From e632c3dbf2f1f48eb54092feb26b4110d12ebd4a Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Mon, 6 Oct 2025 22:46:14 +0700 Subject: [PATCH 06/51] set chainQL params for main-process-update workflow --- .github/workflows/main-process-update.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main-process-update.yml b/.github/workflows/main-process-update.yml index 020ce6587a..e1c2cb946c 100644 --- a/.github/workflows/main-process-update.yml +++ b/.github/workflows/main-process-update.yml @@ -152,6 +152,9 @@ jobs: run: | . "$HOME/.cargo/env" chainql -e "cql.chain(\"${{ matrix.fork_source }}\").latest._preloadKeys._raw" > .baedeker/vendor/dump.json + env: + CHAINQL_WORKERS: 2 + CHAINQL_KEYS_CHUNK_SIZE: 20000 - name: Start network uses: UniqueNetwork/baedeker-action@v1.2 From 267381bbd8ce4c9065a98f3c962938f73d45ea85 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Wed, 8 Oct 2025 11:35:46 +0700 Subject: [PATCH 07/51] up mainnet branch version for CI --- .env | 4 ++-- .github/workflows/deno-dev.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.env b/.env index b19339c88c..9a4ac96700 100644 --- a/.env +++ b/.env @@ -4,8 +4,8 @@ RELAY_CHAIN_TYPE=westend #NODE_BRANCH=unique-polkadot-2503 #NODE_HASH=a1ed12028a59a2edea110157eee6ba6ae3f0ab40 -MAINNET_BRANCH=release-v10170081 -MAINNET_HASH=8a9ca9847b0660fb1d8fe5592c5ac70fe92e9b2e +MAINNET_BRANCH=release-v10180082 +MAINNET_HASH=e3307f0af4f090d50ea0192424c58fa8577af364 DENO_VERSION=v2.5.1 BAEDEKER_VERSION=v0.1.4 diff --git a/.github/workflows/deno-dev.yml b/.github/workflows/deno-dev.yml index f4fc46870b..0218d4ae81 100644 --- a/.github/workflows/deno-dev.yml +++ b/.github/workflows/deno-dev.yml @@ -66,9 +66,9 @@ jobs: env: RPC_URL: http://127.0.0.1:9944/ - - name: Read output variables - run: | - echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}" + # - name: Read output variables + # run: | + # echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}" - name: Run benchmark mintFee tests working-directory: js-packages/scripts From 48deb109aadd52b0a82656deda4318b28ae1a2f4 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Wed, 8 Oct 2025 08:09:49 +0000 Subject: [PATCH 08/51] ci: deno lint --- js-packages/types/augment-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-packages/types/augment-types.ts b/js-packages/types/augment-types.ts index 9a1e0ad497..2a60174f5b 100644 --- a/js-packages/types/augment-types.ts +++ b/js-packages/types/augment-types.ts @@ -5,7 +5,7 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueueMigrationState, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection, CumulusPalletParachainSystemParachainInherentBasicParachainInherentData, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemParachainInherentInboundMessagesData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletWeightReclaimStorageWeightReclaim, CumulusPalletXcmCall, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentHashedMessage, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionEip1559Eip1559Transaction, EthereumTransactionEip2930AccessListItem, EthereumTransactionEip2930Eip2930Transaction, EthereumTransactionLegacyLegacyTransaction, EthereumTransactionLegacyTransactionAction, EthereumTransactionLegacyTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameMetadataHashExtensionCheckMetadataHash, FrameMetadataHashExtensionMode, FrameSupportDispatchDispatchClass, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportMessagesProcessMessageError, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportStorageDisabled, FrameSupportTokensMiscBalanceStatus, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemDispatchEventInfo, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonFeeCoefficientApplier, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlOracleModuleCall, OrmlOracleModuleError, OrmlOracleModuleEvent, OrmlOracleModuleTimestampedValue, OrmlUtilitiesOrderedSet, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAssetTxPaymentEvent, PalletBalancesAccountData, PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletBalancesUnexpectedKind, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollatorSelectionHoldReason, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveHoldReason, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsForeignCollectionMode, PalletForeignAssetsMigrationStatus, PalletForeignAssetsMigrationStatusV3ToV5, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletMessageQueueBookState, PalletMessageQueueCall, PalletMessageQueueError, PalletMessageQueueEvent, PalletMessageQueueNeighbours, PalletMessageQueuePage, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageHoldReason, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackDetails, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletSessionHoldReason, PalletSponsoringChargeAssetTxPayment, PalletSponsoringCheckNonce, PalletSponsoringEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationHoldReason, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryPaymentState, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniqueCall, PalletUniqueError, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmAuthorizedAliasesEntry, PalletXcmCall, PalletXcmError, PalletXcmErrorsExecutionError, PalletXcmEvent, PalletXcmHoldReason, PalletXcmMaxAuthorizedAliases, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8AbridgedHrmpChannel, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeProvingTrieTrieError, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingParachainInfoCall, StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4AssetAssets, StagingXcmV4AssetFungibility, StagingXcmV4AssetWildAsset, StagingXcmV4AssetWildFungibility, StagingXcmV4Instruction, StagingXcmV4Junction, StagingXcmV4JunctionNetworkId, StagingXcmV4Junctions, StagingXcmV4Location, StagingXcmV4PalletInfo, StagingXcmV4QueryResponseInfo, StagingXcmV4Response, StagingXcmV4Xcm, StagingXcmV5Asset, StagingXcmV5AssetAssetFilter, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5AssetAssetTransferFilter, StagingXcmV5AssetAssets, StagingXcmV5AssetFungibility, StagingXcmV5AssetWildAsset, StagingXcmV5AssetWildFungibility, StagingXcmV5Hint, StagingXcmV5Instruction, StagingXcmV5Junction, StagingXcmV5JunctionNetworkId, StagingXcmV5Junctions, StagingXcmV5Location, StagingXcmV5PalletInfo, StagingXcmV5QueryResponseInfo, StagingXcmV5Response, StagingXcmV5TraitsInstructionError, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsPropertySizeLimit, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSpaceMeteredProperties, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3OriginKind, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsSendError, XcmV3WeightLimit, XcmV3Xcm, XcmV5TraitsError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from './default'; +import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueueMigrationState, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection, CumulusPalletParachainSystemParachainInherentBasicParachainInherentData, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemParachainInherentInboundMessagesData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletWeightReclaimStorageWeightReclaim, CumulusPalletXcmCall, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentHashedMessage, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionEip1559Eip1559Transaction, EthereumTransactionEip2930AccessListItem, EthereumTransactionEip2930Eip2930Transaction, EthereumTransactionLegacyLegacyTransaction, EthereumTransactionLegacyTransactionAction, EthereumTransactionLegacyTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameMetadataHashExtensionCheckMetadataHash, FrameMetadataHashExtensionMode, FrameSupportDispatchDispatchClass, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportMessagesProcessMessageError, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportStorageDisabled, FrameSupportTokensMiscBalanceStatus, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemDispatchEventInfo, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonFeeCoefficientApplier, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlOracleModuleCall, OrmlOracleModuleError, OrmlOracleModuleEvent, OrmlOracleModuleTimestampedValue, OrmlUtilitiesOrderedSet, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAssetTxPaymentEvent, PalletBalancesAccountData, PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletBalancesUnexpectedKind, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollatorSelectionHoldReason, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveHoldReason, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsForeignCollectionMode, PalletForeignAssetsMigrationStatus, PalletForeignAssetsMigrationStatusV3ToV5, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletMessageQueueBookState, PalletMessageQueueCall, PalletMessageQueueError, PalletMessageQueueEvent, PalletMessageQueueNeighbours, PalletMessageQueuePage, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageHoldReason, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackDetails, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletSessionHoldReason, PalletSponsoringChargeAssetTxPayment, PalletSponsoringCheckNonce, PalletSponsoringEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationHoldReason, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryPaymentState, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniqueCall, PalletUniqueError, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmAuthorizedAliasesEntry, PalletXcmCall, PalletXcmError, PalletXcmErrorsExecutionError, PalletXcmEvent, PalletXcmHoldReason, PalletXcmMaxAuthorizedAliases, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8AbridgedHrmpChannel, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeProvingTrieTrieError, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingParachainInfoCall, StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4AssetAssets, StagingXcmV4AssetFungibility, StagingXcmV4AssetWildAsset, StagingXcmV4AssetWildFungibility, StagingXcmV4Instruction, StagingXcmV4Junction, StagingXcmV4JunctionNetworkId, StagingXcmV4Junctions, StagingXcmV4Location, StagingXcmV4PalletInfo, StagingXcmV4QueryResponseInfo, StagingXcmV4Response, StagingXcmV4Xcm, StagingXcmV5Asset, StagingXcmV5AssetAssetFilter, StagingXcmV5AssetAssetId, StagingXcmV5AssetAssetInstance, StagingXcmV5AssetAssetTransferFilter, StagingXcmV5AssetAssets, StagingXcmV5AssetFungibility, StagingXcmV5AssetWildAsset, StagingXcmV5AssetWildFungibility, StagingXcmV5Hint, StagingXcmV5Instruction, StagingXcmV5Junction, StagingXcmV5JunctionNetworkId, StagingXcmV5Junctions, StagingXcmV5Location, StagingXcmV5PalletInfo, StagingXcmV5QueryResponseInfo, StagingXcmV5Response, StagingXcmV5TraitsInstructionError, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsPropertySizeLimit, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSpaceMeteredProperties, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3OriginKind, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsSendError, XcmV3WeightLimit, XcmV3Xcm, XcmV5TraitsError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from './default/types.ts'; import type { Data, StorageKey } from '@polkadot/types'; import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, ISize, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, isize, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; import type { TAssetConversion } from '@polkadot/types/interfaces/assetConversion'; From 8416c5d9f8fe16e096e47403863da09d45ed650d Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Wed, 8 Oct 2025 09:18:10 +0000 Subject: [PATCH 09/51] Revert "feat: set relay_parent_offset to 1" This reverts commit a235e99d2512a418b3265885595c75e54785bd3f. --- runtime/common/config/parachain.rs | 13 +++++-------- runtime/common/runtime_apis.rs | 7 ------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/runtime/common/config/parachain.rs b/runtime/common/config/parachain.rs index 2bbc5cc340..0f0f8168d8 100644 --- a/runtime/common/config/parachain.rs +++ b/runtime/common/config/parachain.rs @@ -20,17 +20,14 @@ use cumulus_pallet_parachain_system::{ use cumulus_primitives_core::AggregateMessageOrigin; use frame_support::{parameter_types, traits::EnqueueWithOrigin, weights::Weight}; use up_common::constants::*; +use sp_runtime::traits::ConstU32; use crate::{MessageQueue, Runtime, RuntimeEvent, XcmpQueue}; -/// Build with an offset of 1 behind the relay chain best block. -const RELAY_PARENT_OFFSET: u32 = 1; - parameter_types! { pub const RelayMsgOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); - pub const RelayParentOffset: u32 = RELAY_PARENT_OFFSET; } impl cumulus_pallet_parachain_system::Config for Runtime { @@ -46,19 +43,19 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = pallet_configuration::CheckAssociatedRelayNumber; type ConsensusHook = ConsensusHookWrapper; type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; - type RelayParentOffset = RelayParentOffset; + type RelayParentOffset = ConstU32<0>; } impl staging_parachain_info::Config for Runtime {} impl cumulus_pallet_aura_ext::Config for Runtime {} +/// Maximum number of blocks simultaneously accepted by the Runtime, not yet included +/// into the relay chain. +const UNINCLUDED_SEGMENT_CAPACITY: u32 = 3; /// How many parachain blocks are processed by the relay chain per parent. Limits the /// number of blocks authored per slot. const BLOCK_PROCESSING_VELOCITY: u32 = 2; -/// Maximum number of blocks simultaneously accepted by the Runtime, not yet included -/// into the relay chain. -const UNINCLUDED_SEGMENT_CAPACITY: u32 = (2 + RELAY_PARENT_OFFSET) * BLOCK_PROCESSING_VELOCITY + 1; pub type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook< Runtime, { MILLISECS_PER_RELAY_BLOCK as u32 }, diff --git a/runtime/common/runtime_apis.rs b/runtime/common/runtime_apis.rs index 6fefab3e90..f656502f87 100644 --- a/runtime/common/runtime_apis.rs +++ b/runtime/common/runtime_apis.rs @@ -59,7 +59,6 @@ macro_rules! impl_common_runtime_apis { sponsoring::{SponsorshipPredict, UniqueSponsorshipPredict}, dispatch::CollectionDispatch, config::ethereum::CrossAccountId, - config::parachain::RelayParentOffset, }; use up_data_structs::*; use staging_xcm::{Version as XcmVersion, VersionedAsset, VersionedLocation, VersionedXcm}; @@ -508,12 +507,6 @@ macro_rules! impl_common_runtime_apis { } } - impl cumulus_primitives_core::RelayParentOffsetApi for Runtime { - fn relay_parent_offset() -> u32 { - RelayParentOffset::get() - } - } - impl frame_system_rpc_runtime_api::AccountNonceApi for Runtime { fn account_nonce(account: AccountId) -> Nonce { System::account_nonce(account) From fb347ccaebfc109b5747ee7f3cef3f11362b4a3e Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 8 Oct 2025 14:28:32 +0200 Subject: [PATCH 10/51] fix: per-asset foreign-assets coeff --- pallets/foreign-assets/src/lib.rs | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pallets/foreign-assets/src/lib.rs b/pallets/foreign-assets/src/lib.rs index 5ff7d01dda..92aa86fb0c 100644 --- a/pallets/foreign-assets/src/lib.rs +++ b/pallets/foreign-assets/src/lib.rs @@ -398,7 +398,7 @@ pub mod module { /// The corresponding collections of foreign assets. #[pallet::storage] #[pallet::getter(fn foreign_asset_conversion_coefficient)] - pub type ForeignAssetConversionCoefficient = StorageValue<_, FixedU128, OptionQuery>; + pub type ForeignAssetConversionCoefficient = StorageMap<_, Blake2_128Concat, staging_xcm::v5::AssetId, FixedU128, OptionQuery>; #[pallet::storage] pub type OracleMembers = @@ -439,7 +439,7 @@ pub mod module { if !Self::get_convertible_assets().contains(asset_id) { return None; } - let conversion_coefficient = Self::foreign_asset_conversion_coefficient() + let conversion_coefficient = Self::foreign_asset_conversion_coefficient(asset_id) .unwrap_or_else(T::ForeignAssetConversionCoefficientDefault::get); let native_decimals = ::Decimals::get(); let conversion_rate = @@ -628,19 +628,25 @@ pub mod module { } #[pallet::call_index(4)] - //TODO: add benchmark #[pallet::weight(::WeightInfo::force_set_foreign_asset_conversion_coefficient())] pub fn force_set_foreign_asset_conversion_coefficient( origin: OriginFor, + versioned_asset_id: Box, conversion_coefficient: FixedU128, ) -> DispatchResult { T::ManagerOrigin::ensure_origin(origin.clone())?; + let asset_id: AssetId = versioned_asset_id + .as_ref() + .clone() + .try_into() + .map_err(|()| Error::::BadForeignAssetId)?; + let old_conversion_coefficient = - >::get().unwrap_or(FixedU128::from(0)); + >::get(&asset_id).unwrap_or(FixedU128::from(0)); if conversion_coefficient != 0.into() { - >::set(Some(conversion_coefficient)); + >::insert(&asset_id, conversion_coefficient); } Self::deposit_event(Event::::ForeignAssetConversionCoefficientSet { From 92bba0b03a58758dfc2aa0e8d072f42c25893943 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 8 Oct 2025 14:29:06 +0200 Subject: [PATCH 11/51] fix: benchmarks --- node/cli/src/command.rs | 3 ++- pallets/collator-selection/src/benchmarking.rs | 15 +++++++-------- pallets/configuration/src/benchmarking.rs | 5 ++--- pallets/identity/src/benchmarking.rs | 4 ++-- runtime/common/config/substrate.rs | 4 ++-- 5 files changed, 15 insertions(+), 16 deletions(-) diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index 1f41683d55..3429d84dfa 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -390,8 +390,9 @@ pub fn run() -> Result<()> { )?; let db = partials.backend.expose_db(); let storage = partials.backend.expose_storage(); + let shared_trie_cache = partials.backend.expose_shared_trie_cache(); - cmd.run(config, partials.client.clone(), db, storage) + cmd.run(config, partials.client.clone(), db, storage, shared_trie_cache) }), BenchmarkCmd::Machine(cmd) => { runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())) diff --git a/pallets/collator-selection/src/benchmarking.rs b/pallets/collator-selection/src/benchmarking.rs index 0095f5e34e..d42aa2c47a 100644 --- a/pallets/collator-selection/src/benchmarking.rs +++ b/pallets/collator-selection/src/benchmarking.rs @@ -60,12 +60,11 @@ macro_rules! whitelist { }; } -fn assert_last_event(generic_event: ::RuntimeEvent) { +fn assert_last_event(generic_event: ::RuntimeEvent) { let events = frame_system::Pallet::::events(); - let system_event: ::RuntimeEvent = generic_event.into(); // compare to the last event record let EventRecord { event, .. } = &events[events.len() - 1]; - assert_eq!(event, &system_event); + assert_eq!(event, &generic_event); } fn create_funded_user( @@ -242,7 +241,7 @@ mod benchmarks { let caller: T::AccountId = whitelisted_caller(); let bond: BalanceOf = balance_unit::() * 2u32.into(); - T::Currency::set_balance(&caller, bond); + ::Currency::set_balance(&caller, bond); >::set_keys( RawOrigin::Signed(caller.clone()).into(), @@ -275,7 +274,7 @@ mod benchmarks { let caller: T::AccountId = whitelisted_caller(); let bond: BalanceOf = balance_unit::() * 2u32.into(); - T::Currency::set_balance(&caller, bond); + ::Currency::set_balance(&caller, bond); let origin = RawOrigin::Signed(caller.clone()); @@ -373,7 +372,7 @@ mod benchmarks { // worst case is paying a non-existing candidate account. #[benchmark] fn note_author() -> Result<(), BenchmarkError> { - T::Currency::set_balance( + ::Currency::set_balance( &>::account_id(), balance_unit::() * 4u32.into(), ); @@ -381,14 +380,14 @@ mod benchmarks { let new_block: BlockNumberFor = 10u32.into(); frame_system::Pallet::::set_block_number(new_block); - assert!(T::Currency::balance(&author) == 0u32.into()); + assert!(::Currency::balance(&author) == 0u32.into()); #[block] { as EventHandler<_, _>>::note_author(author.clone()); } - assert!(T::Currency::balance(&author) > 0u32.into()); + assert!(::Currency::balance(&author) > 0u32.into()); assert_eq!(frame_system::Pallet::::block_number(), new_block); Ok(()) diff --git a/pallets/configuration/src/benchmarking.rs b/pallets/configuration/src/benchmarking.rs index 9bdc6ba334..e8e0167b8a 100644 --- a/pallets/configuration/src/benchmarking.rs +++ b/pallets/configuration/src/benchmarking.rs @@ -24,12 +24,11 @@ use sp_std::vec; use super::*; -fn assert_last_event(generic_event: ::RuntimeEvent) { +fn assert_last_event(generic_event: ::RuntimeEvent) { let events = frame_system::Pallet::::events(); - let system_event: ::RuntimeEvent = generic_event.into(); // compare to the last event record let EventRecord { event, .. } = &events[events.len() - 1]; - assert_eq!(event, &system_event); + assert_eq!(event, &generic_event); } #[allow(clippy::multiple_bound_locations)] diff --git a/pallets/identity/src/benchmarking.rs b/pallets/identity/src/benchmarking.rs index 647a7c23ec..f509b49f9d 100644 --- a/pallets/identity/src/benchmarking.rs +++ b/pallets/identity/src/benchmarking.rs @@ -47,8 +47,8 @@ use crate::Pallet as Identity; const SEED: u32 = 0; -fn assert_last_event(generic_event: ::RuntimeEvent) { - frame_system::Pallet::::assert_last_event(generic_event.into()); +fn assert_last_event(generic_event: ::RuntimeEvent) { + frame_system::Pallet::::assert_last_event(generic_event); } // Adds `r` registrars to the Identity Pallet. These registrars will have set fees and fields. diff --git a/runtime/common/config/substrate.rs b/runtime/common/config/substrate.rs index e23ab78214..6d64c5016d 100644 --- a/runtime/common/config/substrate.rs +++ b/runtime/common/config/substrate.rs @@ -265,12 +265,12 @@ impl pallet_asset_tx_payment::BenchmarkHelperTrait< AccountId, staging_xcm::v5::AssetId, - staging_xcm::v3::MultiLocation, + staging_xcm::v5::Location, > for AssetTxHelper { fn create_asset_id_parameter( _id: u32, - ) -> (staging_xcm::v5::AssetId, staging_xcm::v3::MultiLocation) { + ) -> (staging_xcm::v5::AssetId, staging_xcm::v5::Location) { unimplemented!("uses default weights"); } fn setup_balances_and_pool(_asset_id: staging_xcm::v5::AssetId, _account: AccountId) { From a91a4cc6ba1d7e6f6c99004a9f406b8444e2eb09 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 8 Oct 2025 14:40:26 +0200 Subject: [PATCH 12/51] fix(foreign-assets): feature not(governance) manager origin --- runtime/common/config/pallets/foreign_asset.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/common/config/pallets/foreign_asset.rs b/runtime/common/config/pallets/foreign_asset.rs index 72c2f9a367..280d7b5ad5 100644 --- a/runtime/common/config/pallets/foreign_asset.rs +++ b/runtime/common/config/pallets/foreign_asset.rs @@ -59,8 +59,7 @@ impl pallet_foreign_assets::Config for Runtime { >; #[cfg(not(feature = "governance"))] - type ManagerOrigin = - EitherOfDiverse; + type ManagerOrigin = EnsureRoot; type PalletId = ForeignAssetPalletId; type SelfLocation = SelfLocation; From 7dcd932634fc485f134cf891b1ded4c141a8484d Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 8 Oct 2025 14:53:14 +0200 Subject: [PATCH 13/51] feat: add SupremeTrio, use for foreign assets mgmt --- pallets/foreign-assets/src/lib.rs | 12 ++++++++---- runtime/common/config/governance/mod.rs | 2 ++ runtime/common/config/pallets/foreign_asset.rs | 8 +++++++- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/pallets/foreign-assets/src/lib.rs b/pallets/foreign-assets/src/lib.rs index 92aa86fb0c..95d21c838b 100644 --- a/pallets/foreign-assets/src/lib.rs +++ b/pallets/foreign-assets/src/lib.rs @@ -185,6 +185,9 @@ pub mod module { >; /// Origin for force registering of a foreign asset. + type ForceRegisterOrigin: EnsureOrigin; + + /// Origin for the foreign asset management. type ManagerOrigin: EnsureOrigin; /// The ID of the foreign assets pallet. @@ -398,7 +401,8 @@ pub mod module { /// The corresponding collections of foreign assets. #[pallet::storage] #[pallet::getter(fn foreign_asset_conversion_coefficient)] - pub type ForeignAssetConversionCoefficient = StorageMap<_, Blake2_128Concat, staging_xcm::v5::AssetId, FixedU128, OptionQuery>; + pub type ForeignAssetConversionCoefficient = + StorageMap<_, Blake2_128Concat, staging_xcm::v5::AssetId, FixedU128, OptionQuery>; #[pallet::storage] pub type OracleMembers = @@ -477,7 +481,7 @@ pub mod module { token_prefix: CollectionTokenPrefix, mode: ForeignCollectionMode, ) -> DispatchResult { - T::ManagerOrigin::ensure_origin(origin.clone())?; + T::ForceRegisterOrigin::ensure_origin(origin.clone())?; let asset_id: AssetId = versioned_asset_id .as_ref() @@ -642,8 +646,8 @@ pub mod module { .try_into() .map_err(|()| Error::::BadForeignAssetId)?; - let old_conversion_coefficient = - >::get(&asset_id).unwrap_or(FixedU128::from(0)); + let old_conversion_coefficient = >::get(&asset_id) + .unwrap_or(FixedU128::from(0)); if conversion_coefficient != 0.into() { >::insert(&asset_id, conversion_coefficient); diff --git a/runtime/common/config/governance/mod.rs b/runtime/common/config/governance/mod.rs index a4ef213f62..128f97f91f 100644 --- a/runtime/common/config/governance/mod.rs +++ b/runtime/common/config/governance/mod.rs @@ -62,6 +62,8 @@ pub mod identity; impl pallet_gov_origins::Config for Runtime {} +pub type SupremeTrio = EitherOfDiverse; + morph_types! { /// A `TryMorph` implementation to reduce a scalar by a particular amount, checking for /// underflow. diff --git a/runtime/common/config/pallets/foreign_asset.rs b/runtime/common/config/pallets/foreign_asset.rs index 280d7b5ad5..ab353fa73c 100644 --- a/runtime/common/config/pallets/foreign_asset.rs +++ b/runtime/common/config/pallets/foreign_asset.rs @@ -53,11 +53,17 @@ impl staging_xcm_executor::traits::ConvertLocation impl pallet_foreign_assets::Config for Runtime { #[cfg(feature = "governance")] - type ManagerOrigin = EitherOfDiverse< + type ForceRegisterOrigin = EitherOfDiverse< governance::RootOrFinancialCouncilMember, governance::TechnicalCommitteeMember, >; + #[cfg(not(feature = "governance"))] + type ForceRegisterOrigin = EnsureRoot; + + #[cfg(feature = "governance")] + type ManagerOrigin = governance::SupremeTrio; + #[cfg(not(feature = "governance"))] type ManagerOrigin = EnsureRoot; From 59db6dcbaeafeb43482a01f96a81c67c9ecc7008 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 8 Oct 2025 14:53:23 +0200 Subject: [PATCH 14/51] chore: fmt --- node/cli/src/command.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index 3429d84dfa..176cda67fb 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -392,7 +392,13 @@ pub fn run() -> Result<()> { let storage = partials.backend.expose_storage(); let shared_trie_cache = partials.backend.expose_shared_trie_cache(); - cmd.run(config, partials.client.clone(), db, storage, shared_trie_cache) + cmd.run( + config, + partials.client.clone(), + db, + storage, + shared_trie_cache, + ) }), BenchmarkCmd::Machine(cmd) => { runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())) From ff77946c16bad2abed032ef7fa9f335150409595 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 8 Oct 2025 15:55:54 +0200 Subject: [PATCH 15/51] fix: add -lxcm=trace to all bdk nodes --- .baedeker/xcm-quartz.jsonnet | 5 +++-- .baedeker/xcm-unique.jsonnet | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.baedeker/xcm-quartz.jsonnet b/.baedeker/xcm-quartz.jsonnet index c568f1b0e2..4a4a5781d5 100644 --- a/.baedeker/xcm-quartz.jsonnet +++ b/.baedeker/xcm-quartz.jsonnet @@ -1,5 +1,6 @@ local m = import 'baedeker-library/mixin/spec.libsonnet', +ops = import 'baedeker-library/ops/common-args.libsonnet', ; function(relay_spec, assethub_spec) @@ -169,9 +170,9 @@ local shiden = { }, }; -relay + { +ops.mixinExtraNodeArgsAllChains(relay + { parachains: { [para.name]: para, for para in [unique, assethub, karura, moonriver, shiden] }, -} +}, ['-lxcm=trace']) diff --git a/.baedeker/xcm-unique.jsonnet b/.baedeker/xcm-unique.jsonnet index b8b7b23bd3..33265157f3 100644 --- a/.baedeker/xcm-unique.jsonnet +++ b/.baedeker/xcm-unique.jsonnet @@ -1,5 +1,6 @@ local m = import 'baedeker-library/mixin/spec.libsonnet', +ops = import 'baedeker-library/ops/common-args.libsonnet', ; function(relay_spec, assethub_spec) @@ -181,7 +182,7 @@ local hydradx = { }; -relay + { +ops.mixinExtraNodeArgsAllChains(relay + { parachains: { [para.name]: para, for para in [ @@ -193,4 +194,4 @@ relay + { hydradx, ] }, -} +}, ['-lxcm=trace']) From 467b9b34de74c96df20d8620119cb123689e6489 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 8 Oct 2025 16:25:01 +0200 Subject: [PATCH 16/51] build: benchmark weights NOTE: the scheduler must be monitored in the release CI as the temporary fix for its weights is gone now. It should work properly but still must be watched closely before release --- pallets/app-promotion/src/weights.rs | 100 ++--- pallets/collator-selection/src/weights.rs | 168 ++++---- pallets/configuration/src/weights.rs | 69 ++-- pallets/evm-migration/src/weights.rs | 76 ++-- pallets/foreign-assets/src/weights.rs | 126 ++++-- pallets/fungible/src/weights.rs | 84 ++-- pallets/identity/src/weights.rs | 396 ++++++++++--------- pallets/maintenance/src/weights.rs | 20 +- pallets/nonfungible/src/weights.rs | 228 +++++------ pallets/refungible/src/weights.rs | 452 ++++++++++++---------- pallets/structure/src/weights.rs | 12 +- pallets/unique/src/weights.rs | 128 +++--- runtime/common/weights/scheduler.rs | 111 +++--- runtime/common/weights/xcm.rs | 155 ++++---- 14 files changed, 1128 insertions(+), 997 deletions(-) diff --git a/pallets/app-promotion/src/weights.rs b/pallets/app-promotion/src/weights.rs index 0f2cc81b9c..5b9b32f4ab 100644 --- a/pallets/app-promotion/src/weights.rs +++ b/pallets/app-promotion/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_app_promotion //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -63,10 +63,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `222 + b * (285 ±0)` // Estimated: `3622 + b * (3774 ±0)` - // Minimum execution time: 7_715_000 picoseconds. - Weight::from_parts(8_850_558, 3622) - // Standard Error: 28_591 - .saturating_add(Weight::from_parts(22_392_037, 0).saturating_mul(b.into())) + // Minimum execution time: 9_612_000 picoseconds. + Weight::from_parts(17_292_890, 3622) + // Standard Error: 76_626 + .saturating_add(Weight::from_parts(50_215_805, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into()))) @@ -78,8 +78,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_185_000 picoseconds. - Weight::from_parts(6_339_000, 0) + // Minimum execution time: 11_407_000 picoseconds. + Weight::from_parts(13_368_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AppPromotion::Admin` (r:1 w:0) @@ -105,10 +105,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `602 + b * (641 ±0)` // Estimated: `3593 + b * (25550 ±0)` - // Minimum execution time: 144_995_000 picoseconds. - Weight::from_parts(146_052_000, 3593) - // Standard Error: 31_115 - .saturating_add(Weight::from_parts(105_851_559, 0).saturating_mul(b.into())) + // Minimum execution time: 275_226_000 picoseconds. + Weight::from_parts(1_253_727_287, 3593) + // Standard Error: 377_684 + .saturating_add(Weight::from_parts(107_399_852, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((13_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -137,8 +137,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `427` // Estimated: `4764` - // Minimum execution time: 48_630_000 picoseconds. - Weight::from_parts(49_186_000, 4764) + // Minimum execution time: 49_128_000 picoseconds. + Weight::from_parts(49_652_000, 4764) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -156,8 +156,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `867` // Estimated: `29095` - // Minimum execution time: 67_553_000 picoseconds. - Weight::from_parts(68_408_000, 29095) + // Minimum execution time: 65_731_000 picoseconds. + Weight::from_parts(66_540_000, 29095) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -175,8 +175,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `867` // Estimated: `29095` - // Minimum execution time: 86_773_000 picoseconds. - Weight::from_parts(87_710_000, 29095) + // Minimum execution time: 84_612_000 picoseconds. + Weight::from_parts(85_776_000, 29095) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -188,8 +188,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1060` // Estimated: `4325` - // Minimum execution time: 22_448_000 picoseconds. - Weight::from_parts(22_881_000, 4325) + // Minimum execution time: 22_880_000 picoseconds. + Weight::from_parts(23_352_000, 4325) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -201,8 +201,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1092` // Estimated: `4325` - // Minimum execution time: 22_092_000 picoseconds. - Weight::from_parts(22_576_000, 4325) + // Minimum execution time: 22_442_000 picoseconds. + Weight::from_parts(22_865_000, 4325) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -214,8 +214,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `198` // Estimated: `1517` - // Minimum execution time: 19_271_000 picoseconds. - Weight::from_parts(19_542_000, 1517) + // Minimum execution time: 19_398_000 picoseconds. + Weight::from_parts(19_946_000, 1517) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -227,8 +227,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `396` // Estimated: `3527` - // Minimum execution time: 19_307_000 picoseconds. - Weight::from_parts(19_686_000, 3527) + // Minimum execution time: 19_506_000 picoseconds. + Weight::from_parts(19_783_000, 3527) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -251,10 +251,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `222 + b * (285 ±0)` // Estimated: `3622 + b * (3774 ±0)` - // Minimum execution time: 7_715_000 picoseconds. - Weight::from_parts(8_850_558, 3622) - // Standard Error: 28_591 - .saturating_add(Weight::from_parts(22_392_037, 0).saturating_mul(b.into())) + // Minimum execution time: 9_612_000 picoseconds. + Weight::from_parts(17_292_890, 3622) + // Standard Error: 76_626 + .saturating_add(Weight::from_parts(50_215_805, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(b.into()))) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into()))) @@ -266,8 +266,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_185_000 picoseconds. - Weight::from_parts(6_339_000, 0) + // Minimum execution time: 11_407_000 picoseconds. + Weight::from_parts(13_368_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `AppPromotion::Admin` (r:1 w:0) @@ -293,10 +293,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `602 + b * (641 ±0)` // Estimated: `3593 + b * (25550 ±0)` - // Minimum execution time: 144_995_000 picoseconds. - Weight::from_parts(146_052_000, 3593) - // Standard Error: 31_115 - .saturating_add(Weight::from_parts(105_851_559, 0).saturating_mul(b.into())) + // Minimum execution time: 275_226_000 picoseconds. + Weight::from_parts(1_253_727_287, 3593) + // Standard Error: 377_684 + .saturating_add(Weight::from_parts(107_399_852, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((13_u64).saturating_mul(b.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -325,8 +325,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `427` // Estimated: `4764` - // Minimum execution time: 48_630_000 picoseconds. - Weight::from_parts(49_186_000, 4764) + // Minimum execution time: 49_128_000 picoseconds. + Weight::from_parts(49_652_000, 4764) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -344,8 +344,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `867` // Estimated: `29095` - // Minimum execution time: 67_553_000 picoseconds. - Weight::from_parts(68_408_000, 29095) + // Minimum execution time: 65_731_000 picoseconds. + Weight::from_parts(66_540_000, 29095) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -363,8 +363,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `867` // Estimated: `29095` - // Minimum execution time: 86_773_000 picoseconds. - Weight::from_parts(87_710_000, 29095) + // Minimum execution time: 84_612_000 picoseconds. + Weight::from_parts(85_776_000, 29095) .saturating_add(RocksDbWeight::get().reads(15_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -376,8 +376,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1060` // Estimated: `4325` - // Minimum execution time: 22_448_000 picoseconds. - Weight::from_parts(22_881_000, 4325) + // Minimum execution time: 22_880_000 picoseconds. + Weight::from_parts(23_352_000, 4325) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -389,8 +389,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1092` // Estimated: `4325` - // Minimum execution time: 22_092_000 picoseconds. - Weight::from_parts(22_576_000, 4325) + // Minimum execution time: 22_442_000 picoseconds. + Weight::from_parts(22_865_000, 4325) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -402,8 +402,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `198` // Estimated: `1517` - // Minimum execution time: 19_271_000 picoseconds. - Weight::from_parts(19_542_000, 1517) + // Minimum execution time: 19_398_000 picoseconds. + Weight::from_parts(19_946_000, 1517) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -415,8 +415,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `396` // Estimated: `3527` - // Minimum execution time: 19_307_000 picoseconds. - Weight::from_parts(19_686_000, 3527) + // Minimum execution time: 19_506_000 picoseconds. + Weight::from_parts(19_783_000, 3527) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/collator-selection/src/weights.rs b/pallets/collator-selection/src/weights.rs index 68aae02e44..62b228a589 100644 --- a/pallets/collator-selection/src/weights.rs +++ b/pallets/collator-selection/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_collator_selection //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -58,10 +58,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `196 + b * (45 ±0)` // Estimated: `3667 + b * (45 ±0)` - // Minimum execution time: 18_968_000 picoseconds. - Weight::from_parts(19_042_452, 3667) - // Standard Error: 1_287 - .saturating_add(Weight::from_parts(212_760, 0).saturating_mul(b.into())) + // Minimum execution time: 22_793_000 picoseconds. + Weight::from_parts(47_914_261, 3667) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 45).saturating_mul(b.into())) @@ -73,10 +71,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `32 + b * (32 ±0)` // Estimated: `1806` - // Minimum execution time: 11_432_000 picoseconds. - Weight::from_parts(11_582_917, 1806) - // Standard Error: 796 - .saturating_add(Weight::from_parts(115_754, 0).saturating_mul(b.into())) + // Minimum execution time: 13_469_000 picoseconds. + Weight::from_parts(14_000_319, 1806) + // Standard Error: 1_760 + .saturating_add(Weight::from_parts(159_805, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -87,16 +85,16 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:1 w:0) /// Proof: `Configuration::CollatorSelectionLicenseBondOverride` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 10]`. fn get_license(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `580 + c * (49 ±0)` // Estimated: `4036 + c * (51 ±0)` - // Minimum execution time: 56_056_000 picoseconds. - Weight::from_parts(59_684_957, 4036) - // Standard Error: 12_770 - .saturating_add(Weight::from_parts(582_699, 0).saturating_mul(c.into())) + // Minimum execution time: 70_087_000 picoseconds. + Weight::from_parts(74_567_749, 4036) + // Standard Error: 12_939 + .saturating_add(Weight::from_parts(676_948, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 51).saturating_mul(c.into())) @@ -118,10 +116,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `331 + c * (54 ±0)` // Estimated: `3529` - // Minimum execution time: 25_537_000 picoseconds. - Weight::from_parts(25_981_730, 3529) - // Standard Error: 3_265 - .saturating_add(Weight::from_parts(257_167, 0).saturating_mul(c.into())) + // Minimum execution time: 31_493_000 picoseconds. + Weight::from_parts(32_464_316, 3529) + // Standard Error: 6_351 + .saturating_add(Weight::from_parts(416_625, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -134,10 +132,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `98 + c * (32 ±0)` // Estimated: `1806` - // Minimum execution time: 13_807_000 picoseconds. - Weight::from_parts(14_246_597, 1806) - // Standard Error: 1_236 - .saturating_add(Weight::from_parts(139_824, 0).saturating_mul(c.into())) + // Minimum execution time: 16_879_000 picoseconds. + Weight::from_parts(17_816_494, 1806) + // Standard Error: 2_334 + .saturating_add(Weight::from_parts(197_520, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -146,18 +144,18 @@ impl WeightInfo for SubstrateWeight { /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1) /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 8]`. fn release_license(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `300 + c * (103 ±0)` - // Estimated: `3676` - // Minimum execution time: 49_825_000 picoseconds. - Weight::from_parts(51_387_860, 3676) - // Standard Error: 12_581 - .saturating_add(Weight::from_parts(779_374, 0).saturating_mul(c.into())) + // Estimated: `3712` + // Minimum execution time: 61_426_000 picoseconds. + Weight::from_parts(65_035_407, 3712) + // Standard Error: 17_417 + .saturating_add(Weight::from_parts(1_169_406, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -166,18 +164,18 @@ impl WeightInfo for SubstrateWeight { /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1) /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 8]`. fn force_release_license(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `300 + c * (103 ±0)` - // Estimated: `3676` - // Minimum execution time: 49_164_000 picoseconds. - Weight::from_parts(50_720_810, 3676) - // Standard Error: 12_654 - .saturating_add(Weight::from_parts(810_928, 0).saturating_mul(c.into())) + // Estimated: `3712` + // Minimum execution time: 60_377_000 picoseconds. + Weight::from_parts(64_413_485, 3712) + // Standard Error: 16_631 + .saturating_add(Weight::from_parts(1_095_798, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -191,8 +189,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `155` // Estimated: `6196` - // Minimum execution time: 42_093_000 picoseconds. - Weight::from_parts(42_655_000, 6196) + // Minimum execution time: 53_450_000 picoseconds. + Weight::from_parts(55_367_000, 6196) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -209,7 +207,7 @@ impl WeightInfo for SubstrateWeight { /// Storage: `CollatorSelection::LicenseDepositOf` (r:7 w:7) /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:7 w:7) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:8 w:8) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 8]`. @@ -217,17 +215,17 @@ impl WeightInfo for SubstrateWeight { fn new_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + c * (84 ±0) + r * (239 ±0)` - // Estimated: `6196 + c * (2519 ±0) + r * (2686 ±0)` - // Minimum execution time: 19_403_000 picoseconds. - Weight::from_parts(19_755_000, 6196) - // Standard Error: 362_324 - .saturating_add(Weight::from_parts(28_099_529, 0).saturating_mul(c.into())) + // Estimated: `6196 + c * (2519 ±0) + r * (2722 ±0)` + // Minimum execution time: 23_730_000 picoseconds. + Weight::from_parts(24_633_000, 6196) + // Standard Error: 473_793 + .saturating_add(Weight::from_parts(36_418_026, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 2686).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2722).saturating_mul(r.into())) } } @@ -244,10 +242,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `196 + b * (45 ±0)` // Estimated: `3667 + b * (45 ±0)` - // Minimum execution time: 18_968_000 picoseconds. - Weight::from_parts(19_042_452, 3667) - // Standard Error: 1_287 - .saturating_add(Weight::from_parts(212_760, 0).saturating_mul(b.into())) + // Minimum execution time: 22_793_000 picoseconds. + Weight::from_parts(47_914_261, 3667) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 45).saturating_mul(b.into())) @@ -259,10 +255,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `32 + b * (32 ±0)` // Estimated: `1806` - // Minimum execution time: 11_432_000 picoseconds. - Weight::from_parts(11_582_917, 1806) - // Standard Error: 796 - .saturating_add(Weight::from_parts(115_754, 0).saturating_mul(b.into())) + // Minimum execution time: 13_469_000 picoseconds. + Weight::from_parts(14_000_319, 1806) + // Standard Error: 1_760 + .saturating_add(Weight::from_parts(159_805, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -273,16 +269,16 @@ impl WeightInfo for () { /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:1 w:0) /// Proof: `Configuration::CollatorSelectionLicenseBondOverride` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 10]`. fn get_license(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `580 + c * (49 ±0)` // Estimated: `4036 + c * (51 ±0)` - // Minimum execution time: 56_056_000 picoseconds. - Weight::from_parts(59_684_957, 4036) - // Standard Error: 12_770 - .saturating_add(Weight::from_parts(582_699, 0).saturating_mul(c.into())) + // Minimum execution time: 70_087_000 picoseconds. + Weight::from_parts(74_567_749, 4036) + // Standard Error: 12_939 + .saturating_add(Weight::from_parts(676_948, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 51).saturating_mul(c.into())) @@ -304,10 +300,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `331 + c * (54 ±0)` // Estimated: `3529` - // Minimum execution time: 25_537_000 picoseconds. - Weight::from_parts(25_981_730, 3529) - // Standard Error: 3_265 - .saturating_add(Weight::from_parts(257_167, 0).saturating_mul(c.into())) + // Minimum execution time: 31_493_000 picoseconds. + Weight::from_parts(32_464_316, 3529) + // Standard Error: 6_351 + .saturating_add(Weight::from_parts(416_625, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -320,10 +316,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `98 + c * (32 ±0)` // Estimated: `1806` - // Minimum execution time: 13_807_000 picoseconds. - Weight::from_parts(14_246_597, 1806) - // Standard Error: 1_236 - .saturating_add(Weight::from_parts(139_824, 0).saturating_mul(c.into())) + // Minimum execution time: 16_879_000 picoseconds. + Weight::from_parts(17_816_494, 1806) + // Standard Error: 2_334 + .saturating_add(Weight::from_parts(197_520, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -332,18 +328,18 @@ impl WeightInfo for () { /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1) /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 8]`. fn release_license(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `300 + c * (103 ±0)` - // Estimated: `3676` - // Minimum execution time: 49_825_000 picoseconds. - Weight::from_parts(51_387_860, 3676) - // Standard Error: 12_581 - .saturating_add(Weight::from_parts(779_374, 0).saturating_mul(c.into())) + // Estimated: `3712` + // Minimum execution time: 61_426_000 picoseconds. + Weight::from_parts(65_035_407, 3712) + // Standard Error: 17_417 + .saturating_add(Weight::from_parts(1_169_406, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -352,18 +348,18 @@ impl WeightInfo for () { /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1) /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 8]`. fn force_release_license(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `300 + c * (103 ±0)` - // Estimated: `3676` - // Minimum execution time: 49_164_000 picoseconds. - Weight::from_parts(50_720_810, 3676) - // Standard Error: 12_654 - .saturating_add(Weight::from_parts(810_928, 0).saturating_mul(c.into())) + // Estimated: `3712` + // Minimum execution time: 60_377_000 picoseconds. + Weight::from_parts(64_413_485, 3712) + // Standard Error: 16_631 + .saturating_add(Weight::from_parts(1_095_798, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -377,8 +373,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `155` // Estimated: `6196` - // Minimum execution time: 42_093_000 picoseconds. - Weight::from_parts(42_655_000, 6196) + // Minimum execution time: 53_450_000 picoseconds. + Weight::from_parts(55_367_000, 6196) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -395,7 +391,7 @@ impl WeightInfo for () { /// Storage: `CollatorSelection::LicenseDepositOf` (r:7 w:7) /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:7 w:7) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:8 w:8) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 8]`. @@ -403,17 +399,17 @@ impl WeightInfo for () { fn new_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + c * (84 ±0) + r * (239 ±0)` - // Estimated: `6196 + c * (2519 ±0) + r * (2686 ±0)` - // Minimum execution time: 19_403_000 picoseconds. - Weight::from_parts(19_755_000, 6196) - // Standard Error: 362_324 - .saturating_add(Weight::from_parts(28_099_529, 0).saturating_mul(c.into())) + // Estimated: `6196 + c * (2519 ±0) + r * (2722 ±0)` + // Minimum execution time: 23_730_000 picoseconds. + Weight::from_parts(24_633_000, 6196) + // Standard Error: 473_793 + .saturating_add(Weight::from_parts(36_418_026, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 2686).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2722).saturating_mul(r.into())) } } diff --git a/pallets/configuration/src/weights.rs b/pallets/configuration/src/weights.rs index 4f24128dc1..63a6aa3117 100644 --- a/pallets/configuration/src/weights.rs +++ b/pallets/configuration/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_configuration //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -39,7 +39,6 @@ pub trait WeightInfo { fn set_collator_selection_desired_collators() -> Weight; fn set_collator_selection_license_bond() -> Weight; fn set_collator_selection_kick_threshold() -> Weight; - // TODO: Stubbed, need to re-run benchmarks fn set_relay_block_number_checks() -> Weight; } @@ -52,8 +51,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_286_000 picoseconds. - Weight::from_parts(2_445_000, 0) + // Minimum execution time: 4_842_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Configuration::MinGasPriceOverride` (r:0 w:1) @@ -66,8 +65,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_582_000 picoseconds. - Weight::from_parts(3_769_000, 0) + // Minimum execution time: 7_353_000 picoseconds. + Weight::from_parts(8_350_000, 0) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Configuration::AppPromomotionConfigurationOverride` (r:0 w:1) @@ -76,8 +75,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_408_000 picoseconds. - Weight::from_parts(2_561_000, 0) + // Minimum execution time: 5_016_000 picoseconds. + Weight::from_parts(5_742_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Configuration::CollatorSelectionDesiredCollatorsOverride` (r:0 w:1) @@ -86,8 +85,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_922_000 picoseconds. - Weight::from_parts(7_262_000, 0) + // Minimum execution time: 14_788_000 picoseconds. + Weight::from_parts(17_943_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:0 w:1) @@ -96,8 +95,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_050_000 picoseconds. - Weight::from_parts(5_276_000, 0) + // Minimum execution time: 10_111_000 picoseconds. + Weight::from_parts(11_288_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:0 w:1) @@ -106,12 +105,18 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_002_000 picoseconds. - Weight::from_parts(5_201_000, 0) + // Minimum execution time: 10_733_000 picoseconds. + Weight::from_parts(11_278_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `Configuration::RelayBlockNumberChecks` (r:0 w:1) + /// Proof: `Configuration::RelayBlockNumberChecks` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) fn set_relay_block_number_checks() -> Weight { - Weight::from_parts(5_201_000, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_959_000 picoseconds. + Weight::from_parts(5_286_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -124,8 +129,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_286_000 picoseconds. - Weight::from_parts(2_445_000, 0) + // Minimum execution time: 4_842_000 picoseconds. + Weight::from_parts(6_000_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Configuration::MinGasPriceOverride` (r:0 w:1) @@ -138,8 +143,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_582_000 picoseconds. - Weight::from_parts(3_769_000, 0) + // Minimum execution time: 7_353_000 picoseconds. + Weight::from_parts(8_350_000, 0) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Configuration::AppPromomotionConfigurationOverride` (r:0 w:1) @@ -148,8 +153,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_408_000 picoseconds. - Weight::from_parts(2_561_000, 0) + // Minimum execution time: 5_016_000 picoseconds. + Weight::from_parts(5_742_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Configuration::CollatorSelectionDesiredCollatorsOverride` (r:0 w:1) @@ -158,8 +163,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_922_000 picoseconds. - Weight::from_parts(7_262_000, 0) + // Minimum execution time: 14_788_000 picoseconds. + Weight::from_parts(17_943_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:0 w:1) @@ -168,8 +173,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_050_000 picoseconds. - Weight::from_parts(5_276_000, 0) + // Minimum execution time: 10_111_000 picoseconds. + Weight::from_parts(11_288_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:0 w:1) @@ -178,12 +183,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_002_000 picoseconds. - Weight::from_parts(5_201_000, 0) + // Minimum execution time: 10_733_000 picoseconds. + Weight::from_parts(11_278_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `Configuration::RelayBlockNumberChecks` (r:0 w:1) + /// Proof: `Configuration::RelayBlockNumberChecks` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) fn set_relay_block_number_checks() -> Weight { - Weight::from_parts(5_201_000, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_959_000 picoseconds. + Weight::from_parts(5_286_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/evm-migration/src/weights.rs b/pallets/evm-migration/src/weights.rs index dc07c39ca1..db28f99ad3 100644 --- a/pallets/evm-migration/src/weights.rs +++ b/pallets/evm-migration/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_evm_migration //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -53,8 +53,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `128` // Estimated: `3593` - // Minimum execution time: 16_057_000 picoseconds. - Weight::from_parts(16_337_000, 3593) + // Minimum execution time: 32_452_000 picoseconds. + Weight::from_parts(37_165_000, 3593) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -67,10 +67,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `130` // Estimated: `3494` - // Minimum execution time: 8_921_000 picoseconds. - Weight::from_parts(10_061_966, 3494) - // Standard Error: 733 - .saturating_add(Weight::from_parts(1_611_290, 0).saturating_mul(b.into())) + // Minimum execution time: 16_078_000 picoseconds. + Weight::from_parts(22_001_935, 3494) + // Standard Error: 3_394 + .saturating_add(Weight::from_parts(3_714_213, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into()))) } @@ -79,14 +79,12 @@ impl WeightInfo for SubstrateWeight { /// Storage: `EVM::AccountCodes` (r:0 w:1) /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[0, 80]`. - fn finish(b: u32, ) -> Weight { + fn finish(_b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `130` // Estimated: `3494` - // Minimum execution time: 11_765_000 picoseconds. - Weight::from_parts(12_280_436, 3494) - // Standard Error: 72 - .saturating_add(Weight::from_parts(2_051, 0).saturating_mul(b.into())) + // Minimum execution time: 15_291_000 picoseconds. + Weight::from_parts(26_789_572, 3494) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -95,20 +93,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_146_000 picoseconds. - Weight::from_parts(4_930_433, 0) - // Standard Error: 320 - .saturating_add(Weight::from_parts(1_186_307, 0).saturating_mul(b.into())) + // Minimum execution time: 5_046_000 picoseconds. + Weight::from_parts(21_967_369, 0) + // Standard Error: 14_643 + .saturating_add(Weight::from_parts(2_749_448, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 200]`. fn insert_events(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_231_000 picoseconds. - Weight::from_parts(5_090_765, 0) - // Standard Error: 349 - .saturating_add(Weight::from_parts(1_767_922, 0).saturating_mul(b.into())) + // Minimum execution time: 3_108_000 picoseconds. + Weight::from_parts(6_666_998, 0) + // Standard Error: 1_156 + .saturating_add(Weight::from_parts(2_585_549, 0).saturating_mul(b.into())) } } @@ -124,8 +122,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `128` // Estimated: `3593` - // Minimum execution time: 16_057_000 picoseconds. - Weight::from_parts(16_337_000, 3593) + // Minimum execution time: 32_452_000 picoseconds. + Weight::from_parts(37_165_000, 3593) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -138,10 +136,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `130` // Estimated: `3494` - // Minimum execution time: 8_921_000 picoseconds. - Weight::from_parts(10_061_966, 3494) - // Standard Error: 733 - .saturating_add(Weight::from_parts(1_611_290, 0).saturating_mul(b.into())) + // Minimum execution time: 16_078_000 picoseconds. + Weight::from_parts(22_001_935, 3494) + // Standard Error: 3_394 + .saturating_add(Weight::from_parts(3_714_213, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(b.into()))) } @@ -150,14 +148,12 @@ impl WeightInfo for () { /// Storage: `EVM::AccountCodes` (r:0 w:1) /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[0, 80]`. - fn finish(b: u32, ) -> Weight { + fn finish(_b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `130` // Estimated: `3494` - // Minimum execution time: 11_765_000 picoseconds. - Weight::from_parts(12_280_436, 3494) - // Standard Error: 72 - .saturating_add(Weight::from_parts(2_051, 0).saturating_mul(b.into())) + // Minimum execution time: 15_291_000 picoseconds. + Weight::from_parts(26_789_572, 3494) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -166,20 +162,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_146_000 picoseconds. - Weight::from_parts(4_930_433, 0) - // Standard Error: 320 - .saturating_add(Weight::from_parts(1_186_307, 0).saturating_mul(b.into())) + // Minimum execution time: 5_046_000 picoseconds. + Weight::from_parts(21_967_369, 0) + // Standard Error: 14_643 + .saturating_add(Weight::from_parts(2_749_448, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 200]`. fn insert_events(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_231_000 picoseconds. - Weight::from_parts(5_090_765, 0) - // Standard Error: 349 - .saturating_add(Weight::from_parts(1_767_922, 0).saturating_mul(b.into())) + // Minimum execution time: 3_108_000 picoseconds. + Weight::from_parts(6_666_998, 0) + // Standard Error: 1_156 + .saturating_add(Weight::from_parts(2_585_549, 0).saturating_mul(b.into())) } } diff --git a/pallets/foreign-assets/src/weights.rs b/pallets/foreign-assets/src/weights.rs index 7dd64b0847..3f4968d487 100644 --- a/pallets/foreign-assets/src/weights.rs +++ b/pallets/foreign-assets/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_foreign_assets //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.2.0 -//! DATE: 2025-08-22, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -59,15 +59,15 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1) /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) /// Storage: `Common::CollectionProperties` (r:0 w:1) - /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`) + /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40990), added: 43465, mode: `MaxEncodedLen`) /// Storage: `Common::CollectionById` (r:0 w:1) /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`) fn force_register_foreign_asset() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `4087` - // Minimum execution time: 28_126_000 picoseconds. - Weight::from_parts(28_634_000, 4087) + // Minimum execution time: 53_499_000 picoseconds. + Weight::from_parts(58_094_000, 4087) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -79,8 +79,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `92` // Estimated: `4087` - // Minimum execution time: 17_125_000 picoseconds. - Weight::from_parts(17_554_000, 4087) + // Minimum execution time: 32_609_000 picoseconds. + Weight::from_parts(35_403_000, 4087) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -90,8 +90,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_121_000 picoseconds. - Weight::from_parts(8_354_000, 0) + // Minimum execution time: 16_046_000 picoseconds. + Weight::from_parts(18_087_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `ForeignAssets::SuspendedForeignAsset` (r:0 w:1) @@ -100,21 +100,52 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_238_000 picoseconds. - Weight::from_parts(7_501_000, 0) + // Minimum execution time: 14_353_000 picoseconds. + Weight::from_parts(15_818_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - fn force_set_foreign_asset_conversion_coefficient() -> Weight{ - Weight::default() - } + /// Storage: `ForeignAssets::OracleMembers` (r:1 w:1) + /// Proof: `ForeignAssets::OracleMembers` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) fn add_oracle_member() -> Weight { - Weight::default() + // Proof Size summary in bytes: + // Measured: `4` + // Estimated: `3086` + // Minimum execution time: 10_759_000 picoseconds. + Weight::from_parts(14_123_000, 3086) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `ForeignAssets::OracleMembers` (r:1 w:1) + /// Proof: `ForeignAssets::OracleMembers` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) fn remove_oracle_member() -> Weight { - Weight::default() + // Proof Size summary in bytes: + // Measured: `4` + // Estimated: `3086` + // Minimum execution time: 11_562_000 picoseconds. + Weight::from_parts(12_823_000, 3086) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: `ForeignAssets::ForeignAssetConversionCoefficient` (r:1 w:1) + /// Proof: `ForeignAssets::ForeignAssetConversionCoefficient` (`max_values`: None, `max_size`: Some(634), added: 3109, mode: `MaxEncodedLen`) + fn force_set_foreign_asset_conversion_coefficient() -> Weight { + // Proof Size summary in bytes: + // Measured: `75` + // Estimated: `4099` + // Minimum execution time: 22_250_000 picoseconds. + Weight::from_parts(25_393_000, 4099) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `ForeignAssets::CurrencyExchangeUrl` (r:0 w:1) + /// Proof: `ForeignAssets::CurrencyExchangeUrl` (`max_values`: Some(1), `max_size`: Some(202), added: 697, mode: `MaxEncodedLen`) fn update_currency_exchange_url() -> Weight { - Weight::default() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_543_000 picoseconds. + Weight::from_parts(8_310_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -133,15 +164,15 @@ impl WeightInfo for () { /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1) /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) /// Storage: `Common::CollectionProperties` (r:0 w:1) - /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`) + /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40990), added: 43465, mode: `MaxEncodedLen`) /// Storage: `Common::CollectionById` (r:0 w:1) /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`) fn force_register_foreign_asset() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `4087` - // Minimum execution time: 28_126_000 picoseconds. - Weight::from_parts(28_634_000, 4087) + // Minimum execution time: 53_499_000 picoseconds. + Weight::from_parts(58_094_000, 4087) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -153,8 +184,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `92` // Estimated: `4087` - // Minimum execution time: 17_125_000 picoseconds. - Weight::from_parts(17_554_000, 4087) + // Minimum execution time: 32_609_000 picoseconds. + Weight::from_parts(35_403_000, 4087) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -164,8 +195,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_121_000 picoseconds. - Weight::from_parts(8_354_000, 0) + // Minimum execution time: 16_046_000 picoseconds. + Weight::from_parts(18_087_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `ForeignAssets::SuspendedForeignAsset` (r:0 w:1) @@ -174,21 +205,52 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_238_000 picoseconds. - Weight::from_parts(7_501_000, 0) + // Minimum execution time: 14_353_000 picoseconds. + Weight::from_parts(15_818_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - fn force_set_foreign_asset_conversion_coefficient() -> Weight{ - Weight::default() - } + /// Storage: `ForeignAssets::OracleMembers` (r:1 w:1) + /// Proof: `ForeignAssets::OracleMembers` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) fn add_oracle_member() -> Weight { - Weight::default() + // Proof Size summary in bytes: + // Measured: `4` + // Estimated: `3086` + // Minimum execution time: 10_759_000 picoseconds. + Weight::from_parts(14_123_000, 3086) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `ForeignAssets::OracleMembers` (r:1 w:1) + /// Proof: `ForeignAssets::OracleMembers` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) fn remove_oracle_member() -> Weight { - Weight::default() + // Proof Size summary in bytes: + // Measured: `4` + // Estimated: `3086` + // Minimum execution time: 11_562_000 picoseconds. + Weight::from_parts(12_823_000, 3086) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `ForeignAssets::ForeignAssetConversionCoefficient` (r:1 w:1) + /// Proof: `ForeignAssets::ForeignAssetConversionCoefficient` (`max_values`: None, `max_size`: Some(634), added: 3109, mode: `MaxEncodedLen`) + fn force_set_foreign_asset_conversion_coefficient() -> Weight { + // Proof Size summary in bytes: + // Measured: `75` + // Estimated: `4099` + // Minimum execution time: 22_250_000 picoseconds. + Weight::from_parts(25_393_000, 4099) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: `ForeignAssets::CurrencyExchangeUrl` (r:0 w:1) + /// Proof: `ForeignAssets::CurrencyExchangeUrl` (`max_values`: Some(1), `max_size`: Some(202), added: 697, mode: `MaxEncodedLen`) fn update_currency_exchange_url() -> Weight { - Weight::default() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_543_000 picoseconds. + Weight::from_parts(8_310_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/fungible/src/weights.rs b/pallets/fungible/src/weights.rs index 11417897ec..4575ce4f82 100644 --- a/pallets/fungible/src/weights.rs +++ b/pallets/fungible/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_fungible //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -55,8 +55,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3542` - // Minimum execution time: 16_599_000 picoseconds. - Weight::from_parts(16_979_000, 3542) + // Minimum execution time: 35_818_000 picoseconds. + Weight::from_parts(38_266_000, 3542) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -69,10 +69,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3493 + b * (2552 ±0)` - // Minimum execution time: 5_519_000 picoseconds. - Weight::from_parts(10_980_812, 3493) - // Standard Error: 1_967 - .saturating_add(Weight::from_parts(6_900_338, 0).saturating_mul(b.into())) + // Minimum execution time: 11_086_000 picoseconds. + Weight::from_parts(103_677_315, 3493) + // Standard Error: 132_056 + .saturating_add(Weight::from_parts(14_635_758, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -87,8 +87,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `231` // Estimated: `3542` - // Minimum execution time: 19_207_000 picoseconds. - Weight::from_parts(19_620_000, 3542) + // Minimum execution time: 42_462_000 picoseconds. + Weight::from_parts(44_338_000, 3542) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -98,8 +98,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `6094` - // Minimum execution time: 21_308_000 picoseconds. - Weight::from_parts(21_717_000, 6094) + // Minimum execution time: 47_681_000 picoseconds. + Weight::from_parts(49_505_000, 6094) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -111,8 +111,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `3542` - // Minimum execution time: 17_387_000 picoseconds. - Weight::from_parts(17_745_000, 3542) + // Minimum execution time: 37_887_000 picoseconds. + Weight::from_parts(39_149_000, 3542) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -124,8 +124,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3542` - // Minimum execution time: 17_833_000 picoseconds. - Weight::from_parts(18_189_000, 3542) + // Minimum execution time: 38_218_000 picoseconds. + Weight::from_parts(40_129_000, 3542) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -135,8 +135,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `244` // Estimated: `3558` - // Minimum execution time: 8_592_000 picoseconds. - Weight::from_parts(8_800_000, 3558) + // Minimum execution time: 18_029_000 picoseconds. + Weight::from_parts(19_010_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Fungible::Allowance` (r:0 w:1) @@ -145,8 +145,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_379_000 picoseconds. - Weight::from_parts(9_628_000, 0) + // Minimum execution time: 19_408_000 picoseconds. + Weight::from_parts(21_022_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Fungible::Allowance` (r:1 w:1) @@ -159,8 +159,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `349` // Estimated: `3558` - // Minimum execution time: 31_759_000 picoseconds. - Weight::from_parts(32_172_000, 3558) + // Minimum execution time: 69_183_000 picoseconds. + Weight::from_parts(73_289_000, 3558) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -176,8 +176,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3542` - // Minimum execution time: 16_599_000 picoseconds. - Weight::from_parts(16_979_000, 3542) + // Minimum execution time: 35_818_000 picoseconds. + Weight::from_parts(38_266_000, 3542) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -190,10 +190,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3493 + b * (2552 ±0)` - // Minimum execution time: 5_519_000 picoseconds. - Weight::from_parts(10_980_812, 3493) - // Standard Error: 1_967 - .saturating_add(Weight::from_parts(6_900_338, 0).saturating_mul(b.into())) + // Minimum execution time: 11_086_000 picoseconds. + Weight::from_parts(103_677_315, 3493) + // Standard Error: 132_056 + .saturating_add(Weight::from_parts(14_635_758, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -208,8 +208,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `231` // Estimated: `3542` - // Minimum execution time: 19_207_000 picoseconds. - Weight::from_parts(19_620_000, 3542) + // Minimum execution time: 42_462_000 picoseconds. + Weight::from_parts(44_338_000, 3542) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -219,8 +219,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `216` // Estimated: `6094` - // Minimum execution time: 21_308_000 picoseconds. - Weight::from_parts(21_717_000, 6094) + // Minimum execution time: 47_681_000 picoseconds. + Weight::from_parts(49_505_000, 6094) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -232,8 +232,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `216` // Estimated: `3542` - // Minimum execution time: 17_387_000 picoseconds. - Weight::from_parts(17_745_000, 3542) + // Minimum execution time: 37_887_000 picoseconds. + Weight::from_parts(39_149_000, 3542) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -245,8 +245,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3542` - // Minimum execution time: 17_833_000 picoseconds. - Weight::from_parts(18_189_000, 3542) + // Minimum execution time: 38_218_000 picoseconds. + Weight::from_parts(40_129_000, 3542) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -256,8 +256,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `244` // Estimated: `3558` - // Minimum execution time: 8_592_000 picoseconds. - Weight::from_parts(8_800_000, 3558) + // Minimum execution time: 18_029_000 picoseconds. + Weight::from_parts(19_010_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Fungible::Allowance` (r:0 w:1) @@ -266,8 +266,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_379_000 picoseconds. - Weight::from_parts(9_628_000, 0) + // Minimum execution time: 19_408_000 picoseconds. + Weight::from_parts(21_022_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Fungible::Allowance` (r:1 w:1) @@ -280,8 +280,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `349` // Estimated: `3558` - // Minimum execution time: 31_759_000 picoseconds. - Weight::from_parts(32_172_000, 3558) + // Minimum execution time: 69_183_000 picoseconds. + Weight::from_parts(73_289_000, 3558) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } diff --git a/pallets/identity/src/weights.rs b/pallets/identity/src/weights.rs index 725ba657aa..4f33d7881f 100644 --- a/pallets/identity/src/weights.rs +++ b/pallets/identity/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_identity //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -64,10 +64,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 11_070_000 picoseconds. - Weight::from_parts(11_428_600, 2626) - // Standard Error: 420 - .saturating_add(Weight::from_parts(73_038, 0).saturating_mul(r.into())) + // Minimum execution time: 19_966_000 picoseconds. + Weight::from_parts(21_993_436, 2626) + // Standard Error: 1_990 + .saturating_add(Weight::from_parts(132_062, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -79,12 +79,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `441 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 31_164_000 picoseconds. - Weight::from_parts(30_285_214, 11003) - // Standard Error: 130 - .saturating_add(Weight::from_parts(439_935, 0).saturating_mul(x.into())) - // Standard Error: 667 - .saturating_add(Weight::from_parts(59_638, 0).saturating_mul(r.into())) + // Minimum execution time: 42_146_000 picoseconds. + Weight::from_parts(42_908_526, 11003) + // Standard Error: 1_581 + .saturating_add(Weight::from_parts(571_396, 0).saturating_mul(x.into())) + // Standard Error: 8_105 + .saturating_add(Weight::from_parts(117_979, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -99,10 +99,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `100` // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 10_482_000 picoseconds. - Weight::from_parts(26_561_804, 11003) - // Standard Error: 2_055 - .saturating_add(Weight::from_parts(2_903_058, 0).saturating_mul(s.into())) + // Minimum execution time: 13_367_000 picoseconds. + Weight::from_parts(32_862_263, 11003) + // Standard Error: 3_227 + .saturating_add(Weight::from_parts(3_786_505, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -120,10 +120,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` // Estimated: `11003` - // Minimum execution time: 10_600_000 picoseconds. - Weight::from_parts(26_284_022, 11003) - // Standard Error: 1_893 - .saturating_add(Weight::from_parts(1_106_701, 0).saturating_mul(p.into())) + // Minimum execution time: 13_193_000 picoseconds. + Weight::from_parts(32_527_562, 11003) + // Standard Error: 2_422 + .saturating_add(Weight::from_parts(1_448_541, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -137,18 +137,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { + fn clear_identity(_r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 53_302_000 picoseconds. - Weight::from_parts(30_576_692, 11003) - // Standard Error: 1_561 - .saturating_add(Weight::from_parts(74_510, 0).saturating_mul(r.into())) - // Standard Error: 304 - .saturating_add(Weight::from_parts(1_097_979, 0).saturating_mul(s.into())) - // Standard Error: 304 - .saturating_add(Weight::from_parts(242_797, 0).saturating_mul(x.into())) + // Minimum execution time: 60_813_000 picoseconds. + Weight::from_parts(75_103_153, 11003) + // Standard Error: 4_542 + .saturating_add(Weight::from_parts(1_250_048, 0).saturating_mul(s.into())) + // Standard Error: 4_542 + .saturating_add(Weight::from_parts(306_313, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -163,12 +161,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `366 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 31_420_000 picoseconds. - Weight::from_parts(30_857_322, 11003) - // Standard Error: 634 - .saturating_add(Weight::from_parts(79_059, 0).saturating_mul(r.into())) - // Standard Error: 123 - .saturating_add(Weight::from_parts(465_469, 0).saturating_mul(x.into())) + // Minimum execution time: 32_170_000 picoseconds. + Weight::from_parts(31_576_082, 11003) + // Standard Error: 773 + .saturating_add(Weight::from_parts(83_467, 0).saturating_mul(r.into())) + // Standard Error: 150 + .saturating_add(Weight::from_parts(491_997, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -180,12 +178,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `397 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 28_899_000 picoseconds. - Weight::from_parts(28_802_748, 11003) - // Standard Error: 635 - .saturating_add(Weight::from_parts(45_317, 0).saturating_mul(r.into())) - // Standard Error: 124 - .saturating_add(Weight::from_parts(469_829, 0).saturating_mul(x.into())) + // Minimum execution time: 29_545_000 picoseconds. + Weight::from_parts(29_128_856, 11003) + // Standard Error: 799 + .saturating_add(Weight::from_parts(62_667, 0).saturating_mul(r.into())) + // Standard Error: 156 + .saturating_add(Weight::from_parts(489_946, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -196,10 +194,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 8_241_000 picoseconds. - Weight::from_parts(8_637_085, 2626) - // Standard Error: 570 - .saturating_add(Weight::from_parts(64_693, 0).saturating_mul(r.into())) + // Minimum execution time: 8_118_000 picoseconds. + Weight::from_parts(8_482_940, 2626) + // Standard Error: 490 + .saturating_add(Weight::from_parts(64_525, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -210,10 +208,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 6_988_000 picoseconds. - Weight::from_parts(7_291_532, 2626) - // Standard Error: 386 - .saturating_add(Weight::from_parts(64_744, 0).saturating_mul(r.into())) + // Minimum execution time: 7_232_000 picoseconds. + Weight::from_parts(7_544_794, 2626) + // Standard Error: 585 + .saturating_add(Weight::from_parts(69_663, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -224,10 +222,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_087_000 picoseconds. - Weight::from_parts(7_336_808, 2626) - // Standard Error: 304 - .saturating_add(Weight::from_parts(60_391, 0).saturating_mul(r.into())) + // Minimum execution time: 7_132_000 picoseconds. + Weight::from_parts(7_446_443, 2626) + // Standard Error: 435 + .saturating_add(Weight::from_parts(64_436, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -241,12 +239,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `387 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 21_796_000 picoseconds. - Weight::from_parts(21_250_780, 11003) - // Standard Error: 875 - .saturating_add(Weight::from_parts(55_368, 0).saturating_mul(r.into())) - // Standard Error: 162 - .saturating_add(Weight::from_parts(735_186, 0).saturating_mul(x.into())) + // Minimum execution time: 22_522_000 picoseconds. + Weight::from_parts(22_203_325, 11003) + // Standard Error: 937 + .saturating_add(Weight::from_parts(52_014, 0).saturating_mul(r.into())) + // Standard Error: 173 + .saturating_add(Weight::from_parts(775_919, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -261,18 +259,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { + fn kill_identity(_r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `665 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 75_072_000 picoseconds. - Weight::from_parts(53_208_475, 11003) - // Standard Error: 1_643 - .saturating_add(Weight::from_parts(93_100, 0).saturating_mul(r.into())) - // Standard Error: 320 - .saturating_add(Weight::from_parts(1_109_204, 0).saturating_mul(s.into())) - // Standard Error: 320 - .saturating_add(Weight::from_parts(232_391, 0).saturating_mul(x.into())) + // Minimum execution time: 75_289_000 picoseconds. + Weight::from_parts(58_565_710, 11003) + // Standard Error: 627 + .saturating_add(Weight::from_parts(1_108_542, 0).saturating_mul(s.into())) + // Standard Error: 627 + .saturating_add(Weight::from_parts(230_747, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -285,12 +281,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_130_000 picoseconds. - Weight::from_parts(5_290_000, 0) - // Standard Error: 2_245_630 - .saturating_add(Weight::from_parts(139_624_734, 0).saturating_mul(x.into())) - // Standard Error: 373_608 - .saturating_add(Weight::from_parts(28_155_855, 0).saturating_mul(n.into())) + // Minimum execution time: 5_413_000 picoseconds. + Weight::from_parts(5_599_000, 0) + // Standard Error: 2_250_204 + .saturating_add(Weight::from_parts(140_171_969, 0).saturating_mul(x.into())) + // Standard Error: 374_369 + .saturating_add(Weight::from_parts(29_309_264, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } /// Storage: `Identity::SubsOf` (r:600 w:0) @@ -303,12 +299,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `41` // Estimated: `990 + n * (5733 ±0)` - // Minimum execution time: 4_956_000 picoseconds. - Weight::from_parts(5_142_000, 990) - // Standard Error: 5_610 - .saturating_add(Weight::from_parts(90_308, 0).saturating_mul(x.into())) - // Standard Error: 933 - .saturating_add(Weight::from_parts(2_554_736, 0).saturating_mul(n.into())) + // Minimum execution time: 4_938_000 picoseconds. + Weight::from_parts(5_101_000, 990) + // Standard Error: 4_912 + .saturating_add(Weight::from_parts(52_975, 0).saturating_mul(x.into())) + // Standard Error: 817 + .saturating_add(Weight::from_parts(2_424_341, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into())) @@ -323,12 +319,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `41` // Estimated: `990 + n * (5733 ±0)` - // Minimum execution time: 5_040_000 picoseconds. - Weight::from_parts(5_218_000, 990) - // Standard Error: 4_891_353 - .saturating_add(Weight::from_parts(308_869_761, 0).saturating_mul(s.into())) - // Standard Error: 813_780 - .saturating_add(Weight::from_parts(54_698_776, 0).saturating_mul(n.into())) + // Minimum execution time: 5_381_000 picoseconds. + Weight::from_parts(5_496_000, 990) + // Standard Error: 4_747_571 + .saturating_add(Weight::from_parts(301_275_421, 0).saturating_mul(s.into())) + // Standard Error: 789_859 + .saturating_add(Weight::from_parts(52_812_105, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -345,10 +341,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `437 + s * (36 ±0)` // Estimated: `11003` - // Minimum execution time: 28_767_000 picoseconds. - Weight::from_parts(33_853_057, 11003) - // Standard Error: 625 - .saturating_add(Weight::from_parts(57_624, 0).saturating_mul(s.into())) + // Minimum execution time: 28_089_000 picoseconds. + Weight::from_parts(32_672_497, 11003) + // Standard Error: 582 + .saturating_add(Weight::from_parts(59_426, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -361,10 +357,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `590 + s * (3 ±0)` // Estimated: `11003` - // Minimum execution time: 14_497_000 picoseconds. - Weight::from_parts(17_160_818, 11003) - // Standard Error: 310 - .saturating_add(Weight::from_parts(18_327, 0).saturating_mul(s.into())) + // Minimum execution time: 14_050_000 picoseconds. + Weight::from_parts(16_499_592, 11003) + // Standard Error: 288 + .saturating_add(Weight::from_parts(19_731, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -379,10 +375,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `637 + s * (35 ±0)` // Estimated: `11003` - // Minimum execution time: 32_920_000 picoseconds. - Weight::from_parts(36_127_992, 11003) - // Standard Error: 380 - .saturating_add(Weight::from_parts(42_984, 0).saturating_mul(s.into())) + // Minimum execution time: 31_684_000 picoseconds. + Weight::from_parts(34_641_217, 11003) + // Standard Error: 391 + .saturating_add(Weight::from_parts(42_160, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -397,10 +393,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `665 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 27_365_000 picoseconds. - Weight::from_parts(29_692_388, 6723) - // Standard Error: 442 - .saturating_add(Weight::from_parts(48_565, 0).saturating_mul(s.into())) + // Minimum execution time: 25_664_000 picoseconds. + Weight::from_parts(28_054_550, 6723) + // Standard Error: 417 + .saturating_add(Weight::from_parts(50_308, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -415,10 +411,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 11_070_000 picoseconds. - Weight::from_parts(11_428_600, 2626) - // Standard Error: 420 - .saturating_add(Weight::from_parts(73_038, 0).saturating_mul(r.into())) + // Minimum execution time: 19_966_000 picoseconds. + Weight::from_parts(21_993_436, 2626) + // Standard Error: 1_990 + .saturating_add(Weight::from_parts(132_062, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -430,12 +426,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `441 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 31_164_000 picoseconds. - Weight::from_parts(30_285_214, 11003) - // Standard Error: 130 - .saturating_add(Weight::from_parts(439_935, 0).saturating_mul(x.into())) - // Standard Error: 667 - .saturating_add(Weight::from_parts(59_638, 0).saturating_mul(r.into())) + // Minimum execution time: 42_146_000 picoseconds. + Weight::from_parts(42_908_526, 11003) + // Standard Error: 1_581 + .saturating_add(Weight::from_parts(571_396, 0).saturating_mul(x.into())) + // Standard Error: 8_105 + .saturating_add(Weight::from_parts(117_979, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -450,10 +446,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `100` // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 10_482_000 picoseconds. - Weight::from_parts(26_561_804, 11003) - // Standard Error: 2_055 - .saturating_add(Weight::from_parts(2_903_058, 0).saturating_mul(s.into())) + // Minimum execution time: 13_367_000 picoseconds. + Weight::from_parts(32_862_263, 11003) + // Standard Error: 3_227 + .saturating_add(Weight::from_parts(3_786_505, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -471,10 +467,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` // Estimated: `11003` - // Minimum execution time: 10_600_000 picoseconds. - Weight::from_parts(26_284_022, 11003) - // Standard Error: 1_893 - .saturating_add(Weight::from_parts(1_106_701, 0).saturating_mul(p.into())) + // Minimum execution time: 13_193_000 picoseconds. + Weight::from_parts(32_527_562, 11003) + // Standard Error: 2_422 + .saturating_add(Weight::from_parts(1_448_541, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -488,18 +484,16 @@ impl WeightInfo for () { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { + fn clear_identity(_r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 53_302_000 picoseconds. - Weight::from_parts(30_576_692, 11003) - // Standard Error: 1_561 - .saturating_add(Weight::from_parts(74_510, 0).saturating_mul(r.into())) - // Standard Error: 304 - .saturating_add(Weight::from_parts(1_097_979, 0).saturating_mul(s.into())) - // Standard Error: 304 - .saturating_add(Weight::from_parts(242_797, 0).saturating_mul(x.into())) + // Minimum execution time: 60_813_000 picoseconds. + Weight::from_parts(75_103_153, 11003) + // Standard Error: 4_542 + .saturating_add(Weight::from_parts(1_250_048, 0).saturating_mul(s.into())) + // Standard Error: 4_542 + .saturating_add(Weight::from_parts(306_313, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -514,12 +508,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `366 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 31_420_000 picoseconds. - Weight::from_parts(30_857_322, 11003) - // Standard Error: 634 - .saturating_add(Weight::from_parts(79_059, 0).saturating_mul(r.into())) - // Standard Error: 123 - .saturating_add(Weight::from_parts(465_469, 0).saturating_mul(x.into())) + // Minimum execution time: 32_170_000 picoseconds. + Weight::from_parts(31_576_082, 11003) + // Standard Error: 773 + .saturating_add(Weight::from_parts(83_467, 0).saturating_mul(r.into())) + // Standard Error: 150 + .saturating_add(Weight::from_parts(491_997, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -531,12 +525,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `397 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 28_899_000 picoseconds. - Weight::from_parts(28_802_748, 11003) - // Standard Error: 635 - .saturating_add(Weight::from_parts(45_317, 0).saturating_mul(r.into())) - // Standard Error: 124 - .saturating_add(Weight::from_parts(469_829, 0).saturating_mul(x.into())) + // Minimum execution time: 29_545_000 picoseconds. + Weight::from_parts(29_128_856, 11003) + // Standard Error: 799 + .saturating_add(Weight::from_parts(62_667, 0).saturating_mul(r.into())) + // Standard Error: 156 + .saturating_add(Weight::from_parts(489_946, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -547,10 +541,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 8_241_000 picoseconds. - Weight::from_parts(8_637_085, 2626) - // Standard Error: 570 - .saturating_add(Weight::from_parts(64_693, 0).saturating_mul(r.into())) + // Minimum execution time: 8_118_000 picoseconds. + Weight::from_parts(8_482_940, 2626) + // Standard Error: 490 + .saturating_add(Weight::from_parts(64_525, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -561,10 +555,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 6_988_000 picoseconds. - Weight::from_parts(7_291_532, 2626) - // Standard Error: 386 - .saturating_add(Weight::from_parts(64_744, 0).saturating_mul(r.into())) + // Minimum execution time: 7_232_000 picoseconds. + Weight::from_parts(7_544_794, 2626) + // Standard Error: 585 + .saturating_add(Weight::from_parts(69_663, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -575,10 +569,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_087_000 picoseconds. - Weight::from_parts(7_336_808, 2626) - // Standard Error: 304 - .saturating_add(Weight::from_parts(60_391, 0).saturating_mul(r.into())) + // Minimum execution time: 7_132_000 picoseconds. + Weight::from_parts(7_446_443, 2626) + // Standard Error: 435 + .saturating_add(Weight::from_parts(64_436, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -592,12 +586,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `387 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 21_796_000 picoseconds. - Weight::from_parts(21_250_780, 11003) - // Standard Error: 875 - .saturating_add(Weight::from_parts(55_368, 0).saturating_mul(r.into())) - // Standard Error: 162 - .saturating_add(Weight::from_parts(735_186, 0).saturating_mul(x.into())) + // Minimum execution time: 22_522_000 picoseconds. + Weight::from_parts(22_203_325, 11003) + // Standard Error: 937 + .saturating_add(Weight::from_parts(52_014, 0).saturating_mul(r.into())) + // Standard Error: 173 + .saturating_add(Weight::from_parts(775_919, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -612,18 +606,16 @@ impl WeightInfo for () { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { + fn kill_identity(_r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `665 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 75_072_000 picoseconds. - Weight::from_parts(53_208_475, 11003) - // Standard Error: 1_643 - .saturating_add(Weight::from_parts(93_100, 0).saturating_mul(r.into())) - // Standard Error: 320 - .saturating_add(Weight::from_parts(1_109_204, 0).saturating_mul(s.into())) - // Standard Error: 320 - .saturating_add(Weight::from_parts(232_391, 0).saturating_mul(x.into())) + // Minimum execution time: 75_289_000 picoseconds. + Weight::from_parts(58_565_710, 11003) + // Standard Error: 627 + .saturating_add(Weight::from_parts(1_108_542, 0).saturating_mul(s.into())) + // Standard Error: 627 + .saturating_add(Weight::from_parts(230_747, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -636,12 +628,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_130_000 picoseconds. - Weight::from_parts(5_290_000, 0) - // Standard Error: 2_245_630 - .saturating_add(Weight::from_parts(139_624_734, 0).saturating_mul(x.into())) - // Standard Error: 373_608 - .saturating_add(Weight::from_parts(28_155_855, 0).saturating_mul(n.into())) + // Minimum execution time: 5_413_000 picoseconds. + Weight::from_parts(5_599_000, 0) + // Standard Error: 2_250_204 + .saturating_add(Weight::from_parts(140_171_969, 0).saturating_mul(x.into())) + // Standard Error: 374_369 + .saturating_add(Weight::from_parts(29_309_264, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into()))) } /// Storage: `Identity::SubsOf` (r:600 w:0) @@ -654,12 +646,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `41` // Estimated: `990 + n * (5733 ±0)` - // Minimum execution time: 4_956_000 picoseconds. - Weight::from_parts(5_142_000, 990) - // Standard Error: 5_610 - .saturating_add(Weight::from_parts(90_308, 0).saturating_mul(x.into())) - // Standard Error: 933 - .saturating_add(Weight::from_parts(2_554_736, 0).saturating_mul(n.into())) + // Minimum execution time: 4_938_000 picoseconds. + Weight::from_parts(5_101_000, 990) + // Standard Error: 4_912 + .saturating_add(Weight::from_parts(52_975, 0).saturating_mul(x.into())) + // Standard Error: 817 + .saturating_add(Weight::from_parts(2_424_341, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into())) @@ -674,12 +666,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `41` // Estimated: `990 + n * (5733 ±0)` - // Minimum execution time: 5_040_000 picoseconds. - Weight::from_parts(5_218_000, 990) - // Standard Error: 4_891_353 - .saturating_add(Weight::from_parts(308_869_761, 0).saturating_mul(s.into())) - // Standard Error: 813_780 - .saturating_add(Weight::from_parts(54_698_776, 0).saturating_mul(n.into())) + // Minimum execution time: 5_381_000 picoseconds. + Weight::from_parts(5_496_000, 990) + // Standard Error: 4_747_571 + .saturating_add(Weight::from_parts(301_275_421, 0).saturating_mul(s.into())) + // Standard Error: 789_859 + .saturating_add(Weight::from_parts(52_812_105, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -696,10 +688,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `437 + s * (36 ±0)` // Estimated: `11003` - // Minimum execution time: 28_767_000 picoseconds. - Weight::from_parts(33_853_057, 11003) - // Standard Error: 625 - .saturating_add(Weight::from_parts(57_624, 0).saturating_mul(s.into())) + // Minimum execution time: 28_089_000 picoseconds. + Weight::from_parts(32_672_497, 11003) + // Standard Error: 582 + .saturating_add(Weight::from_parts(59_426, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -712,10 +704,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `590 + s * (3 ±0)` // Estimated: `11003` - // Minimum execution time: 14_497_000 picoseconds. - Weight::from_parts(17_160_818, 11003) - // Standard Error: 310 - .saturating_add(Weight::from_parts(18_327, 0).saturating_mul(s.into())) + // Minimum execution time: 14_050_000 picoseconds. + Weight::from_parts(16_499_592, 11003) + // Standard Error: 288 + .saturating_add(Weight::from_parts(19_731, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -730,10 +722,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `637 + s * (35 ±0)` // Estimated: `11003` - // Minimum execution time: 32_920_000 picoseconds. - Weight::from_parts(36_127_992, 11003) - // Standard Error: 380 - .saturating_add(Weight::from_parts(42_984, 0).saturating_mul(s.into())) + // Minimum execution time: 31_684_000 picoseconds. + Weight::from_parts(34_641_217, 11003) + // Standard Error: 391 + .saturating_add(Weight::from_parts(42_160, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -748,10 +740,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `665 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 27_365_000 picoseconds. - Weight::from_parts(29_692_388, 6723) - // Standard Error: 442 - .saturating_add(Weight::from_parts(48_565, 0).saturating_mul(s.into())) + // Minimum execution time: 25_664_000 picoseconds. + Weight::from_parts(28_054_550, 6723) + // Standard Error: 417 + .saturating_add(Weight::from_parts(50_308, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/pallets/maintenance/src/weights.rs b/pallets/maintenance/src/weights.rs index d469af11b7..5f6c3fdbfc 100644 --- a/pallets/maintenance/src/weights.rs +++ b/pallets/maintenance/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_maintenance //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -46,8 +46,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_508_000 picoseconds. - Weight::from_parts(5_699_000, 0) + // Minimum execution time: 10_576_000 picoseconds. + Weight::from_parts(11_859_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Maintenance::Enabled` (r:0 w:1) @@ -56,8 +56,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_330_000 picoseconds. - Weight::from_parts(5_524_000, 0) + // Minimum execution time: 11_801_000 picoseconds. + Weight::from_parts(12_612_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -70,8 +70,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_508_000 picoseconds. - Weight::from_parts(5_699_000, 0) + // Minimum execution time: 10_576_000 picoseconds. + Weight::from_parts(11_859_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Maintenance::Enabled` (r:0 w:1) @@ -80,8 +80,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_330_000 picoseconds. - Weight::from_parts(5_524_000, 0) + // Minimum execution time: 11_801_000 picoseconds. + Weight::from_parts(12_612_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/nonfungible/src/weights.rs b/pallets/nonfungible/src/weights.rs index 75c2b2d2cb..e6dd8e4bd5 100644 --- a/pallets/nonfungible/src/weights.rs +++ b/pallets/nonfungible/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_nonfungible //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -65,8 +65,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3530` - // Minimum execution time: 25_091_000 picoseconds. - Weight::from_parts(25_402_000, 3530) + // Minimum execution time: 50_785_000 picoseconds. + Weight::from_parts(55_056_000, 3530) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -83,10 +83,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3530` - // Minimum execution time: 7_303_000 picoseconds. - Weight::from_parts(13_382_574, 3530) - // Standard Error: 3_153 - .saturating_add(Weight::from_parts(7_894_111, 0).saturating_mul(b.into())) + // Minimum execution time: 14_563_000 picoseconds. + Weight::from_parts(326_996_981, 3530) + // Standard Error: 163_592 + .saturating_add(Weight::from_parts(10_181_756, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into()))) @@ -104,10 +104,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3481 + b * (2540 ±0)` - // Minimum execution time: 7_345_000 picoseconds. - Weight::from_parts(8_848_221, 3481) - // Standard Error: 4_797 - .saturating_add(Weight::from_parts(12_173_655, 0).saturating_mul(b.into())) + // Minimum execution time: 9_189_000 picoseconds. + Weight::from_parts(9_807_553, 3481) + // Standard Error: 8_859 + .saturating_add(Weight::from_parts(16_182_047, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -127,13 +127,13 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Nonfungible::Owned` (r:0 w:1) /// Proof: `Nonfungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) /// Storage: `Nonfungible::TokenProperties` (r:0 w:1) - /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn burn_item() -> Weight { // Proof Size summary in bytes: - // Measured: `380` + // Measured: `413` // Estimated: `3530` - // Minimum execution time: 40_572_000 picoseconds. - Weight::from_parts(41_134_000, 3530) + // Minimum execution time: 53_208_000 picoseconds. + Weight::from_parts(55_235_000, 3530) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -147,10 +147,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Nonfungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_raw() -> Weight { // Proof Size summary in bytes: - // Measured: `380` + // Measured: `413` // Estimated: `6070` - // Minimum execution time: 34_794_000 picoseconds. - Weight::from_parts(35_212_000, 6070) + // Minimum execution time: 44_936_000 picoseconds. + Weight::from_parts(46_531_000, 6070) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -160,10 +160,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Nonfungible::Allowance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn approve() -> Weight { // Proof Size summary in bytes: - // Measured: `326` + // Measured: `359` // Estimated: `3522` - // Minimum execution time: 17_437_000 picoseconds. - Weight::from_parts(17_699_000, 3522) + // Minimum execution time: 23_196_000 picoseconds. + Weight::from_parts(23_972_000, 3522) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -173,10 +173,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Nonfungible::Allowance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn approve_from() -> Weight { // Proof Size summary in bytes: - // Measured: `313` + // Measured: `346` // Estimated: `3522` - // Minimum execution time: 17_835_000 picoseconds. - Weight::from_parts(18_129_000, 3522) + // Minimum execution time: 23_255_000 picoseconds. + Weight::from_parts(24_199_000, 3522) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -184,10 +184,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Nonfungible::Allowance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn check_allowed_raw() -> Weight { // Proof Size summary in bytes: - // Measured: `362` + // Measured: `395` // Estimated: `3522` - // Minimum execution time: 8_017_000 picoseconds. - Weight::from_parts(8_253_000, 3522) + // Minimum execution time: 10_389_000 picoseconds. + Weight::from_parts(10_779_000, 3522) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Nonfungible::Allowance` (r:1 w:1) @@ -203,37 +203,39 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Nonfungible::Owned` (r:0 w:1) /// Proof: `Nonfungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) /// Storage: `Nonfungible::TokenProperties` (r:0 w:1) - /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn burn_from() -> Weight { // Proof Size summary in bytes: - // Measured: `463` + // Measured: `496` // Estimated: `3530` - // Minimum execution time: 48_224_000 picoseconds. - Weight::from_parts(48_741_000, 3530) + // Minimum execution time: 62_299_000 picoseconds. + Weight::from_parts(64_654_000, 3530) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Nonfungible::TokenProperties` (r:1 w:0) - /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn load_token_properties() -> Weight { // Proof Size summary in bytes: - // Measured: `279` - // Estimated: `36269` - // Minimum execution time: 6_132_000 picoseconds. - Weight::from_parts(6_314_000, 36269) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `66412` + // Estimated: `69035` + // Minimum execution time: 107_646_000 picoseconds. + Weight::from_parts(111_057_000, 69035) + .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Nonfungible::TokenProperties` (r:0 w:1) - /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) /// The range of component `b` is `[0, 64]`. fn write_token_properties(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 694_000 picoseconds. - Weight::from_parts(721_000, 0) - // Standard Error: 30_975 - .saturating_add(Weight::from_parts(39_063_489, 0).saturating_mul(b.into())) + // Minimum execution time: 4_714_000 picoseconds. + Weight::from_parts(65_584_032, 0) + // Standard Error: 16_677 + .saturating_add(Weight::from_parts(9_089_439, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1) @@ -241,12 +243,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `b` is `[0, 64]`. fn set_token_property_permissions(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `314` + // Measured: `17024` // Estimated: `20191` - // Minimum execution time: 3_194_000 picoseconds. - Weight::from_parts(3_293_000, 20191) - // Standard Error: 220_247 - .saturating_add(Weight::from_parts(45_444_658, 0).saturating_mul(b.into())) + // Minimum execution time: 4_168_000 picoseconds. + Weight::from_parts(6_062_166, 20191) + // Standard Error: 35_976 + .saturating_add(Weight::from_parts(117_188_185, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -256,8 +258,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_583_000 picoseconds. - Weight::from_parts(9_704_000, 0) + // Minimum execution time: 11_795_000 picoseconds. + Weight::from_parts(12_482_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Nonfungible::CollectionAllowance` (r:1 w:0) @@ -266,18 +268,18 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3576` - // Minimum execution time: 6_518_000 picoseconds. - Weight::from_parts(6_713_000, 3576) + // Minimum execution time: 8_027_000 picoseconds. + Weight::from_parts(8_421_000, 3576) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Nonfungible::TokenProperties` (r:1 w:1) - /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn repair_item() -> Weight { // Proof Size summary in bytes: - // Measured: `279` - // Estimated: `36269` - // Minimum execution time: 6_326_000 picoseconds. - Weight::from_parts(6_487_000, 36269) + // Measured: `66131` + // Estimated: `69035` + // Minimum execution time: 190_135_000 picoseconds. + Weight::from_parts(200_834_000, 69035) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -297,8 +299,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3530` - // Minimum execution time: 25_091_000 picoseconds. - Weight::from_parts(25_402_000, 3530) + // Minimum execution time: 50_785_000 picoseconds. + Weight::from_parts(55_056_000, 3530) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -315,10 +317,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3530` - // Minimum execution time: 7_303_000 picoseconds. - Weight::from_parts(13_382_574, 3530) - // Standard Error: 3_153 - .saturating_add(Weight::from_parts(7_894_111, 0).saturating_mul(b.into())) + // Minimum execution time: 14_563_000 picoseconds. + Weight::from_parts(326_996_981, 3530) + // Standard Error: 163_592 + .saturating_add(Weight::from_parts(10_181_756, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into()))) @@ -336,10 +338,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3481 + b * (2540 ±0)` - // Minimum execution time: 7_345_000 picoseconds. - Weight::from_parts(8_848_221, 3481) - // Standard Error: 4_797 - .saturating_add(Weight::from_parts(12_173_655, 0).saturating_mul(b.into())) + // Minimum execution time: 9_189_000 picoseconds. + Weight::from_parts(9_807_553, 3481) + // Standard Error: 8_859 + .saturating_add(Weight::from_parts(16_182_047, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -359,13 +361,13 @@ impl WeightInfo for () { /// Storage: `Nonfungible::Owned` (r:0 w:1) /// Proof: `Nonfungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) /// Storage: `Nonfungible::TokenProperties` (r:0 w:1) - /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn burn_item() -> Weight { // Proof Size summary in bytes: - // Measured: `380` + // Measured: `413` // Estimated: `3530` - // Minimum execution time: 40_572_000 picoseconds. - Weight::from_parts(41_134_000, 3530) + // Minimum execution time: 53_208_000 picoseconds. + Weight::from_parts(55_235_000, 3530) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -379,10 +381,10 @@ impl WeightInfo for () { /// Proof: `Nonfungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_raw() -> Weight { // Proof Size summary in bytes: - // Measured: `380` + // Measured: `413` // Estimated: `6070` - // Minimum execution time: 34_794_000 picoseconds. - Weight::from_parts(35_212_000, 6070) + // Minimum execution time: 44_936_000 picoseconds. + Weight::from_parts(46_531_000, 6070) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -392,10 +394,10 @@ impl WeightInfo for () { /// Proof: `Nonfungible::Allowance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn approve() -> Weight { // Proof Size summary in bytes: - // Measured: `326` + // Measured: `359` // Estimated: `3522` - // Minimum execution time: 17_437_000 picoseconds. - Weight::from_parts(17_699_000, 3522) + // Minimum execution time: 23_196_000 picoseconds. + Weight::from_parts(23_972_000, 3522) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -405,10 +407,10 @@ impl WeightInfo for () { /// Proof: `Nonfungible::Allowance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn approve_from() -> Weight { // Proof Size summary in bytes: - // Measured: `313` + // Measured: `346` // Estimated: `3522` - // Minimum execution time: 17_835_000 picoseconds. - Weight::from_parts(18_129_000, 3522) + // Minimum execution time: 23_255_000 picoseconds. + Weight::from_parts(24_199_000, 3522) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -416,10 +418,10 @@ impl WeightInfo for () { /// Proof: `Nonfungible::Allowance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn check_allowed_raw() -> Weight { // Proof Size summary in bytes: - // Measured: `362` + // Measured: `395` // Estimated: `3522` - // Minimum execution time: 8_017_000 picoseconds. - Weight::from_parts(8_253_000, 3522) + // Minimum execution time: 10_389_000 picoseconds. + Weight::from_parts(10_779_000, 3522) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Nonfungible::Allowance` (r:1 w:1) @@ -435,37 +437,39 @@ impl WeightInfo for () { /// Storage: `Nonfungible::Owned` (r:0 w:1) /// Proof: `Nonfungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) /// Storage: `Nonfungible::TokenProperties` (r:0 w:1) - /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn burn_from() -> Weight { // Proof Size summary in bytes: - // Measured: `463` + // Measured: `496` // Estimated: `3530` - // Minimum execution time: 48_224_000 picoseconds. - Weight::from_parts(48_741_000, 3530) + // Minimum execution time: 62_299_000 picoseconds. + Weight::from_parts(64_654_000, 3530) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Nonfungible::TokenProperties` (r:1 w:0) - /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn load_token_properties() -> Weight { // Proof Size summary in bytes: - // Measured: `279` - // Estimated: `36269` - // Minimum execution time: 6_132_000 picoseconds. - Weight::from_parts(6_314_000, 36269) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Measured: `66412` + // Estimated: `69035` + // Minimum execution time: 107_646_000 picoseconds. + Weight::from_parts(111_057_000, 69035) + .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Nonfungible::TokenProperties` (r:0 w:1) - /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) /// The range of component `b` is `[0, 64]`. fn write_token_properties(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 694_000 picoseconds. - Weight::from_parts(721_000, 0) - // Standard Error: 30_975 - .saturating_add(Weight::from_parts(39_063_489, 0).saturating_mul(b.into())) + // Minimum execution time: 4_714_000 picoseconds. + Weight::from_parts(65_584_032, 0) + // Standard Error: 16_677 + .saturating_add(Weight::from_parts(9_089_439, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1) @@ -473,12 +477,12 @@ impl WeightInfo for () { /// The range of component `b` is `[0, 64]`. fn set_token_property_permissions(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `314` + // Measured: `17024` // Estimated: `20191` - // Minimum execution time: 3_194_000 picoseconds. - Weight::from_parts(3_293_000, 20191) - // Standard Error: 220_247 - .saturating_add(Weight::from_parts(45_444_658, 0).saturating_mul(b.into())) + // Minimum execution time: 4_168_000 picoseconds. + Weight::from_parts(6_062_166, 20191) + // Standard Error: 35_976 + .saturating_add(Weight::from_parts(117_188_185, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -488,8 +492,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_583_000 picoseconds. - Weight::from_parts(9_704_000, 0) + // Minimum execution time: 11_795_000 picoseconds. + Weight::from_parts(12_482_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Nonfungible::CollectionAllowance` (r:1 w:0) @@ -498,18 +502,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3576` - // Minimum execution time: 6_518_000 picoseconds. - Weight::from_parts(6_713_000, 3576) + // Minimum execution time: 8_027_000 picoseconds. + Weight::from_parts(8_421_000, 3576) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Nonfungible::TokenProperties` (r:1 w:1) - /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Nonfungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn repair_item() -> Weight { // Proof Size summary in bytes: - // Measured: `279` - // Estimated: `36269` - // Minimum execution time: 6_326_000 picoseconds. - Weight::from_parts(6_487_000, 36269) + // Measured: `66131` + // Estimated: `69035` + // Minimum execution time: 190_135_000 picoseconds. + Weight::from_parts(200_834_000, 69035) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/refungible/src/weights.rs b/pallets/refungible/src/weights.rs index 3a1fa6f858..18e7f103a0 100644 --- a/pallets/refungible/src/weights.rs +++ b/pallets/refungible/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_refungible //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -66,91 +66,115 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) /// Storage: `Refungible::AccountBalance` (r:1 w:1) /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:0) + /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `Refungible::Balance` (r:0 w:1) /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) /// Storage: `Refungible::TotalSupply` (r:0 w:1) /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Refungible::Owned` (r:0 w:1) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) + /// Storage: `Refungible::TokenProperties` (r:0 w:1) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn create_item() -> Weight { // Proof Size summary in bytes: - // Measured: `4` - // Estimated: `3530` - // Minimum execution time: 30_521_000 picoseconds. - Weight::from_parts(30_949_000, 3530) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + // Measured: `17028` + // Estimated: `20191` + // Minimum execution time: 1_391_225_000 picoseconds. + Weight::from_parts(1_549_815_000, 20191) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Refungible::TokensMinted` (r:1 w:1) /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) /// Storage: `Refungible::AccountBalance` (r:1 w:1) /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:0) + /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `Refungible::Balance` (r:0 w:120) /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) /// Storage: `Refungible::TotalSupply` (r:0 w:120) /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Refungible::Owned` (r:0 w:120) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) + /// Storage: `Refungible::TokenProperties` (r:0 w:120) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) /// The range of component `b` is `[0, 120]`. fn create_multiple_items(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4` - // Estimated: `3530` - // Minimum execution time: 6_660_000 picoseconds. - Weight::from_parts(13_986_328, 3530) - // Standard Error: 4_694 - .saturating_add(Weight::from_parts(11_811_392, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `17028` + // Estimated: `20191` + // Minimum execution time: 11_877_000 picoseconds. + Weight::from_parts(6_788_575_948, 20191) + // Standard Error: 2_347_157 + .saturating_add(Weight::from_parts(506_955_455, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into()))) } /// Storage: `Refungible::TokensMinted` (r:1 w:1) /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) /// Storage: `Refungible::AccountBalance` (r:120 w:120) /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:0) + /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `Refungible::Balance` (r:0 w:120) /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) /// Storage: `Refungible::TotalSupply` (r:0 w:120) /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Refungible::Owned` (r:0 w:120) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) + /// Storage: `Refungible::TokenProperties` (r:0 w:120) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) /// The range of component `b` is `[0, 120]`. fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4` - // Estimated: `3481 + b * (2540 ±0)` - // Minimum execution time: 6_752_000 picoseconds. - Weight::from_parts(10_259_579, 3481) - // Standard Error: 3_846 - .saturating_add(Weight::from_parts(16_231_028, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `17028` + // Estimated: `20191 + b * (2540 ±0)` + // Minimum execution time: 6_467_000 picoseconds. + Weight::from_parts(6_609_000, 20191) + // Standard Error: 34_069 + .saturating_add(Weight::from_parts(559_920_473, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into()))) .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into())) } /// Storage: `Refungible::TokensMinted` (r:1 w:1) /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) /// Storage: `Refungible::AccountBalance` (r:120 w:120) /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:0) + /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `Refungible::Balance` (r:0 w:120) /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) /// Storage: `Refungible::TotalSupply` (r:0 w:1) /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Refungible::Owned` (r:0 w:120) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) + /// Storage: `Refungible::TokenProperties` (r:0 w:1) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) /// The range of component `b` is `[0, 120]`. fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4` - // Estimated: `3481 + b * (2540 ±0)` - // Minimum execution time: 10_135_000 picoseconds. - Weight::from_parts(13_339_246, 3481) - // Standard Error: 4_441 - .saturating_add(Weight::from_parts(12_706_408, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `17028` + // Estimated: `20191 + b * (2540 ±0)` + // Minimum execution time: 580_605_000 picoseconds. + Weight::from_parts(588_974_571, 20191) + // Standard Error: 7_355 + .saturating_add(Weight::from_parts(12_726_328, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into())) } @@ -164,10 +188,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn burn_item_partial() -> Weight { // Proof Size summary in bytes: - // Measured: `456` + // Measured: `490` // Estimated: `8682` - // Minimum execution time: 49_546_000 picoseconds. - Weight::from_parts(50_121_000, 8682) + // Minimum execution time: 48_580_000 picoseconds. + Weight::from_parts(49_322_000, 8682) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -182,13 +206,13 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Refungible::Owned` (r:0 w:1) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) /// Storage: `Refungible::TokenProperties` (r:0 w:1) - /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn burn_item_fully() -> Weight { // Proof Size summary in bytes: - // Measured: `341` + // Measured: `375` // Estimated: `3554` - // Minimum execution time: 49_158_000 picoseconds. - Weight::from_parts(50_010_000, 3554) + // Minimum execution time: 48_315_000 picoseconds. + Weight::from_parts(49_127_000, 3554) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -198,10 +222,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) fn transfer_normal() -> Weight { // Proof Size summary in bytes: - // Measured: `365` + // Measured: `398` // Estimated: `6118` - // Minimum execution time: 30_975_000 picoseconds. - Weight::from_parts(31_400_000, 6118) + // Minimum execution time: 30_426_000 picoseconds. + Weight::from_parts(31_021_000, 6118) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -215,10 +239,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `341` + // Measured: `375` // Estimated: `6118` - // Minimum execution time: 39_489_000 picoseconds. - Weight::from_parts(39_934_000, 6118) + // Minimum execution time: 38_364_000 picoseconds. + Weight::from_parts(39_158_000, 6118) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -232,10 +256,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_removing() -> Weight { // Proof Size summary in bytes: - // Measured: `456` + // Measured: `490` // Estimated: `6118` - // Minimum execution time: 42_835_000 picoseconds. - Weight::from_parts(43_352_000, 6118) + // Minimum execution time: 41_762_000 picoseconds. + Weight::from_parts(42_470_000, 6118) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -249,10 +273,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_creating_removing() -> Weight { // Proof Size summary in bytes: - // Measured: `341` + // Measured: `375` // Estimated: `6118` - // Minimum execution time: 48_161_000 picoseconds. - Weight::from_parts(48_691_000, 6118) + // Minimum execution time: 46_832_000 picoseconds. + Weight::from_parts(47_507_000, 6118) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -262,10 +286,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn approve() -> Weight { // Proof Size summary in bytes: - // Measured: `223` + // Measured: `256` // Estimated: `3554` - // Minimum execution time: 18_621_000 picoseconds. - Weight::from_parts(18_965_000, 3554) + // Minimum execution time: 18_708_000 picoseconds. + Weight::from_parts(19_170_000, 3554) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -275,10 +299,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn approve_from() -> Weight { // Proof Size summary in bytes: - // Measured: `211` + // Measured: `244` // Estimated: `3554` - // Minimum execution time: 19_221_000 picoseconds. - Weight::from_parts(19_541_000, 3554) + // Minimum execution time: 19_360_000 picoseconds. + Weight::from_parts(19_757_000, 3554) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -290,10 +314,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) fn transfer_from_normal() -> Weight { // Proof Size summary in bytes: - // Measured: `495` + // Measured: `528` // Estimated: `6118` - // Minimum execution time: 45_153_000 picoseconds. - Weight::from_parts(45_867_000, 6118) + // Minimum execution time: 44_243_000 picoseconds. + Weight::from_parts(44_828_000, 6118) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -309,10 +333,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_from_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `471` + // Measured: `505` // Estimated: `6118` - // Minimum execution time: 54_496_000 picoseconds. - Weight::from_parts(55_184_000, 6118) + // Minimum execution time: 52_993_000 picoseconds. + Weight::from_parts(53_906_000, 6118) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -328,10 +352,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_from_removing() -> Weight { // Proof Size summary in bytes: - // Measured: `586` + // Measured: `620` // Estimated: `6118` - // Minimum execution time: 58_444_000 picoseconds. - Weight::from_parts(59_084_000, 6118) + // Minimum execution time: 56_660_000 picoseconds. + Weight::from_parts(57_274_000, 6118) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -347,10 +371,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_from_creating_removing() -> Weight { // Proof Size summary in bytes: - // Measured: `471` + // Measured: `505` // Estimated: `6118` - // Minimum execution time: 62_020_000 picoseconds. - Weight::from_parts(62_785_000, 6118) + // Minimum execution time: 60_363_000 picoseconds. + Weight::from_parts(61_093_000, 6118) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -367,37 +391,39 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Refungible::Owned` (r:0 w:1) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) /// Storage: `Refungible::TokenProperties` (r:0 w:1) - /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn burn_from() -> Weight { // Proof Size summary in bytes: - // Measured: `471` + // Measured: `505` // Estimated: `3570` - // Minimum execution time: 65_290_000 picoseconds. - Weight::from_parts(65_939_000, 3570) + // Minimum execution time: 63_999_000 picoseconds. + Weight::from_parts(64_837_000, 3570) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `Refungible::TokenProperties` (r:1 w:0) - /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn load_token_properties() -> Weight { // Proof Size summary in bytes: - // Measured: `120` - // Estimated: `36269` - // Minimum execution time: 5_041_000 picoseconds. - Weight::from_parts(5_162_000, 36269) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `66253` + // Estimated: `69035` + // Minimum execution time: 81_642_000 picoseconds. + Weight::from_parts(82_203_000, 69035) + .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Refungible::TokenProperties` (r:0 w:1) - /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) /// The range of component `b` is `[0, 64]`. fn write_token_properties(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 762_000 picoseconds. - Weight::from_parts(805_000, 0) - // Standard Error: 30_983 - .saturating_add(Weight::from_parts(39_259_019, 0).saturating_mul(b.into())) + // Minimum execution time: 3_649_000 picoseconds. + Weight::from_parts(49_846_880, 0) + // Standard Error: 12_343 + .saturating_add(Weight::from_parts(6_906_785, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1) @@ -405,12 +431,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `b` is `[0, 64]`. fn set_token_property_permissions(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `314` + // Measured: `17024` // Estimated: `20191` - // Minimum execution time: 3_384_000 picoseconds. - Weight::from_parts(3_472_000, 20191) - // Standard Error: 222_779 - .saturating_add(Weight::from_parts(45_778_051, 0).saturating_mul(b.into())) + // Minimum execution time: 3_289_000 picoseconds. + Weight::from_parts(2_582_701, 20191) + // Standard Error: 11_725 + .saturating_add(Weight::from_parts(89_996_075, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -420,10 +446,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) fn repartition_item() -> Weight { // Proof Size summary in bytes: - // Measured: `288` + // Measured: `321` // Estimated: `3554` - // Minimum execution time: 23_413_000 picoseconds. - Weight::from_parts(23_867_000, 3554) + // Minimum execution time: 23_157_000 picoseconds. + Weight::from_parts(23_668_000, 3554) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -433,8 +459,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_877_000 picoseconds. - Weight::from_parts(10_111_000, 0) + // Minimum execution time: 9_742_000 picoseconds. + Weight::from_parts(9_972_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Refungible::CollectionAllowance` (r:1 w:0) @@ -443,18 +469,18 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `4` // Estimated: `3576` - // Minimum execution time: 5_838_000 picoseconds. - Weight::from_parts(5_999_000, 3576) + // Minimum execution time: 5_476_000 picoseconds. + Weight::from_parts(5_610_000, 3576) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Refungible::TokenProperties` (r:1 w:1) - /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn repair_item() -> Weight { // Proof Size summary in bytes: - // Measured: `120` - // Estimated: `36269` - // Minimum execution time: 5_235_000 picoseconds. - Weight::from_parts(5_416_000, 36269) + // Measured: `65972` + // Estimated: `69035` + // Minimum execution time: 150_207_000 picoseconds. + Weight::from_parts(151_474_000, 69035) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -466,91 +492,115 @@ impl WeightInfo for () { /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) /// Storage: `Refungible::AccountBalance` (r:1 w:1) /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:0) + /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `Refungible::Balance` (r:0 w:1) /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) /// Storage: `Refungible::TotalSupply` (r:0 w:1) /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Refungible::Owned` (r:0 w:1) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) + /// Storage: `Refungible::TokenProperties` (r:0 w:1) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn create_item() -> Weight { // Proof Size summary in bytes: - // Measured: `4` - // Estimated: `3530` - // Minimum execution time: 30_521_000 picoseconds. - Weight::from_parts(30_949_000, 3530) - .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(RocksDbWeight::get().writes(5_u64)) + // Measured: `17028` + // Estimated: `20191` + // Minimum execution time: 1_391_225_000 picoseconds. + Weight::from_parts(1_549_815_000, 20191) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Refungible::TokensMinted` (r:1 w:1) /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) /// Storage: `Refungible::AccountBalance` (r:1 w:1) /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:0) + /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `Refungible::Balance` (r:0 w:120) /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) /// Storage: `Refungible::TotalSupply` (r:0 w:120) /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Refungible::Owned` (r:0 w:120) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) + /// Storage: `Refungible::TokenProperties` (r:0 w:120) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) /// The range of component `b` is `[0, 120]`. fn create_multiple_items(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4` - // Estimated: `3530` - // Minimum execution time: 6_660_000 picoseconds. - Weight::from_parts(13_986_328, 3530) - // Standard Error: 4_694 - .saturating_add(Weight::from_parts(11_811_392, 0).saturating_mul(b.into())) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Measured: `17028` + // Estimated: `20191` + // Minimum execution time: 11_877_000 picoseconds. + Weight::from_parts(6_788_575_948, 20191) + // Standard Error: 2_347_157 + .saturating_add(Weight::from_parts(506_955_455, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) - .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into()))) + .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into()))) } /// Storage: `Refungible::TokensMinted` (r:1 w:1) /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) /// Storage: `Refungible::AccountBalance` (r:120 w:120) /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:0) + /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `Refungible::Balance` (r:0 w:120) /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) /// Storage: `Refungible::TotalSupply` (r:0 w:120) /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Refungible::Owned` (r:0 w:120) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) + /// Storage: `Refungible::TokenProperties` (r:0 w:120) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) /// The range of component `b` is `[0, 120]`. fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4` - // Estimated: `3481 + b * (2540 ±0)` - // Minimum execution time: 6_752_000 picoseconds. - Weight::from_parts(10_259_579, 3481) - // Standard Error: 3_846 - .saturating_add(Weight::from_parts(16_231_028, 0).saturating_mul(b.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Measured: `17028` + // Estimated: `20191 + b * (2540 ±0)` + // Minimum execution time: 6_467_000 picoseconds. + Weight::from_parts(6_609_000, 20191) + // Standard Error: 34_069 + .saturating_add(Weight::from_parts(559_920_473, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) - .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into()))) + .saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(b.into()))) .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into())) } /// Storage: `Refungible::TokensMinted` (r:1 w:1) /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) /// Storage: `Refungible::AccountBalance` (r:120 w:120) /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:0) + /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `Refungible::Balance` (r:0 w:120) /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) /// Storage: `Refungible::TotalSupply` (r:0 w:1) /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Refungible::Owned` (r:0 w:120) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) + /// Storage: `Refungible::TokenProperties` (r:0 w:1) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) /// The range of component `b` is `[0, 120]`. fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4` - // Estimated: `3481 + b * (2540 ±0)` - // Minimum execution time: 10_135_000 picoseconds. - Weight::from_parts(13_339_246, 3481) - // Standard Error: 4_441 - .saturating_add(Weight::from_parts(12_706_408, 0).saturating_mul(b.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Measured: `17028` + // Estimated: `20191 + b * (2540 ±0)` + // Minimum execution time: 580_605_000 picoseconds. + Weight::from_parts(588_974_571, 20191) + // Standard Error: 7_355 + .saturating_add(Weight::from_parts(12_726_328, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into()))) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into()))) .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into())) } @@ -564,10 +614,10 @@ impl WeightInfo for () { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn burn_item_partial() -> Weight { // Proof Size summary in bytes: - // Measured: `456` + // Measured: `490` // Estimated: `8682` - // Minimum execution time: 49_546_000 picoseconds. - Weight::from_parts(50_121_000, 8682) + // Minimum execution time: 48_580_000 picoseconds. + Weight::from_parts(49_322_000, 8682) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -582,13 +632,13 @@ impl WeightInfo for () { /// Storage: `Refungible::Owned` (r:0 w:1) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) /// Storage: `Refungible::TokenProperties` (r:0 w:1) - /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn burn_item_fully() -> Weight { // Proof Size summary in bytes: - // Measured: `341` + // Measured: `375` // Estimated: `3554` - // Minimum execution time: 49_158_000 picoseconds. - Weight::from_parts(50_010_000, 3554) + // Minimum execution time: 48_315_000 picoseconds. + Weight::from_parts(49_127_000, 3554) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -598,10 +648,10 @@ impl WeightInfo for () { /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) fn transfer_normal() -> Weight { // Proof Size summary in bytes: - // Measured: `365` + // Measured: `398` // Estimated: `6118` - // Minimum execution time: 30_975_000 picoseconds. - Weight::from_parts(31_400_000, 6118) + // Minimum execution time: 30_426_000 picoseconds. + Weight::from_parts(31_021_000, 6118) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -615,10 +665,10 @@ impl WeightInfo for () { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `341` + // Measured: `375` // Estimated: `6118` - // Minimum execution time: 39_489_000 picoseconds. - Weight::from_parts(39_934_000, 6118) + // Minimum execution time: 38_364_000 picoseconds. + Weight::from_parts(39_158_000, 6118) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -632,10 +682,10 @@ impl WeightInfo for () { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_removing() -> Weight { // Proof Size summary in bytes: - // Measured: `456` + // Measured: `490` // Estimated: `6118` - // Minimum execution time: 42_835_000 picoseconds. - Weight::from_parts(43_352_000, 6118) + // Minimum execution time: 41_762_000 picoseconds. + Weight::from_parts(42_470_000, 6118) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -649,10 +699,10 @@ impl WeightInfo for () { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_creating_removing() -> Weight { // Proof Size summary in bytes: - // Measured: `341` + // Measured: `375` // Estimated: `6118` - // Minimum execution time: 48_161_000 picoseconds. - Weight::from_parts(48_691_000, 6118) + // Minimum execution time: 46_832_000 picoseconds. + Weight::from_parts(47_507_000, 6118) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -662,10 +712,10 @@ impl WeightInfo for () { /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn approve() -> Weight { // Proof Size summary in bytes: - // Measured: `223` + // Measured: `256` // Estimated: `3554` - // Minimum execution time: 18_621_000 picoseconds. - Weight::from_parts(18_965_000, 3554) + // Minimum execution time: 18_708_000 picoseconds. + Weight::from_parts(19_170_000, 3554) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -675,10 +725,10 @@ impl WeightInfo for () { /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`) fn approve_from() -> Weight { // Proof Size summary in bytes: - // Measured: `211` + // Measured: `244` // Estimated: `3554` - // Minimum execution time: 19_221_000 picoseconds. - Weight::from_parts(19_541_000, 3554) + // Minimum execution time: 19_360_000 picoseconds. + Weight::from_parts(19_757_000, 3554) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -690,10 +740,10 @@ impl WeightInfo for () { /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) fn transfer_from_normal() -> Weight { // Proof Size summary in bytes: - // Measured: `495` + // Measured: `528` // Estimated: `6118` - // Minimum execution time: 45_153_000 picoseconds. - Weight::from_parts(45_867_000, 6118) + // Minimum execution time: 44_243_000 picoseconds. + Weight::from_parts(44_828_000, 6118) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -709,10 +759,10 @@ impl WeightInfo for () { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_from_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `471` + // Measured: `505` // Estimated: `6118` - // Minimum execution time: 54_496_000 picoseconds. - Weight::from_parts(55_184_000, 6118) + // Minimum execution time: 52_993_000 picoseconds. + Weight::from_parts(53_906_000, 6118) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -728,10 +778,10 @@ impl WeightInfo for () { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_from_removing() -> Weight { // Proof Size summary in bytes: - // Measured: `586` + // Measured: `620` // Estimated: `6118` - // Minimum execution time: 58_444_000 picoseconds. - Weight::from_parts(59_084_000, 6118) + // Minimum execution time: 56_660_000 picoseconds. + Weight::from_parts(57_274_000, 6118) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -747,10 +797,10 @@ impl WeightInfo for () { /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_from_creating_removing() -> Weight { // Proof Size summary in bytes: - // Measured: `471` + // Measured: `505` // Estimated: `6118` - // Minimum execution time: 62_020_000 picoseconds. - Weight::from_parts(62_785_000, 6118) + // Minimum execution time: 60_363_000 picoseconds. + Weight::from_parts(61_093_000, 6118) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -767,37 +817,39 @@ impl WeightInfo for () { /// Storage: `Refungible::Owned` (r:0 w:1) /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) /// Storage: `Refungible::TokenProperties` (r:0 w:1) - /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn burn_from() -> Weight { // Proof Size summary in bytes: - // Measured: `471` + // Measured: `505` // Estimated: `3570` - // Minimum execution time: 65_290_000 picoseconds. - Weight::from_parts(65_939_000, 3570) + // Minimum execution time: 63_999_000 picoseconds. + Weight::from_parts(64_837_000, 3570) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `Refungible::TokenProperties` (r:1 w:0) - /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) + /// Storage: `Common::CollectionTokenPropertiesLimit` (r:1 w:0) + /// Proof: `Common::CollectionTokenPropertiesLimit` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn load_token_properties() -> Weight { // Proof Size summary in bytes: - // Measured: `120` - // Estimated: `36269` - // Minimum execution time: 5_041_000 picoseconds. - Weight::from_parts(5_162_000, 36269) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Measured: `66253` + // Estimated: `69035` + // Minimum execution time: 81_642_000 picoseconds. + Weight::from_parts(82_203_000, 69035) + .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Refungible::TokenProperties` (r:0 w:1) - /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) /// The range of component `b` is `[0, 64]`. fn write_token_properties(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 762_000 picoseconds. - Weight::from_parts(805_000, 0) - // Standard Error: 30_983 - .saturating_add(Weight::from_parts(39_259_019, 0).saturating_mul(b.into())) + // Minimum execution time: 3_649_000 picoseconds. + Weight::from_parts(49_846_880, 0) + // Standard Error: 12_343 + .saturating_add(Weight::from_parts(6_906_785, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1) @@ -805,12 +857,12 @@ impl WeightInfo for () { /// The range of component `b` is `[0, 64]`. fn set_token_property_permissions(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `314` + // Measured: `17024` // Estimated: `20191` - // Minimum execution time: 3_384_000 picoseconds. - Weight::from_parts(3_472_000, 20191) - // Standard Error: 222_779 - .saturating_add(Weight::from_parts(45_778_051, 0).saturating_mul(b.into())) + // Minimum execution time: 3_289_000 picoseconds. + Weight::from_parts(2_582_701, 20191) + // Standard Error: 11_725 + .saturating_add(Weight::from_parts(89_996_075, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -820,10 +872,10 @@ impl WeightInfo for () { /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) fn repartition_item() -> Weight { // Proof Size summary in bytes: - // Measured: `288` + // Measured: `321` // Estimated: `3554` - // Minimum execution time: 23_413_000 picoseconds. - Weight::from_parts(23_867_000, 3554) + // Minimum execution time: 23_157_000 picoseconds. + Weight::from_parts(23_668_000, 3554) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -833,8 +885,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_877_000 picoseconds. - Weight::from_parts(10_111_000, 0) + // Minimum execution time: 9_742_000 picoseconds. + Weight::from_parts(9_972_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Refungible::CollectionAllowance` (r:1 w:0) @@ -843,18 +895,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4` // Estimated: `3576` - // Minimum execution time: 5_838_000 picoseconds. - Weight::from_parts(5_999_000, 3576) + // Minimum execution time: 5_476_000 picoseconds. + Weight::from_parts(5_610_000, 3576) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Refungible::TokenProperties` (r:1 w:1) - /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`) + /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(65570), added: 68045, mode: `MaxEncodedLen`) fn repair_item() -> Weight { // Proof Size summary in bytes: - // Measured: `120` - // Estimated: `36269` - // Minimum execution time: 5_235_000 picoseconds. - Weight::from_parts(5_416_000, 36269) + // Measured: `65972` + // Estimated: `69035` + // Minimum execution time: 150_207_000 picoseconds. + Weight::from_parts(151_474_000, 69035) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/structure/src/weights.rs b/pallets/structure/src/weights.rs index d736a88b92..3973e6b52c 100644 --- a/pallets/structure/src/weights.rs +++ b/pallets/structure/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_structure //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -47,8 +47,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `667` // Estimated: `4325` - // Minimum execution time: 13_536_000 picoseconds. - Weight::from_parts(13_960_000, 4325) + // Minimum execution time: 25_468_000 picoseconds. + Weight::from_parts(29_746_000, 4325) .saturating_add(T::DbWeight::get().reads(2_u64)) } } @@ -63,8 +63,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `667` // Estimated: `4325` - // Minimum execution time: 13_536_000 picoseconds. - Weight::from_parts(13_960_000, 4325) + // Minimum execution time: 25_468_000 picoseconds. + Weight::from_parts(29_746_000, 4325) .saturating_add(RocksDbWeight::get().reads(2_u64)) } } diff --git a/pallets/unique/src/weights.rs b/pallets/unique/src/weights.rs index 70cd09b4ff..493f18411e 100644 --- a/pallets/unique/src/weights.rs +++ b/pallets/unique/src/weights.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_unique //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -62,15 +62,15 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1) /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) /// Storage: `Common::CollectionProperties` (r:0 w:1) - /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`) + /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40990), added: 43465, mode: `MaxEncodedLen`) /// Storage: `Common::CollectionById` (r:0 w:1) /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`) fn create_collection() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `6196` - // Minimum execution time: 54_620_000 picoseconds. - Weight::from_parts(55_304_000, 6196) + // Minimum execution time: 109_127_000 picoseconds. + Weight::from_parts(123_890_000, 6196) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -87,13 +87,13 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Common::AdminAmount` (r:0 w:1) /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `Common::CollectionProperties` (r:0 w:1) - /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`) + /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40990), added: 43465, mode: `MaxEncodedLen`) fn destroy_collection() -> Weight { // Proof Size summary in bytes: - // Measured: `1262` + // Measured: `1300` // Estimated: `4325` - // Minimum execution time: 66_448_000 picoseconds. - Weight::from_parts(67_171_000, 4325) + // Minimum execution time: 143_716_000 picoseconds. + Weight::from_parts(159_897_000, 4325) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -105,8 +105,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1000` // Estimated: `4325` - // Minimum execution time: 18_268_000 picoseconds. - Weight::from_parts(18_747_000, 4325) + // Minimum execution time: 35_722_000 picoseconds. + Weight::from_parts(40_060_000, 4325) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -118,8 +118,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1033` // Estimated: `4325` - // Minimum execution time: 18_117_000 picoseconds. - Weight::from_parts(18_508_000, 4325) + // Minimum execution time: 35_946_000 picoseconds. + Weight::from_parts(41_207_000, 4325) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -129,8 +129,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1000` // Estimated: `4325` - // Minimum execution time: 16_722_000 picoseconds. - Weight::from_parts(16_957_000, 4325) + // Minimum execution time: 32_950_000 picoseconds. + Weight::from_parts(36_632_000, 4325) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -144,8 +144,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1012` // Estimated: `4325` - // Minimum execution time: 25_120_000 picoseconds. - Weight::from_parts(25_578_000, 4325) + // Minimum execution time: 49_176_000 picoseconds. + Weight::from_parts(56_496_000, 4325) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -159,8 +159,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1107` // Estimated: `4325` - // Minimum execution time: 26_970_000 picoseconds. - Weight::from_parts(27_431_000, 4325) + // Minimum execution time: 53_966_000 picoseconds. + Weight::from_parts(60_392_000, 4325) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -170,8 +170,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1000` // Estimated: `4325` - // Minimum execution time: 16_731_000 picoseconds. - Weight::from_parts(17_109_000, 4325) + // Minimum execution time: 32_865_000 picoseconds. + Weight::from_parts(36_883_000, 4325) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -181,8 +181,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1032` // Estimated: `4325` - // Minimum execution time: 16_800_000 picoseconds. - Weight::from_parts(17_141_000, 4325) + // Minimum execution time: 33_831_000 picoseconds. + Weight::from_parts(37_181_000, 4325) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -192,8 +192,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1032` // Estimated: `4325` - // Minimum execution time: 16_338_000 picoseconds. - Weight::from_parts(16_851_000, 4325) + // Minimum execution time: 30_577_000 picoseconds. + Weight::from_parts(37_027_000, 4325) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -203,8 +203,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1000` // Estimated: `4325` - // Minimum execution time: 11_991_000 picoseconds. - Weight::from_parts(12_239_000, 4325) + // Minimum execution time: 23_790_000 picoseconds. + Weight::from_parts(26_894_000, 4325) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -214,19 +214,19 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1000` // Estimated: `4325` - // Minimum execution time: 17_056_000 picoseconds. - Weight::from_parts(17_391_000, 4325) + // Minimum execution time: 33_635_000 picoseconds. + Weight::from_parts(37_808_000, 4325) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Common::CollectionProperties` (r:1 w:1) - /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`) + /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40990), added: 43465, mode: `MaxEncodedLen`) fn force_repair_collection() -> Weight { // Proof Size summary in bytes: // Measured: `298` - // Estimated: `44457` - // Minimum execution time: 9_344_000 picoseconds. - Weight::from_parts(9_499_000, 44457) + // Estimated: `44455` + // Minimum execution time: 16_642_000 picoseconds. + Weight::from_parts(20_406_000, 44455) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -245,15 +245,15 @@ impl WeightInfo for () { /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1) /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`) /// Storage: `Common::CollectionProperties` (r:0 w:1) - /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`) + /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40990), added: 43465, mode: `MaxEncodedLen`) /// Storage: `Common::CollectionById` (r:0 w:1) /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`) fn create_collection() -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `6196` - // Minimum execution time: 54_620_000 picoseconds. - Weight::from_parts(55_304_000, 6196) + // Minimum execution time: 109_127_000 picoseconds. + Weight::from_parts(123_890_000, 6196) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -270,13 +270,13 @@ impl WeightInfo for () { /// Storage: `Common::AdminAmount` (r:0 w:1) /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `Common::CollectionProperties` (r:0 w:1) - /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`) + /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40990), added: 43465, mode: `MaxEncodedLen`) fn destroy_collection() -> Weight { // Proof Size summary in bytes: - // Measured: `1262` + // Measured: `1300` // Estimated: `4325` - // Minimum execution time: 66_448_000 picoseconds. - Weight::from_parts(67_171_000, 4325) + // Minimum execution time: 143_716_000 picoseconds. + Weight::from_parts(159_897_000, 4325) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -288,8 +288,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1000` // Estimated: `4325` - // Minimum execution time: 18_268_000 picoseconds. - Weight::from_parts(18_747_000, 4325) + // Minimum execution time: 35_722_000 picoseconds. + Weight::from_parts(40_060_000, 4325) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -301,8 +301,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1033` // Estimated: `4325` - // Minimum execution time: 18_117_000 picoseconds. - Weight::from_parts(18_508_000, 4325) + // Minimum execution time: 35_946_000 picoseconds. + Weight::from_parts(41_207_000, 4325) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -312,8 +312,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1000` // Estimated: `4325` - // Minimum execution time: 16_722_000 picoseconds. - Weight::from_parts(16_957_000, 4325) + // Minimum execution time: 32_950_000 picoseconds. + Weight::from_parts(36_632_000, 4325) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -327,8 +327,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1012` // Estimated: `4325` - // Minimum execution time: 25_120_000 picoseconds. - Weight::from_parts(25_578_000, 4325) + // Minimum execution time: 49_176_000 picoseconds. + Weight::from_parts(56_496_000, 4325) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -342,8 +342,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1107` // Estimated: `4325` - // Minimum execution time: 26_970_000 picoseconds. - Weight::from_parts(27_431_000, 4325) + // Minimum execution time: 53_966_000 picoseconds. + Weight::from_parts(60_392_000, 4325) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -353,8 +353,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1000` // Estimated: `4325` - // Minimum execution time: 16_731_000 picoseconds. - Weight::from_parts(17_109_000, 4325) + // Minimum execution time: 32_865_000 picoseconds. + Weight::from_parts(36_883_000, 4325) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -364,8 +364,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1032` // Estimated: `4325` - // Minimum execution time: 16_800_000 picoseconds. - Weight::from_parts(17_141_000, 4325) + // Minimum execution time: 33_831_000 picoseconds. + Weight::from_parts(37_181_000, 4325) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -375,8 +375,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1032` // Estimated: `4325` - // Minimum execution time: 16_338_000 picoseconds. - Weight::from_parts(16_851_000, 4325) + // Minimum execution time: 30_577_000 picoseconds. + Weight::from_parts(37_027_000, 4325) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -386,8 +386,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1000` // Estimated: `4325` - // Minimum execution time: 11_991_000 picoseconds. - Weight::from_parts(12_239_000, 4325) + // Minimum execution time: 23_790_000 picoseconds. + Weight::from_parts(26_894_000, 4325) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -397,19 +397,19 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1000` // Estimated: `4325` - // Minimum execution time: 17_056_000 picoseconds. - Weight::from_parts(17_391_000, 4325) + // Minimum execution time: 33_635_000 picoseconds. + Weight::from_parts(37_808_000, 4325) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Common::CollectionProperties` (r:1 w:1) - /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`) + /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40990), added: 43465, mode: `MaxEncodedLen`) fn force_repair_collection() -> Weight { // Proof Size summary in bytes: // Measured: `298` - // Estimated: `44457` - // Minimum execution time: 9_344_000 picoseconds. - Weight::from_parts(9_499_000, 44457) + // Estimated: `44455` + // Minimum execution time: 16_642_000 picoseconds. + Weight::from_parts(20_406_000, 44455) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/runtime/common/weights/scheduler.rs b/runtime/common/weights/scheduler.rs index 677116d392..09309e9bbc 100644 --- a/runtime/common/weights/scheduler.rs +++ b/runtime/common/weights/scheduler.rs @@ -2,8 +2,8 @@ //! Autogenerated weights for pallet_scheduler //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.0.0 -//! DATE: 2025-03-25, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 +//! DATE: 2025-10-08, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 @@ -41,8 +41,8 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight pallet_scheduler::WeightInfo for SubstrateWeight pallet_scheduler::WeightInfo for SubstrateWeight Weight { - // FIXME: imported from stable2409-6 due to strange behaviour of `mode: Measured` fir PreimageFor (which suddenly became MaxEncodedLen here) // Proof Size summary in bytes: - // Measured: `246 + s * (1 ±0)` - // Estimated: `3711 + s * (1 ±0)` - // Minimum execution time: 18_292_000 picoseconds. - Weight::from_parts(20_124_000, 3711) - // Standard Error: 1 - .saturating_add(Weight::from_parts(22_906, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Measured: `213 + s * (1 ±0)` + // Estimated: `3678 + s * (1 ±0)` + // Minimum execution time: 24_869_000 picoseconds. + Weight::from_parts(25_732_000, 3678) + // Standard Error: 5 + .saturating_add(Weight::from_parts(2_084, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } /// Storage: `Scheduler::Lookup` (r:0 w:1) @@ -93,30 +92,30 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_484_000 picoseconds. - Weight::from_parts(3_650_000, 0) + // Minimum execution time: 4_363_000 picoseconds. + Weight::from_parts(4_554_000, 0) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_367_000 picoseconds. - Weight::from_parts(2_577_000, 0) + // Minimum execution time: 2_876_000 picoseconds. + Weight::from_parts(3_036_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_359_000 picoseconds. - Weight::from_parts(2_496_000, 0) + // Minimum execution time: 2_831_000 picoseconds. + Weight::from_parts(2_991_000, 0) } /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) @@ -125,10 +124,10 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight pallet_scheduler::WeightInfo for SubstrateWeight pallet_scheduler::WeightInfo for SubstrateWeight pallet_scheduler::WeightInfo for SubstrateWeight pallet_scheduler::WeightInfo for SubstrateWeight pallet_scheduler::WeightInfo for SubstrateWeight pallet_scheduler::WeightInfo for SubstrateWeight pallet_scheduler::WeightInfo for SubstrateWeight pallet_scheduler::WeightInfo for SubstrateWeight(PhantomData); impl pallet_xcm::WeightInfo for SubstrateWeight { - fn add_authorized_alias() -> Weight { - Weight::default() - } - fn remove_authorized_alias() -> Weight { - Weight::default() - } /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) @@ -53,10 +47,10 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `278` - // Estimated: `3743` - // Minimum execution time: 25_040_000 picoseconds. - Weight::from_parts(25_667_000, 3743) + // Measured: `348` + // Estimated: `3813` + // Minimum execution time: 65_338_000 picoseconds. + Weight::from_parts(71_536_000, 3813) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -69,10 +63,14 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. Weight::from_parts(18_446_744_073_709_551_000, 0) } + /// Storage: `ForeignAssets::ForeignAssetReserveOverride` (r:1 w:0) + /// Proof: `ForeignAssets::ForeignAssetReserveOverride` (`max_values`: None, `max_size`: Some(1220), added: 3695, mode: `MaxEncodedLen`) /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ForeignAssets::SuspendedForeignAsset` (r:1 w:0) + /// Proof: `ForeignAssets::SuspendedForeignAsset` (`max_values`: None, `max_size`: Some(619), added: 3094, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::ForeignAssetToCollection` (r:1 w:0) /// Proof: `ForeignAssets::ForeignAssetToCollection` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::CollectionToForeignAsset` (r:1 w:0) @@ -103,17 +101,21 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(105506), added: 107981, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `1763` + // Measured: `1796` // Estimated: `6070` - // Minimum execution time: 116_357_000 picoseconds. - Weight::from_parts(117_717_000, 6070) - .saturating_add(T::DbWeight::get().reads(15_u64)) + // Minimum execution time: 246_470_000 picoseconds. + Weight::from_parts(298_919_000, 6070) + .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } + /// Storage: `ForeignAssets::ForeignAssetReserveOverride` (r:2 w:0) + /// Proof: `ForeignAssets::ForeignAssetReserveOverride` (`max_values`: None, `max_size`: Some(1220), added: 3695, mode: `MaxEncodedLen`) /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ForeignAssets::SuspendedForeignAsset` (r:2 w:0) + /// Proof: `ForeignAssets::SuspendedForeignAsset` (`max_values`: None, `max_size`: Some(619), added: 3094, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::ForeignAssetToCollection` (r:2 w:0) /// Proof: `ForeignAssets::ForeignAssetToCollection` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::CollectionToForeignAsset` (r:2 w:0) @@ -144,11 +146,11 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `Nonfungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `2521` - // Estimated: `7660` - // Minimum execution time: 145_023_000 picoseconds. - Weight::from_parts(146_496_000, 7660) - .saturating_add(T::DbWeight::get().reads(20_u64)) + // Measured: `2624` + // Estimated: `8380` + // Minimum execution time: 367_655_000 picoseconds. + Weight::from_parts(396_299_000, 8380) + .saturating_add(T::DbWeight::get().reads(24_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) @@ -157,8 +159,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `136` // Estimated: `1621` - // Minimum execution time: 13_143_000 picoseconds. - Weight::from_parts(13_513_000, 1621) + // Minimum execution time: 24_315_000 picoseconds. + Weight::from_parts(28_404_000, 1621) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) @@ -167,8 +169,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_836_000 picoseconds. - Weight::from_parts(8_178_000, 0) + // Minimum execution time: 15_856_000 picoseconds. + Weight::from_parts(17_295_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1) @@ -177,8 +179,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_777_000 picoseconds. - Weight::from_parts(2_891_000, 0) + // Minimum execution time: 5_326_000 picoseconds. + Weight::from_parts(6_361_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) @@ -199,10 +201,10 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `278` - // Estimated: `3743` - // Minimum execution time: 31_037_000 picoseconds. - Weight::from_parts(31_614_000, 3743) + // Measured: `348` + // Estimated: `3813` + // Minimum execution time: 68_249_000 picoseconds. + Weight::from_parts(80_457_000, 3813) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -222,10 +224,10 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `461` - // Estimated: `3926` - // Minimum execution time: 33_093_000 picoseconds. - Weight::from_parts(33_513_000, 3926) + // Measured: `562` + // Estimated: `4027` + // Minimum execution time: 73_447_000 picoseconds. + Weight::from_parts(79_766_000, 4027) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -235,8 +237,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_714_000 picoseconds. - Weight::from_parts(2_880_000, 0) + // Minimum execution time: 5_210_000 picoseconds. + Weight::from_parts(5_830_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:6 w:2) @@ -245,8 +247,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `192` // Estimated: `16032` - // Minimum execution time: 23_149_000 picoseconds. - Weight::from_parts(23_511_000, 16032) + // Minimum execution time: 51_358_000 picoseconds. + Weight::from_parts(56_458_000, 16032) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -256,8 +258,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `196` // Estimated: `16036` - // Minimum execution time: 23_152_000 picoseconds. - Weight::from_parts(23_593_000, 16036) + // Minimum execution time: 50_984_000 picoseconds. + Weight::from_parts(56_555_000, 16036) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -267,8 +269,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `207` // Estimated: `18522` - // Minimum execution time: 25_866_000 picoseconds. - Weight::from_parts(26_208_000, 18522) + // Minimum execution time: 60_330_000 picoseconds. + Weight::from_parts(63_336_000, 18522) .saturating_add(T::DbWeight::get().reads(7_u64)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) @@ -281,16 +283,14 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: // Measured: `345` // Estimated: `6285` - // Minimum execution time: 29_284_000 picoseconds. - Weight::from_parts(29_694_000, 6285) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 54_408_000 picoseconds. + Weight::from_parts(62_100_000, 6285) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -298,8 +298,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `210` // Estimated: `13575` - // Minimum execution time: 15_941_000 picoseconds. - Weight::from_parts(16_390_000, 13575) + // Minimum execution time: 35_602_000 picoseconds. + Weight::from_parts(41_939_000, 13575) .saturating_add(T::DbWeight::get().reads(5_u64)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) @@ -308,12 +308,12 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `203` // Estimated: `16043` - // Minimum execution time: 23_456_000 picoseconds. - Weight::from_parts(23_786_000, 16043) + // Minimum execution time: 51_617_000 picoseconds. + Weight::from_parts(55_901_000, 16043) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:2) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -323,16 +323,14 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) - /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: // Measured: `345` // Estimated: `16185` - // Minimum execution time: 40_357_000 picoseconds. - Weight::from_parts(40_979_000, 16185) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 79_101_000 picoseconds. + Weight::from_parts(85_745_000, 16185) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -342,8 +340,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `136` // Estimated: `1621` - // Minimum execution time: 6_780_000 picoseconds. - Weight::from_parts(7_071_000, 1621) + // Minimum execution time: 13_946_000 picoseconds. + Weight::from_parts(15_121_000, 1621) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -353,8 +351,8 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `7773` // Estimated: `11238` - // Minimum execution time: 29_535_000 picoseconds. - Weight::from_parts(29_877_000, 11238) + // Minimum execution time: 60_851_000 picoseconds. + Weight::from_parts(69_789_000, 11238) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -370,14 +368,35 @@ impl pallet_xcm::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `366` // Estimated: `4087` - // Minimum execution time: 52_017_000 picoseconds. - Weight::from_parts(52_546_000, 4087) + // Minimum execution time: 104_371_000 picoseconds. + Weight::from_parts(108_848_000, 4087) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn add_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn remove_authorized_alias() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + } fn weigh_message() -> Weight { - Weight::default() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 17_534_000 picoseconds. + Weight::from_parts(25_542_000, 0) } } From 5bb2fe9d781a558530da41be3056615d10180c67 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 8 Oct 2025 17:01:45 +0200 Subject: [PATCH 17/51] chore: calibrate weight coeffs --- primitives/common/src/constants.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/primitives/common/src/constants.rs b/primitives/common/src/constants.rs index 526fc7b9cf..ec2995f8d9 100644 --- a/primitives/common/src/constants.rs +++ b/primitives/common/src/constants.rs @@ -54,10 +54,10 @@ pub const MAX_COLLATORS: u32 = 10; pub const SESSION_LENGTH: BlockNumber = HOURS; // Targeting 0.1 UNQ per transfer -pub const WEIGHT_TO_FEE_COEFF: u64 = /**/75_438_195_485_614_739/**/; +pub const WEIGHT_TO_FEE_COEFF: u64 = /**/74_032_567_634_989_970/**/; // Targeting 0.15 UNQ per transfer via ETH -pub const MIN_GAS_PRICE: u64 = /**/1_862_382_359_514/**/; +pub const MIN_GAS_PRICE: u64 = /**/1_840_671_476_954/**/; /// We assume that ~10% of the block weight is consumed by `on_initalize` handlers. /// This is used to limit the maximal weight of a single extrinsic. From 4b272135f42d02083618d232fe957eb64121d34a Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Wed, 8 Oct 2025 22:46:46 +0700 Subject: [PATCH 18/51] enable clean docker artifacts for xcm wf --- .github/workflows/xcm.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/xcm.yml b/.github/workflows/xcm.yml index f28884e7e5..ff879bb1e3 100644 --- a/.github/workflows/xcm.yml +++ b/.github/workflows/xcm.yml @@ -63,6 +63,16 @@ jobs: - name: Clean Workspace uses: AutoModality/action-clean@v1.1.0 + - name: Remove all containers + if: always() # run this step always + run: | + docker ps -aq | xargs docker rm -f + + - name: Remove builder cache + if: always() + run: | + docker system prune -a -f + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4.1.7 with: From e609acb6e30c93dcacc702a2a3db89c91d4f36f0 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Thu, 9 Oct 2025 14:35:55 +0700 Subject: [PATCH 19/51] fix CI --- .github/workflows/xcm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xcm.yml b/.github/workflows/xcm.yml index ff879bb1e3..ea33bc35ae 100644 --- a/.github/workflows/xcm.yml +++ b/.github/workflows/xcm.yml @@ -66,7 +66,7 @@ jobs: - name: Remove all containers if: always() # run this step always run: | - docker ps -aq | xargs docker rm -f + docker ps -aq | xargs -r docker rm -f - name: Remove builder cache if: always() From 67d08967ae3ceaad97f69fced1190079f1efade7 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Thu, 9 Oct 2025 14:50:46 +0700 Subject: [PATCH 20/51] fix CI --- .github/workflows/xcm.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/xcm.yml b/.github/workflows/xcm.yml index ea33bc35ae..cd3508c089 100644 --- a/.github/workflows/xcm.yml +++ b/.github/workflows/xcm.yml @@ -63,10 +63,10 @@ jobs: - name: Clean Workspace uses: AutoModality/action-clean@v1.1.0 - - name: Remove all containers - if: always() # run this step always - run: | - docker ps -aq | xargs -r docker rm -f + # - name: Remove all containers + # if: always() # run this step always + # run: | + # docker ps -aq | xargs -r docker rm -f - name: Remove builder cache if: always() From 54c8f1e6999356dd7377ee46186abeccf73b8c78 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Thu, 9 Oct 2025 15:13:43 +0700 Subject: [PATCH 21/51] Fix CI --- .github/workflows/xcm.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/xcm.yml b/.github/workflows/xcm.yml index cd3508c089..65dd822e3c 100644 --- a/.github/workflows/xcm.yml +++ b/.github/workflows/xcm.yml @@ -68,10 +68,10 @@ jobs: # run: | # docker ps -aq | xargs -r docker rm -f - - name: Remove builder cache - if: always() - run: | - docker system prune -a -f + # - name: Remove builder cache + # if: always() + # run: | + # docker system prune -a -f # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4.1.7 From 9527582f52d4f0a4aeb99e1acf1083fa9cf5e7a2 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Thu, 9 Oct 2025 15:39:09 +0700 Subject: [PATCH 22/51] fix CI --- .github/workflows/offchain-worker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/offchain-worker.yml b/.github/workflows/offchain-worker.yml index aef48c9802..91b5190f3a 100644 --- a/.github/workflows/offchain-worker.yml +++ b/.github/workflows/offchain-worker.yml @@ -32,7 +32,7 @@ jobs: id: create_matrix with: matrix: | - network {quartz}, relay_name {polkadot}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}} + network {quartz}, relay_name {kusama}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}} dev_build_int_tests: needs: prepare-execution-marix @@ -142,7 +142,7 @@ jobs: inputs: | .baedeker/ocw-${{ matrix.network }}.jsonnet snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/polkadot':{dockerImage:'${{ steps.polkadot.outputs.image }}:${{ steps.polkadot.outputs.tag }}'}}) - snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.target.outputs.name }}'}}, for_chain = false) + snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.target.outputs.name }}'}}) - name: Upload network config uses: actions/upload-artifact@v4 From 4210bfe8084269b8c629a53f910354eef26fa613 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Thu, 9 Oct 2025 17:13:43 +0700 Subject: [PATCH 23/51] fix CI --- .github/workflows/main-process-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main-process-update.yml b/.github/workflows/main-process-update.yml index e1c2cb946c..16244a29fa 100644 --- a/.github/workflows/main-process-update.yml +++ b/.github/workflows/main-process-update.yml @@ -91,7 +91,7 @@ jobs: tag: ${{ matrix.network }}-${{ env.MAINNET_BRANCH }}-${{ env.MAINNET_HASH}} context: .docker # TODO: return to Dockerfile-unique-release after release v10140080 - dockerfile: Dockerfile-unique-release-old + dockerfile: Dockerfile-unique-release args: | --build-arg FEATURES=${{ matrix.network }}-runtime --build-arg CODE_VERSION=${{ env.MAINNET_BRANCH}} From 0adb803c01c8fe50beab5762a73a8342fc40be16 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Thu, 9 Oct 2025 17:39:32 +0700 Subject: [PATCH 24/51] fix CI --- .docker/Dockerfile-unique-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docker/Dockerfile-unique-release b/.docker/Dockerfile-unique-release index cc95ea6db6..80489b9972 100644 --- a/.docker/Dockerfile-unique-release +++ b/.docker/Dockerfile-unique-release @@ -8,7 +8,7 @@ ARG CODE_HASH ARG FEATURES RUN git clone -b "${CODE_VERSION}" https://github.com/uniquenetwork/unique-chain.git && \ - cd unique-chain && git switch "${CODE_HASH}" --detach && \ + cd unique-chain && git switch "${CODE_HASH}" --detach && cargo update && \ CARGO_INCREMENTAL=0 cargo build --release --features="${FEATURES}" --locked && \ mv ./target/release/unique-collator /workdir/unique-chain/ && \ cd target/release/wbuild && find . -name "*.wasm" -exec sh -c 'mkdir -p "../../../wasm/$(dirname {})"; cp {} "../../../wasm/{}"' \; From d752edd2f57aad910032c70a3f853f020abe659d Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Thu, 9 Oct 2025 18:16:50 +0700 Subject: [PATCH 25/51] fix CI --- .docker/Dockerfile-unique-release-old | 2 +- .github/workflows/main-process-update.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.docker/Dockerfile-unique-release-old b/.docker/Dockerfile-unique-release-old index d2e2103be9..af47e2e1c7 100644 --- a/.docker/Dockerfile-unique-release-old +++ b/.docker/Dockerfile-unique-release-old @@ -33,7 +33,7 @@ ARG CODE_HASH ARG FEATURES RUN git clone -b "${CODE_VERSION}" https://github.com/uniquenetwork/unique-chain.git && \ - cd unique-chain && git switch "${CODE_HASH}" --detach && \ + cd unique-chain && git switch "${CODE_HASH}" --detach && cargo update && \ CARGO_INCREMENTAL=0 cargo build --release --features="${FEATURES}" --locked && \ mv ./target/release/unique-collator /workdir/unique-chain/ && \ cd target/release/wbuild && find . -name "*.wasm" -exec sh -c 'mkdir -p "/workdir/unique-chain/wasm/$(dirname {})"; cp {} "/workdir/unique-chain/wasm/{}"' \; diff --git a/.github/workflows/main-process-update.yml b/.github/workflows/main-process-update.yml index 16244a29fa..e1c2cb946c 100644 --- a/.github/workflows/main-process-update.yml +++ b/.github/workflows/main-process-update.yml @@ -91,7 +91,7 @@ jobs: tag: ${{ matrix.network }}-${{ env.MAINNET_BRANCH }}-${{ env.MAINNET_HASH}} context: .docker # TODO: return to Dockerfile-unique-release after release v10140080 - dockerfile: Dockerfile-unique-release + dockerfile: Dockerfile-unique-release-old args: | --build-arg FEATURES=${{ matrix.network }}-runtime --build-arg CODE_VERSION=${{ env.MAINNET_BRANCH}} From bf33fd0bb67a1536afc8eb58e2a3269b55a62187 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Thu, 9 Oct 2025 13:49:03 +0200 Subject: [PATCH 26/51] fix: bdk xcm jsonnet files --- .baedeker/xcm-opal.jsonnet | 5 +++-- .baedeker/xcm-quartz.jsonnet | 8 +++++++- .baedeker/xcm-unique.jsonnet | 8 +++++++- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.baedeker/xcm-opal.jsonnet b/.baedeker/xcm-opal.jsonnet index 7ab0819cdb..89d5988a36 100644 --- a/.baedeker/xcm-opal.jsonnet +++ b/.baedeker/xcm-opal.jsonnet @@ -1,5 +1,6 @@ local m = import 'baedeker-library/mixin/spec.libsonnet', +ops = import 'baedeker-library/ops/common-args.libsonnet', ; function(relay_spec) @@ -107,9 +108,9 @@ local assethub = { }, }; -relay + { +ops.mixinExtraNodeArgsAllChains(relay + { parachains: { [para.name]: para, for para in [opal, assethub] }, -} +}, ['-lxcm=trace']) diff --git a/.baedeker/xcm-quartz.jsonnet b/.baedeker/xcm-quartz.jsonnet index 4a4a5781d5..8a5275fff4 100644 --- a/.baedeker/xcm-quartz.jsonnet +++ b/.baedeker/xcm-quartz.jsonnet @@ -83,6 +83,9 @@ local unique = { '--increase-future-pool', '--pool-type=fork-aware', ], + extraArgsInternalParent: [ + '--network-backend=libp2p', + ], }, for name in ['alice', 'bob'] }, @@ -102,7 +105,10 @@ local assethub = { bin: $.bin, wantedKeys: 'para', parentConnection: 'internal-samedir', - expectedDataPath: '/parity', + expectedDataPath: '/parity', + extraArgsInternalParent: [ + '--network-backend=libp2p', + ], }, for name in ['alice', 'bob'] }, diff --git a/.baedeker/xcm-unique.jsonnet b/.baedeker/xcm-unique.jsonnet index 33265157f3..61d0d0cd66 100644 --- a/.baedeker/xcm-unique.jsonnet +++ b/.baedeker/xcm-unique.jsonnet @@ -75,6 +75,9 @@ local unique = { '--increase-future-pool', '--pool-type=fork-aware', ], + extraArgsInternalParent: [ + '--network-backend=libp2p', + ], }, for name in ['alice', 'bob'] }, @@ -94,7 +97,10 @@ local assethub = { bin: $.bin, wantedKeys: 'para-ed', parentConnection: 'internal-samedir', - expectedDataPath: '/parity', + expectedDataPath: '/parity', + extraArgsInternalParent: [ + '--network-backend=libp2p', + ], }, for name in ['alice', 'bob'] }, From 9a756de6f297ad0a5a33d86192e067151dce7bf2 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Fri, 10 Oct 2025 11:28:33 +0700 Subject: [PATCH 27/51] fix CI --- .docker/Dockerfile-unique-release | 4 ++-- .docker/Dockerfile-unique-release-old | 2 +- .github/workflows/main-process-update.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.docker/Dockerfile-unique-release b/.docker/Dockerfile-unique-release index 80489b9972..950f193f78 100644 --- a/.docker/Dockerfile-unique-release +++ b/.docker/Dockerfile-unique-release @@ -8,8 +8,8 @@ ARG CODE_HASH ARG FEATURES RUN git clone -b "${CODE_VERSION}" https://github.com/uniquenetwork/unique-chain.git && \ - cd unique-chain && git switch "${CODE_HASH}" --detach && cargo update && \ - CARGO_INCREMENTAL=0 cargo build --release --features="${FEATURES}" --locked && \ + cd unique-chain && git switch "${CODE_HASH}" --detach && \ + CARGO_INCREMENTAL=0 cargo build --release --features="${FEATURES}" --offline && \ mv ./target/release/unique-collator /workdir/unique-chain/ && \ cd target/release/wbuild && find . -name "*.wasm" -exec sh -c 'mkdir -p "../../../wasm/$(dirname {})"; cp {} "../../../wasm/{}"' \; diff --git a/.docker/Dockerfile-unique-release-old b/.docker/Dockerfile-unique-release-old index af47e2e1c7..d2e2103be9 100644 --- a/.docker/Dockerfile-unique-release-old +++ b/.docker/Dockerfile-unique-release-old @@ -33,7 +33,7 @@ ARG CODE_HASH ARG FEATURES RUN git clone -b "${CODE_VERSION}" https://github.com/uniquenetwork/unique-chain.git && \ - cd unique-chain && git switch "${CODE_HASH}" --detach && cargo update && \ + cd unique-chain && git switch "${CODE_HASH}" --detach && \ CARGO_INCREMENTAL=0 cargo build --release --features="${FEATURES}" --locked && \ mv ./target/release/unique-collator /workdir/unique-chain/ && \ cd target/release/wbuild && find . -name "*.wasm" -exec sh -c 'mkdir -p "/workdir/unique-chain/wasm/$(dirname {})"; cp {} "/workdir/unique-chain/wasm/{}"' \; diff --git a/.github/workflows/main-process-update.yml b/.github/workflows/main-process-update.yml index e1c2cb946c..16244a29fa 100644 --- a/.github/workflows/main-process-update.yml +++ b/.github/workflows/main-process-update.yml @@ -91,7 +91,7 @@ jobs: tag: ${{ matrix.network }}-${{ env.MAINNET_BRANCH }}-${{ env.MAINNET_HASH}} context: .docker # TODO: return to Dockerfile-unique-release after release v10140080 - dockerfile: Dockerfile-unique-release-old + dockerfile: Dockerfile-unique-release args: | --build-arg FEATURES=${{ matrix.network }}-runtime --build-arg CODE_VERSION=${{ env.MAINNET_BRANCH}} From a9f100d107b343d0664c4fc9a3874989b5de1d42 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Fri, 10 Oct 2025 14:54:44 +0700 Subject: [PATCH 28/51] fix CI --- .docker/Dockerfile-unique-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docker/Dockerfile-unique-release b/.docker/Dockerfile-unique-release index 950f193f78..9852d7e204 100644 --- a/.docker/Dockerfile-unique-release +++ b/.docker/Dockerfile-unique-release @@ -9,7 +9,7 @@ ARG FEATURES RUN git clone -b "${CODE_VERSION}" https://github.com/uniquenetwork/unique-chain.git && \ cd unique-chain && git switch "${CODE_HASH}" --detach && \ - CARGO_INCREMENTAL=0 cargo build --release --features="${FEATURES}" --offline && \ + CARGO_INCREMENTAL=0 cargo build --release --features="${FEATURES}" --frozen && \ mv ./target/release/unique-collator /workdir/unique-chain/ && \ cd target/release/wbuild && find . -name "*.wasm" -exec sh -c 'mkdir -p "../../../wasm/$(dirname {})"; cp {} "../../../wasm/{}"' \; From 933bfff5dd554364d4ac397e08b1eb223dc0ea66 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Fri, 10 Oct 2025 15:27:45 +0700 Subject: [PATCH 29/51] fix CI --- .docker/Dockerfile-unique-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docker/Dockerfile-unique-release b/.docker/Dockerfile-unique-release index 9852d7e204..9826a313d8 100644 --- a/.docker/Dockerfile-unique-release +++ b/.docker/Dockerfile-unique-release @@ -8,7 +8,7 @@ ARG CODE_HASH ARG FEATURES RUN git clone -b "${CODE_VERSION}" https://github.com/uniquenetwork/unique-chain.git && \ - cd unique-chain && git switch "${CODE_HASH}" --detach && \ + cd unique-chain && git switch "${CODE_HASH}" --detach && cargo fetch && \ CARGO_INCREMENTAL=0 cargo build --release --features="${FEATURES}" --frozen && \ mv ./target/release/unique-collator /workdir/unique-chain/ && \ cd target/release/wbuild && find . -name "*.wasm" -exec sh -c 'mkdir -p "../../../wasm/$(dirname {})"; cp {} "../../../wasm/{}"' \; From 7027fb7e54def305e2b193d63bdae29673462742 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Sun, 12 Oct 2025 10:20:37 +0700 Subject: [PATCH 30/51] fix CI --- .docker/Dockerfile-unique-release | 4 ++-- .github/workflows/main-process-update.yml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.docker/Dockerfile-unique-release b/.docker/Dockerfile-unique-release index 9826a313d8..cc95ea6db6 100644 --- a/.docker/Dockerfile-unique-release +++ b/.docker/Dockerfile-unique-release @@ -8,8 +8,8 @@ ARG CODE_HASH ARG FEATURES RUN git clone -b "${CODE_VERSION}" https://github.com/uniquenetwork/unique-chain.git && \ - cd unique-chain && git switch "${CODE_HASH}" --detach && cargo fetch && \ - CARGO_INCREMENTAL=0 cargo build --release --features="${FEATURES}" --frozen && \ + cd unique-chain && git switch "${CODE_HASH}" --detach && \ + CARGO_INCREMENTAL=0 cargo build --release --features="${FEATURES}" --locked && \ mv ./target/release/unique-collator /workdir/unique-chain/ && \ cd target/release/wbuild && find . -name "*.wasm" -exec sh -c 'mkdir -p "../../../wasm/$(dirname {})"; cp {} "../../../wasm/{}"' \; diff --git a/.github/workflows/main-process-update.yml b/.github/workflows/main-process-update.yml index 16244a29fa..d4af491f07 100644 --- a/.github/workflows/main-process-update.yml +++ b/.github/workflows/main-process-update.yml @@ -90,7 +90,6 @@ jobs: container: uniquenetwork/ci-main-process tag: ${{ matrix.network }}-${{ env.MAINNET_BRANCH }}-${{ env.MAINNET_HASH}} context: .docker - # TODO: return to Dockerfile-unique-release after release v10140080 dockerfile: Dockerfile-unique-release args: | --build-arg FEATURES=${{ matrix.network }}-runtime From c987b82aa99b0834f5b0c5cde7d5cb456f615f07 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Sun, 12 Oct 2025 10:31:19 +0700 Subject: [PATCH 31/51] fix CI --- .env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env b/.env index 9a4ac96700..61b53d4f0e 100644 --- a/.env +++ b/.env @@ -5,7 +5,7 @@ RELAY_CHAIN_TYPE=westend #NODE_BRANCH=unique-polkadot-2503 #NODE_HASH=a1ed12028a59a2edea110157eee6ba6ae3f0ab40 MAINNET_BRANCH=release-v10180082 -MAINNET_HASH=e3307f0af4f090d50ea0192424c58fa8577af364 +MAINNET_HASH=e389772b8e2c72098b03e52d3306775b72402258 DENO_VERSION=v2.5.1 BAEDEKER_VERSION=v0.1.4 From 1ea7480aa3a66f47b6bf9d0a7c86a0c38e555287 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Mon, 13 Oct 2025 08:58:27 +0000 Subject: [PATCH 32/51] update spec version. increase confirmation time for eth tests. --- js-packages/playgrounds/unique.ts | 8 +++---- js-packages/test-utils/eth/index.ts | 9 +++---- js-packages/test-utils/eth/util.ts | 2 +- .../tests/eth/contractSponsoring.test.ts | 24 ++++++++++++------- runtime/common/config/parachain.rs | 2 +- runtime/opal/src/lib.rs | 2 +- runtime/quartz/src/lib.rs | 4 ++-- runtime/unique/src/lib.rs | 2 +- 8 files changed, 30 insertions(+), 23 deletions(-) diff --git a/js-packages/playgrounds/unique.ts b/js-packages/playgrounds/unique.ts index bb7aa2a90a..fb14f87bbc 100644 --- a/js-packages/playgrounds/unique.ts +++ b/js-packages/playgrounds/unique.ts @@ -2476,8 +2476,8 @@ export class SubstrateBalanceGroup extends HelperGrou * @example transferToSubstrate(aliceKeyring, "5GrwvaEF5zXb26Fz...", 100_000_000_000n); * @returns ```true``` if extrinsic success, otherwise ```false``` */ - async transferToSubstrate(signer: TSigner, address: TSubstrateAccount, amount: bigint | string): Promise { - const result = await this.helper.executeExtrinsic(signer, 'api.tx.balances.transferKeepAlive', [address, amount], true/*, `Unable to transfer balance from ${this.helper.getSignerAddress(signer)} to ${address}`*/); + async transferToSubstrate(signer: TSigner, address: TSubstrateAccount, amount: bigint | string, options: Partial | null = null): Promise { + const result = await this.helper.executeExtrinsic(signer, 'api.tx.balances.transferKeepAlive', [address, amount], true, options/*, `Unable to transfer balance from ${this.helper.getSignerAddress(signer)} to ${address}`*/); let transfer = {from: null, to: null, amount: 0n} as any; result.result.events.forEach(({event: {data, method, section}}: any) => { @@ -2658,8 +2658,8 @@ class BalanceGroup extends HelperGroup { * @example transferToSubstrate(aliceKeyring, "5GrwvaEF5zXb26Fz...", 100_000_000_000n); * @returns ```true``` if extrinsic success, otherwise ```false``` */ - transferToSubstrate(signer: TSigner, address: TSubstrateAccount, amount: bigint | string): Promise { - return this.subBalanceGroup.transferToSubstrate(signer, address, amount); + transferToSubstrate(signer: TSigner, address: TSubstrateAccount, amount: bigint | string, options: Partial | null = null): Promise { + return this.subBalanceGroup.transferToSubstrate(signer, address, amount, options); } async forceTransferToSubstrate(signer: TSigner, from: TSubstrateAccount, to: TSubstrateAccount, amount: bigint | string): Promise { diff --git a/js-packages/test-utils/eth/index.ts b/js-packages/test-utils/eth/index.ts index 3ae030e536..5cd8d01e30 100644 --- a/js-packages/test-utils/eth/index.ts +++ b/js-packages/test-utils/eth/index.ts @@ -33,6 +33,7 @@ import type {ICrossAccountId, TCollectionMode} from '@unique-nft/playgrounds/typ import {Buffer} from "node:buffer"; import {Contract} from 'ethers'; import {waitParams} from './util.ts'; +import { SignerOptions } from "@polkadot/api/types"; class EthGroupBase { helper: EthUniqueHelper; @@ -262,14 +263,14 @@ class EthGroup extends EthGroupBase { return new Contract(contract.target, contract.interface, from); } - async createAccountWithBalance(donor: IKeyringPair, amount = 600n): Promise { + async createAccountWithBalance(donor: IKeyringPair, amount = 600n, options: Partial | null = null): Promise { const account = this.createAccount(); - await this.transferBalanceFromSubstrate(donor, account.address, amount); + await this.transferBalanceFromSubstrate(donor, account.address, amount, true, options); return account; } - async transferBalanceFromSubstrate(donor: IKeyringPair, recepient: string, amount = 100n, inTokens = true) { - return await this.helper.balance.transferToSubstrate(donor, evmToAddress(recepient), amount * (inTokens ? this.helper.balance.getOneTokenNominal() : 1n)); + async transferBalanceFromSubstrate(donor: IKeyringPair, recepient: string, amount = 100n, inTokens = true, options: Partial | null = null) { + return await this.helper.balance.transferToSubstrate(donor, evmToAddress(recepient), amount * (inTokens ? this.helper.balance.getOneTokenNominal() : 1n), options); } async getCollectionCreationFee(signer: HDNodeWallet) { diff --git a/js-packages/test-utils/eth/util.ts b/js-packages/test-utils/eth/util.ts index 91bc44c842..1151d310ac 100644 --- a/js-packages/test-utils/eth/util.ts +++ b/js-packages/test-utils/eth/util.ts @@ -22,7 +22,7 @@ chai.use(chaiLike); export const expect = chai.expect; // FIXME: 4? 12? 24? How to select confirmations count? -const confirmations = 4; +const confirmations = 8; // 2 min timeout, ~30 blocks const timeout = 2 * 60 * 1000; export const waitParams = [confirmations, timeout]; diff --git a/js-packages/tests/eth/contractSponsoring.test.ts b/js-packages/tests/eth/contractSponsoring.test.ts index bfef61a4f1..d9c14e86aa 100644 --- a/js-packages/tests/eth/contractSponsoring.test.ts +++ b/js-packages/tests/eth/contractSponsoring.test.ts @@ -321,21 +321,27 @@ describe('Sponsoring EVM contracts', () => { {balance: 10n, label: '10'}, ].map(testCase => { itEth(`Allow-listed address that has ${testCase.label} UNQ can call a contract. Sponsor balance should decrease`, async ({helper}) => { - const owner = await helper.eth.createAccountWithBalance(donor); - const sponsor = await helper.eth.createAccountWithBalance(donor); const caller = helper.eth.createAccount(); - await helper.eth.transferBalanceFromSubstrate(donor, caller.address, testCase.balance); - const helpers = await helper.ethNativeContract.contractHelpers(owner); + let nonce = await helper.chain.getNonce(donor.address); + const [owner, sponsor] = await Promise.all([ + helper.eth.createAccountWithBalance(donor, 100n, { nonce }), + helper.eth.createAccountWithBalance(donor, 100n, { nonce: nonce + 1 }), + helper.eth.transferBalanceFromSubstrate(donor, caller.address, testCase.balance, true, { nonce: nonce + 2 }), + ]); + const helpers = helper.ethNativeContract.contractHelpers(owner); const flipper = await helper.eth.deployFlipper(owner); const flipperAddress = await flipper.getAddress(); - await (await helpers.toggleAllowlist.send(flipperAddress, true)).wait(...waitParams); - await (await helpers.toggleAllowed.send(flipperAddress, caller, true)).wait(...waitParams); + nonce = await helper.web3!.provider.getTransactionCount(owner.address); + await Promise.all([ + (await helpers.toggleAllowlist.send(flipperAddress, true, { nonce })).wait(...waitParams), + (await helpers.toggleAllowed.send(flipperAddress, caller, true, { nonce: nonce + 1 })).wait(...waitParams), - await (await helpers.setSponsoringMode.send(flipperAddress, SponsoringMode.Allowlisted)).wait(...waitParams); - await (await helpers.setSponsoringRateLimit.send(flipperAddress, 0)).wait(...waitParams); + (await helpers.setSponsoringMode.send(flipperAddress, SponsoringMode.Allowlisted, { nonce: nonce + 2 })).wait(...waitParams), + (await helpers.setSponsoringRateLimit.send(flipperAddress, 0, { nonce: nonce + 3 })).wait(...waitParams), - await (await helpers.setSponsor.send(flipperAddress, sponsor)).wait(...waitParams); + (await helpers.setSponsor.send(flipperAddress, sponsor, { nonce: nonce + 4 })).wait(...waitParams), + ]); await (await (helpers.connect(sponsor)).confirmSponsorship.send(flipperAddress)).wait(...waitParams); const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor)); diff --git a/runtime/common/config/parachain.rs b/runtime/common/config/parachain.rs index 0f0f8168d8..5d2132bbb7 100644 --- a/runtime/common/config/parachain.rs +++ b/runtime/common/config/parachain.rs @@ -19,8 +19,8 @@ use cumulus_pallet_parachain_system::{ }; use cumulus_primitives_core::AggregateMessageOrigin; use frame_support::{parameter_types, traits::EnqueueWithOrigin, weights::Weight}; -use up_common::constants::*; use sp_runtime::traits::ConstU32; +use up_common::constants::*; use crate::{MessageQueue, Runtime, RuntimeEvent, XcmpQueue}; diff --git a/runtime/opal/src/lib.rs b/runtime/opal/src/lib.rs index f4aa3197d4..ea36386637 100644 --- a/runtime/opal/src/lib.rs +++ b/runtime/opal/src/lib.rs @@ -51,7 +51,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("opal"), impl_name: create_runtime_str!("opal"), authoring_version: 1, - spec_version: 25030084, + spec_version: 25090090, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, diff --git a/runtime/quartz/src/lib.rs b/runtime/quartz/src/lib.rs index 6b54aea0a2..2a8ec22877 100644 --- a/runtime/quartz/src/lib.rs +++ b/runtime/quartz/src/lib.rs @@ -53,7 +53,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_name: create_runtime_str!("quartz"), authoring_version: 1, - spec_version: 25030084, + spec_version: 25090090, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, @@ -66,7 +66,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_name: create_runtime_str!("sapphire"), authoring_version: 1, - spec_version: 25030084, + spec_version: 25090090, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, diff --git a/runtime/unique/src/lib.rs b/runtime/unique/src/lib.rs index f27c45e4bf..96a8f297f2 100644 --- a/runtime/unique/src/lib.rs +++ b/runtime/unique/src/lib.rs @@ -51,7 +51,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("unique"), impl_name: create_runtime_str!("unique"), authoring_version: 1, - spec_version: 25030084, + spec_version: 25090090, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, From 75a63e5b7ed716dfa54b7fa5979138d1801fbc00 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Tue, 14 Oct 2025 15:29:59 +0700 Subject: [PATCH 33/51] change protocol for replicas_from --- .env | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 61b53d4f0e..e59eda506e 100644 --- a/.env +++ b/.env @@ -26,7 +26,7 @@ ASTAR_BUILD_BRANCH=v5.45.0 #HYDRADX_BUILD_BRANCH=latest@sha256:6a7b285f66352ed13086071fa4b305b9b919b5851d203450538419b5e3bd9b6e HYDRADX_BUILD_BRANCH=38@sha256:ae0cd26cd7eb6e9c0fb9e8e2b4ec8ef4436762a65bac36262972f3fe31b61978 -UNIQUE_REPLICA_FROM=wss://ws.unique.network:443 +UNIQUE_REPLICA_FROM=https://ws.unique.network:443 # Quartz KUSAMA_MAINNET_BRANCH=stable2506-2 @@ -41,10 +41,10 @@ MOONRIVER_BUILD_BRANCH=runtime-3300 # No updates in docker hub SHIDEN_BUILD_BRANCH=v5.45.0 -QUARTZ_REPLICA_FROM=wss://ws-quartz.unique.network:443 +QUARTZ_REPLICA_FROM=https://ws-quartz.unique.network:443 # Opal UNIQUEWEST_MAINNET_BRANCH=stable2506-2 WESTEND_ASSETHUB_BUILD_BRANCH=stable2506-2 -OPAL_REPLICA_FROM=wss://ws-opal.unique.network:443 +OPAL_REPLICA_FROM=https://ws-opal.unique.network:443 From 1c0246ac340b5c2dadbc0e214b32252806416617 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Tue, 14 Oct 2025 08:45:03 +0000 Subject: [PATCH 34/51] fix: properties limit tests --- js-packages/test-utils/eth/index.ts | 4 ++-- js-packages/tests/eth/tokenProperties.test.ts | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/js-packages/test-utils/eth/index.ts b/js-packages/test-utils/eth/index.ts index 5cd8d01e30..84cd123f57 100644 --- a/js-packages/test-utils/eth/index.ts +++ b/js-packages/test-utils/eth/index.ts @@ -259,8 +259,8 @@ class EthGroup extends EthGroupBase { return wallet; } - changeContractCaller(contract: Contract, from: HDNodeWallet): Contract { - return new Contract(contract.target, contract.interface, from); + changeContractCaller(contract: T, from: HDNodeWallet): Contract { + return contract.connect(from) as T; } async createAccountWithBalance(donor: IKeyringPair, amount = 600n, options: Partial | null = null): Promise { diff --git a/js-packages/tests/eth/tokenProperties.test.ts b/js-packages/tests/eth/tokenProperties.test.ts index 27da9974a5..1dfef1a0d8 100644 --- a/js-packages/tests/eth/tokenProperties.test.ts +++ b/js-packages/tests/eth/tokenProperties.test.ts @@ -32,7 +32,7 @@ describe('EVM token properties', () => { before(async function() { await usingEthPlaygrounds(async (helper, privateKey) => { donor = await privateKey({url: import.meta.url}); - [alice, bob] = await helper.arrange.createAccounts([10000n, 100n], donor); + [alice, bob] = await helper.arrange.createAccounts([40000n, 200n], donor); }); }); @@ -64,7 +64,7 @@ describe('EVM token properties', () => { const maxProps = makeMaxLimitedProperties(maxLimit); const tokenPropertyPermissions = ['a', 'b', 'c', 'd'] - .map(k => ({key: k.repeat(maxKeySize), permission: {mutable: true, tokenOwner: true}})); + .map(k => ({key: k.repeat(maxKeySize), permission: {mutable: true, tokenOwner: true, collectionAdmin: true }})); let collection: UniqueBaseCollection; @@ -88,9 +88,7 @@ describe('EVM token properties', () => { await expect(collection.upgradeTokensPropertiesLimit(alice, 'Default')).to.be.fulfilled; expect(await collection.getTokensPropertiesLimit()).to.be.equal(defaultLimit); - const caller = await helper.eth.createAccountWithBalance(donor); - - const upgradeToExtendedFee = await helper.arrange.calculateFee({Ethereum: caller.address}, async () => { + const upgradeToExtendedFee = await helper.arrange.calculateFee({Substrate: alice.address}, async () => { await expect(collection.upgradeTokensPropertiesLimit(alice, 'Extended')).to.be.fulfilled; }); expect(upgradeToExtendedFee > 2000n * helper.balance.getOneTokenNominal()).to.be.true; @@ -106,7 +104,7 @@ describe('EVM token properties', () => { await expect(collection.upgradeTokensPropertiesLimit(alice, 'Extended')).to.be.fulfilled; expect(await collection.getTokensPropertiesLimit()).to.be.equal(extendedLimit); - const upgradeToMaxFee = await helper.arrange.calculateFee({Ethereum: caller.address}, async () => { + const upgradeToMaxFee = await helper.arrange.calculateFee({Substrate: alice.address}, async () => { await expect(collection.upgradeTokensPropertiesLimit(alice, 'Max')).to.be.fulfilled; }); expect(upgradeToMaxFee > 5000n * helper.balance.getOneTokenNominal()).to.be.true; From 0c8abc163e5f2bb1cee5fb552dae4bf8da8fdb01 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Tue, 14 Oct 2025 15:51:26 +0700 Subject: [PATCH 35/51] fix CI --- .github/workflows/main-process-update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main-process-update.yml b/.github/workflows/main-process-update.yml index d4af491f07..05fe422190 100644 --- a/.github/workflows/main-process-update.yml +++ b/.github/workflows/main-process-update.yml @@ -151,9 +151,9 @@ jobs: run: | . "$HOME/.cargo/env" chainql -e "cql.chain(\"${{ matrix.fork_source }}\").latest._preloadKeys._raw" > .baedeker/vendor/dump.json - env: - CHAINQL_WORKERS: 2 - CHAINQL_KEYS_CHUNK_SIZE: 20000 + # env: + # CHAINQL_WORKERS: 2 + # CHAINQL_KEYS_CHUNK_SIZE: 20000 - name: Start network uses: UniqueNetwork/baedeker-action@v1.2 From 0d7cb02d3bdcc7fdbc4c92b1bb9f2afd2c84df4b Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Tue, 14 Oct 2025 18:23:50 +0700 Subject: [PATCH 36/51] fix CI --- .env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env b/.env index e59eda506e..b39fd10f15 100644 --- a/.env +++ b/.env @@ -26,7 +26,7 @@ ASTAR_BUILD_BRANCH=v5.45.0 #HYDRADX_BUILD_BRANCH=latest@sha256:6a7b285f66352ed13086071fa4b305b9b919b5851d203450538419b5e3bd9b6e HYDRADX_BUILD_BRANCH=38@sha256:ae0cd26cd7eb6e9c0fb9e8e2b4ec8ef4436762a65bac36262972f3fe31b61978 -UNIQUE_REPLICA_FROM=https://ws.unique.network:443 +UNIQUE_REPLICA_FROM=https://asia-ws.unique.network:443 # Quartz KUSAMA_MAINNET_BRANCH=stable2506-2 From 56e9efc088dddbc3e8adbc9734e7d8a317d32726 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 14 Oct 2025 18:58:55 +0200 Subject: [PATCH 37/51] fix: unique xcm tests --- js-packages/test-utils/index.ts | 71 +++++++++++++++++++--------- js-packages/tests/xcm/unique.test.ts | 57 +++++++++++++++++++--- js-packages/tests/xcm/xcm.types.ts | 44 ++++++++++------- 3 files changed, 127 insertions(+), 45 deletions(-) diff --git a/js-packages/test-utils/index.ts b/js-packages/test-utils/index.ts index 04124ee5a1..5d66a31844 100644 --- a/js-packages/test-utils/index.ts +++ b/js-packages/test-utils/index.ts @@ -1218,7 +1218,7 @@ class HydraFastDemocracyGroup { const councilVotingThreshold = 1; const technicalCommitteeThreshold = 3; - const fastTrackVotingPeriod = 10; + const fastTrackVotingPeriod = 15; const fastTrackDelayPeriod = 0; console.log(`[democracy] executing '${proposalDesciption}' proposal`); @@ -1249,40 +1249,65 @@ class HydraFastDemocracyGroup { await this.helper.collective.techCommittee.propose(aliceAccount, technicalCommitteeThreshold, fastTrack, fastTrack.encodedLength); + // It seems sometimes the `propose` above isn't finalized on Hydra when the promise is fulfilled. + // Waiting here for it to complete. + await this.helper.wait.newBlocks(5); + const techProposalIdx = await this.helper.collective.techCommittee.proposalCount() - 1; await this.helper.collective.techCommittee.vote(aliceAccount, fastTrackHash, techProposalIdx, true); await this.helper.collective.techCommittee.vote(bobAccount, fastTrackHash, techProposalIdx, true); await this.helper.collective.techCommittee.vote(eveAccount, fastTrackHash, techProposalIdx, true); - const closeResult = await this.helper.collective.techCommittee.close( - bobAccount, - fastTrackHash, - techProposalIdx, - { - refTime: 1_000_000_000, - proofSize: 1_000_000, - }, - fastTrack.encodedLength, - ); + const closeTechProposal = async () => { + // Do not rush to the tx to avoid skipping the Democracy.Started event. + await this.helper.wait.newBlocks(3); + + await this.helper.collective.techCommittee.close( + bobAccount, + fastTrackHash, + techProposalIdx, + { + refTime: 1_000_000_000, + proofSize: 1_000_000, + }, + fastTrack.encodedLength, + ); + }; + + const [democracyStarted, _] = await Promise.all([ + // We need to wait for the event instead of getting it out of the tx result + // since this method os unreliable on Hydration. + this.helper.wait.expectEvent(10, Event.Democracy.Started), + closeTechProposal(), + ]); + console.log('\t* Fast track proposal through technical committee.......DONE'); // <<< Fast track proposal through technical committee <<< - const democracyStarted = Event.Democracy.Started.expect(closeResult); const referendumIndex = democracyStarted.referendumIndex; - // >>> Referendum voting >>> - console.log(`\t* Referendum #${referendumIndex} voting.......`); - await this.helper.democracy.referendumVote(eveAccount, referendumIndex, { - balance: 10_000_000_000_000_000_000n, - vote: {aye: true, conviction: 1}, - }); - console.log(`\t* Referendum #${referendumIndex} voting.......DONE`); - // <<< Referendum voting <<< + const referendumVote = async () => { + // >>> Referendum voting >>> + console.log(`\t* Referendum #${referendumIndex} voting.......`); + await this.helper.democracy.referendumVote(eveAccount, referendumIndex, { + balance: 10_000_000_000_000_000_000n, + vote: {aye: true, conviction: 1}, + }); + console.log(`\t* Referendum #${referendumIndex} voting.......DONE`); + // <<< Referendum voting <<< + }; - // Wait the proposal to pass - await this.helper.wait.expectEvent(10, Event.Democracy.Passed, event => event.referendumIndex == referendumIndex); + const waitReferendumPass = async () => { + // Wait the proposal to pass + await this.helper.wait.expectEvent(fastTrackVotingPeriod, Event.Democracy.Passed, event => event.referendumIndex == referendumIndex); + }; - await this.helper.wait.newBlocks(1); + await Promise.all([ + waitReferendumPass(), + referendumVote(), + ]); + + await this.helper.wait.newBlocks(5); console.log(`[democracy] executing '${proposalDesciption}' proposal.......DONE`); } diff --git a/js-packages/tests/xcm/unique.test.ts b/js-packages/tests/xcm/unique.test.ts index 28eb502a62..220f52db8a 100644 --- a/js-packages/tests/xcm/unique.test.ts +++ b/js-packages/tests/xcm/unique.test.ts @@ -502,7 +502,8 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with Acala', () => ); }); - itSub('Should connect to Acala and send UNQ back', async () => { + // TODO we need an updated Acala to run this test (we need PolkadotXcm.Sent event instead of Xcmp's event) + itSub.skip('Should connect to Acala and send UNQ back', async () => { await testHelper.sendUnqFromTo( 'acala', 'unique', @@ -555,7 +556,9 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging UNQ with Moonbeam', () => }); }); - itSub('Should connect and send UNQ to Moonbeam', async () => { + // TODO we need an updated Moonbeam to make it work. + // It must include this PR: https://github.com/moonbeam-foundation/moonbeam/pull/3113 + itSub.skip('Should connect and send UNQ to Moonbeam', async () => { await testHelper.sendUnqFromTo( 'unique', 'moonbeam', @@ -659,7 +662,8 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with Astar', () => }); }); - itSub('Should connect and send UNQ to Astar', async () => { + // TODO Astar didn't fixed the barriers and doesn't honor SetTopic with message ID + itSub.skip('Should connect and send UNQ to Astar', async () => { await testHelper.sendUnqFromTo( 'unique', 'astar', @@ -669,7 +673,8 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with Astar', () => ); }); - itSub('Should connect to Astar and send UNQ back', async () => { + // TODO we need an updated Astar to run this test (we need PolkadotXcm.Sent event instead of Xcmp's event) + itSub.skip('Should connect to Astar and send UNQ back', async () => { await testHelper.sendUnqFromTo( 'astar', 'unique', @@ -700,6 +705,15 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with HydraDx', () = let alice: IKeyringPair; let randomAccount: IKeyringPair; + // The value is taken from the live Hydra + const UNQ_ASSET_ID_ON_HYDRA = 25; + const UNQ_NAME_ON_HYDRA = 'Unique network'; + const UNQ_SYMBOL_ON_HYDRA = 'UNQ'; + const UNQ_ED_ON_HYDRA = 1224384348939740000n; + + // This is an arbitrary value + const UNQ_PRICE_ON_HYDRA = 100000000000000; + before(async () => { await usingPlaygrounds(async (helper, privateKey) => { alice = await privateKey('//Alice'); @@ -713,6 +727,38 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with HydraDx', () = await usingHydraDxPlaygrounds(async (helper) => { await helper.balance.transferToSubstrate(alice, randomAccount.address, 10000000000000n); + + if(!(await helper.callRpc('api.query.assetRegistry.assetLocations', [UNQ_ASSET_ID_ON_HYDRA])).toJSON()) { + const xcmRateLimit = null; + const isSufficient = true; + + const registerUnqCall = helper.encodeApiCall('api.tx.assetRegistry.register', [ + UNQ_ASSET_ID_ON_HYDRA, + UNQ_NAME_ON_HYDRA, + 'Token', + UNQ_ED_ON_HYDRA, + UNQ_SYMBOL_ON_HYDRA, + UNQ_DECIMALS, + { + parents: 1, + interior: { + X1: { + Parachain: UNIQUE_CHAIN, + }, + }, + }, + xcmRateLimit, + isSufficient, + ]); + + const setUnqPriceCall = helper.encodeApiCall('api.tx.multiTransactionPayment.addCurrency', [UNQ_ASSET_ID_ON_HYDRA, UNQ_PRICE_ON_HYDRA]); + + const batchCall = helper.encodeApiCall('api.tx.utility.batchAll', [[registerUnqCall, setUnqPriceCall]]); + + await helper.fastDemocracy.executeProposal('registering UNQ on HydraDx', batchCall); + } else { + console.log('UNQ is already registered on HydraDx'); + } }); }); @@ -726,8 +772,7 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with HydraDx', () = ); }); - // TODO - itSub.skip('Should connect to HydraDx and send UNQ back', async () => { + itSub('Should connect to HydraDx and send UNQ back', async () => { await testHelper.sendUnqFromTo( 'hydraDx', 'unique', diff --git a/js-packages/tests/xcm/xcm.types.ts b/js-packages/tests/xcm/xcm.types.ts index 7bd0b80f7c..1e24c15fca 100644 --- a/js-packages/tests/xcm/xcm.types.ts +++ b/js-packages/tests/xcm/xcm.types.ts @@ -225,7 +225,10 @@ export class XcmTestHelper { if(sendFrom === 'relay') { return Event.XcmPallet.Sent.expect(sendResult).messageId; } else { - return Event.XcmpQueue.XcmpMessageSent.expect(sendResult).messageHash; + // TODO we should always use PolkadotXcm + // return Event.XcmpQueue.XcmpMessageSent.expect(sendResult).messageHash; + + return Event.PolkadotXcm.Sent.expect(sendResult).messageId; } } else if('fastDemocracy' in helper) { // Needed to bypass the call filter. @@ -233,10 +236,18 @@ export class XcmTestHelper { const [, messageSent] = await Promise.all([ helper.fastDemocracy.executeProposal(`sending ${sendFrom} -> ${sendTo} via XCM program`, batchCall), - helper.wait.expectEvent(maxWaitBlocks, Event.XcmpQueue.XcmpMessageSent), + helper.wait.expectEvent(maxWaitBlocks, Event.PolkadotXcm.Sent), ]); - return messageSent.messageHash; + // Since we didn't use sudo tx (where we wait for the finalization, so the msg is delivered when the promise if fulfilled) + // but used the democracy+scheduler, we need to wait for block finalization manualy. + // + // To keep it simple, we just wait several blocks here before returning the message hash. + // + // (This is all horrible, we need to come up with a better way of XCM integration testing) + await helper.wait.newBlocks(5); + + return messageSent.messageId; } else { throw new Error(`unknown governance in ${sendFrom}`); } @@ -362,7 +373,7 @@ export class XcmTestHelper { 'Unlimited', ); - messageHashOrId = Event.XcmpQueue.XcmpMessageSent.expect(transferResult).messageHash; + messageHashOrId = Event.PolkadotXcm.Sent.expect(transferResult).messageId; } else { const destination = from === 'relay' ? {V4: {parents: 0, interior: {X1: [{Parachain: mapToChainId(to)}]}}} @@ -389,11 +400,9 @@ export class XcmTestHelper { if(from === 'relay') { messageHashOrId = Event.XcmPallet.Sent.expect(transferResult).messageId; - } else if(to === 'relay' || from === 'polkadotAssetHub' || from === 'kusamaAssetHub' || to === 'acala' || to === 'polkadotAssetHub') { - messageHashOrId = Event.PolkadotXcm.Sent.expect(transferResult).messageId; } else { - messageHashOrId = Event.XcmpQueue.XcmpMessageSent.expect(transferResult).messageHash; - } + messageHashOrId = Event.PolkadotXcm.Sent.expect(transferResult).messageId; + }; const balanceAfter = await getRandomAccountBalance(); if(isFromUnique) { @@ -466,6 +475,11 @@ export class XcmTestHelper { console.log('[%s -> %s] Success status for message %s: %s', from, to, getMessageHash(), success); } + // FIXME For some reason, sometimes, even if the message processed event is found, + // the balance isn't immediatly updated. Maybe this is something related to async-backing or finality. + // Either way, we wait for several blocks here before reading the balance again. + await helper.wait.newBlocks(5); + const balanceAfter = await getRandomAccountBalance(); if(isToUnique) { @@ -571,10 +585,8 @@ export class XcmTestHelper { if(from === 'relay') { messageHashOrId = Event.XcmPallet.Sent.expect(transferResult).messageId; - } else if(to === 'relay' || from === 'polkadotAssetHub' || from === 'kusamaAssetHub' || to === 'acala' || to === 'polkadotAssetHub') { + } else { messageHashOrId = Event.PolkadotXcm.Sent.expect(transferResult).messageId; - } else { - messageHashOrId = Event.XcmpQueue.XcmpMessageSent.expect(transferResult).messageHash; } const balanceAfter = await getRandomAccountBalance(); @@ -774,8 +786,8 @@ export class XcmTestHelper { }; await Promise.all([ - sendMaliciousProgram(), this.#awaitMaliciousProgramRejection(() => messageHash), + sendMaliciousProgram(), ]); await usingPlaygrounds(async (helper) => { @@ -807,7 +819,6 @@ export class XcmTestHelper { }; await Promise.all([ - sendGoodProgram(), this.#awaitTokens({ from: otherChain, to: uniqueChain, @@ -816,6 +827,7 @@ export class XcmTestHelper { getAssetBalanceOnUnique: async (helper) => await helper.balance.getSubstrate(randomAccount!.address), getMessageHash: () => messageHash, }), + sendGoodProgram(), ]); await usingPlaygrounds(async (helper) => { @@ -855,8 +867,8 @@ export class XcmTestHelper { }; await Promise.all([ - sendMaliciousXcmProgramFullId(), this.#awaitMaliciousProgramRejection(() => messageHash), + sendMaliciousXcmProgramFullId(), ]); messageHash = null; @@ -882,8 +894,8 @@ export class XcmTestHelper { }; await Promise.all([ - sendMaliciousXcmProgramHereId(), this.#awaitMaliciousProgramRejection(() => messageHash), + sendMaliciousXcmProgramHereId(), ]); await usingPlaygrounds(async (helper) => { @@ -917,8 +929,8 @@ export class XcmTestHelper { }; await Promise.all([ - sendMaliciousProgram(), this.#awaitMaliciousProgramRejection(() => messageHash), + sendMaliciousProgram(), ]); } } From da394d7d9b90a54d1e5f50ed98b16f6101a219a6 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 14 Oct 2025 20:29:40 +0200 Subject: [PATCH 38/51] fix: quartz xcm tests --- js-packages/tests/xcm/quartz.test.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/js-packages/tests/xcm/quartz.test.ts b/js-packages/tests/xcm/quartz.test.ts index 20f5009c88..85be5f389e 100644 --- a/js-packages/tests/xcm/quartz.test.ts +++ b/js-packages/tests/xcm/quartz.test.ts @@ -501,7 +501,8 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with Karura', () => ); }); - itSub('Should connect to Karura and send QTZ back', async () => { + // TODO we need an updated Karura to run this test (we need PolkadotXcm.Sent event instead of Xcmp's event) + itSub.skip('Should connect to Karura and send QTZ back', async () => { await testHelper.sendUnqFromTo( 'karura', 'quartz', @@ -554,7 +555,9 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging QTZ with Moonriver', () => }); }); - itSub('Should connect and send QTZ to Moonriver', async () => { + // TODO we need an updated Moonbeam to make it work. + // It must include this PR: https://github.com/moonbeam-foundation/moonbeam/pull/3113 + itSub.skip('Should connect and send QTZ to Moonriver', async () => { await testHelper.sendUnqFromTo( 'quartz', 'moonriver', @@ -656,7 +659,8 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with Shiden', () => }); }); - itSub('Should connect and send QTZ to Shiden', async () => { + // TODO Shiden didn't fix the barriers and doesn't honor SetTopic with message ID + itSub.skip('Should connect and send QTZ to Shiden', async () => { await testHelper.sendUnqFromTo( 'quartz', 'shiden', @@ -666,7 +670,8 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with Shiden', () => ); }); - itSub('Should connect to Shiden and send QTZ back', async () => { + // TODO we need an updated Shiden to run this test (we need PolkadotXcm.Sent event instead of Xcmp's event) + itSub.skip('Should connect to Shiden and send QTZ back', async () => { await testHelper.sendUnqFromTo( 'shiden', 'quartz', From 51325ec3162774a37ee154fc4c044d28a82a6f14 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 15 Oct 2025 14:07:48 +0200 Subject: [PATCH 39/51] chore: remove uneeded quartz xcm tests --- js-packages/tests/xcm/quartz.test.ts | 564 --------------------------- 1 file changed, 564 deletions(-) diff --git a/js-packages/tests/xcm/quartz.test.ts b/js-packages/tests/xcm/quartz.test.ts index 85be5f389e..787fee6e27 100644 --- a/js-packages/tests/xcm/quartz.test.ts +++ b/js-packages/tests/xcm/quartz.test.ts @@ -21,287 +21,6 @@ import {hexToString} from '@polkadot/util'; const testHelper = new XcmTestHelper; -describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with Relay', () => { - let alice: IKeyringPair; - - before(async () => { - await usingPlaygrounds(async (helper, privateKey) => { - alice = await privateKey('//Alice'); - - // Set the default version to wrap the first message to other chains. - await helper.getSudo().xcm.setSafeXcmVersion(alice, SAFE_XCM_VERSION); - }); - - await usingRelayPlaygrounds(async (helper) => { - // Set the default version to wrap the first message to other chains. - await helper.getSudo().xcm.setSafeXcmVersion(alice, SAFE_XCM_VERSION); - }); - }); - - itSub('Should not accept reserve transfer of QTZ from Relay', async () => { - await testHelper.rejectReserveTransferUNQfrom( - alice, - 'relay', - 'quartz', - ); - }); -}); - -describe.ifRunXcm('[XCM] Integration test: Exchanging DOT with its reserve', () => { - let alice: IKeyringPair; - let randomAccount: IKeyringPair; - let dotDerivativeCollectionId: number; - - const relayLocation = { - parents: 1, - interior: 'Here', - }; - - const assetHubLocation = { - parents: 1, - interior: { - X1: [{ Parachain: 1000 }], - } - }; - - before(async () => { - await usingPlaygrounds(async (helper, privateKey) => { - alice = await privateKey('//Alice'); - randomAccount = helper.arrange.createEmptyAccount(); - - dotDerivativeCollectionId = await helper.foreignAssets.foreignCollectionId(relayLocation); - if(dotDerivativeCollectionId == null) { - const name = 'DOT'; - const tokenPrefix = 'DOT'; - const decimals = 10; - await helper.getSudo().foreignAssets.register(alice, relayLocation, name, tokenPrefix, {Fungible: decimals}); - - dotDerivativeCollectionId = await helper.foreignAssets.foreignCollectionId(relayLocation); - } else { - console.log('Relay foreign collection is already registered'); - } - - await helper.balance.transferToSubstrate(alice, randomAccount.address, SENDER_BUDGET); - - // Set the default version to wrap the first message to other chains. - await helper.getSudo().xcm.setSafeXcmVersion(alice, SAFE_XCM_VERSION); - }); - - await usingRelayPlaygrounds(async (helper) => { - await helper.balance.transferToSubstrate(alice, randomAccount.address, SENDER_BUDGET); - - // Set the default version to wrap the first message to other chains. - await helper.getSudo().xcm.setSafeXcmVersion(alice, SAFE_XCM_VERSION); - }); - - await usingKusamaAssetHubPlaygrounds(async (helper) => { - await helper.balance.transferToSubstrate(alice, randomAccount.address, SENDER_BUDGET); - }); - }); - - itSub('Should connect and exchange DOT with Relay (default reserve)', async () => { - await usingPlaygrounds(async (helper) => { - await helper.getSudo().foreignAssets.forceSetForeignAssetReserveOverride(alice, relayLocation, null); - }); - - // Relay sends DOT as its reserve chain - await testHelper.palletXcmSendDotFromTo( - 'relay', - 'quartz', - 'LocalReserve', - randomAccount, - randomAccount, - 2n * SENDTO_AMOUNT, - dotDerivativeCollectionId, - 'ExpectSuccess' - ); - - // Quartz sends some DOT back using pallet-xcm `transfer_assets_using_type_and_then` - await testHelper.palletXcmSendDotFromTo( - 'quartz', - 'relay', - 'DestinationReserve', - randomAccount, - randomAccount, - SENDBACK_AMOUNT, - dotDerivativeCollectionId, - 'ExpectSuccess' - ); - - // XTokens should send the message to the correct destination (Relay, in this case) - await usingPlaygrounds(async (helper) => { - const api = helper.getApi(); - - const xtokensTransferCall = await helper.constructApiCall('api.tx.xTokens.transfer', [ - dotDerivativeCollectionId, - SENDBACK_AMOUNT, - {V4: { parents: 1, interior: {X1: [{AccountId32: { id:randomAccount.addressRaw }}]} }}, - 'Unlimited', - ]); - - const xcmVersion = 4; - const dryRunResult = await api.call.dryRunApi.dryRunCall( - {system: {Signed: randomAccount.address}}, - xtokensTransferCall.method.toHex(), - xcmVersion, - ).then(r => r.toJSON() as any); - - const forwardedXcm = dryRunResult!.ok.forwardedXcms[0]; - const forwardedDest = forwardedXcm[0].v4; - - expect(forwardedDest.parents).to.be.equal(1); - expect(forwardedDest.interior.here).to.be.null; - }); - - // Send DOT from AH as it were the DOT reserve - // AH is not DOT reserve in this scenario, so Quartz should reject this - await testHelper.palletXcmSendDotFromTo( - 'kusamaAssetHub', - 'quartz', - 'LocalReserve', - randomAccount, - randomAccount, - SENDTO_AMOUNT, - dotDerivativeCollectionId, - 'ExpectFailure' - ); - }); - - itSub('Should connect and exchange DOT with AH (reserve override)', async () => { - await usingPlaygrounds(async (helper) => { - await helper.getSudo().foreignAssets.forceSetForeignAssetReserveOverride(alice, relayLocation, assetHubLocation); - }); - - // AH sends DOT as its reserve chain - await testHelper.palletXcmSendDotFromTo( - 'kusamaAssetHub', - 'quartz', - 'LocalReserve', - randomAccount, - randomAccount, - 2n * SENDTO_AMOUNT, - dotDerivativeCollectionId, - 'ExpectSuccess' - ); - - // Quartz sends some DOT back using pallet-xcm `transfer_assets_using_type_and_then` - await testHelper.palletXcmSendDotFromTo( - 'quartz', - 'kusamaAssetHub', - 'DestinationReserve', - randomAccount, - randomAccount, - SENDBACK_AMOUNT, - dotDerivativeCollectionId, - 'ExpectSuccess' - ); - - // XTokens should send the message to the correct destination (AH, in this case) - await usingPlaygrounds(async (helper) => { - const api = helper.getApi(); - - const xtokensTransferCall = await helper.constructApiCall('api.tx.xTokens.transfer', [ - dotDerivativeCollectionId, - SENDBACK_AMOUNT, - {V4: { parents: 1, interior: {X1: [{AccountId32: { id:randomAccount.addressRaw }}]} }}, - 'Unlimited', - ]); - - const xcmVersion = 4; - const dryRunResult = await api.call.dryRunApi.dryRunCall( - {system: {Signed: randomAccount.address}}, - xtokensTransferCall.method.toHex(), - xcmVersion, - ).then(r => r.toJSON() as any); - - const forwardedXcm = dryRunResult!.ok.forwardedXcms[0]; - const forwardedDest = forwardedXcm[0].v4; - - expect(forwardedDest.parents).to.be.equal(1); - expect(forwardedDest.interior.x1[0].parachain).to.be.equal(1000); - }); - - // Send DOT from the Relay as it were the DOT reserve - // Relay is not DOT reserve in this scenario, so Quartz should reject this - await testHelper.palletXcmSendDotFromTo( - 'relay', - 'quartz', - 'LocalReserve', - randomAccount, - randomAccount, - SENDTO_AMOUNT / 2n, - dotDerivativeCollectionId, - 'ExpectFailure' - ); - }); - - itSub('DOT transfer from Quartz suspended', async () => { - await usingPlaygrounds(async (helper) => { - await helper.getSudo().foreignAssets.forceSetForeignAssetReserveOverride(alice, relayLocation, null); - - // Enable suspension - await helper.getSudo().foreignAssets.forceSetForeignAssetSuspension(alice, relayLocation, true); - }); - - // Relay sends DOT as its reserve chain - testHelper.palletXcmSendDotFromTo( - 'relay', - 'quartz', - 'LocalReserve', - randomAccount, - randomAccount, - 2n * SENDTO_AMOUNT, - dotDerivativeCollectionId, - 'ExpectSuccess' - ); - - // Quartz sends some DOT back using pallet-xcm `transfer_assets_using_type_and_then` - await expect(testHelper.palletXcmSendDotFromTo( - 'quartz', - 'relay', - 'DestinationReserve', - randomAccount, - randomAccount, - SENDBACK_AMOUNT, - dotDerivativeCollectionId, - 'ExpectSuccess' - )).to.be.rejectedWith(/polkadotXcm\.LocalExecutionIncomplete/); - - await usingPlaygrounds(async (helper) => { - expect(helper.xTokens.transfer( - randomAccount, - dotDerivativeCollectionId, - SENDBACK_AMOUNT, - {V4: {parents: 1, interior: {X1: [{ AccountId32: { id: randomAccount.addressRaw } }]}}}, - 'Unlimited' - )).to.be.rejectedWith(/polkadotXcm\.LocalExecutionIncomplete/); - - // Disable suspension - await helper.getSudo().foreignAssets.forceSetForeignAssetSuspension(alice, relayLocation, false); - - expect(helper.xTokens.transfer( - randomAccount, - dotDerivativeCollectionId, - SENDBACK_AMOUNT, - {V4: {parents: 1, interior: {X1: [{ AccountId32: { id: randomAccount.addressRaw } }]}}}, - 'Unlimited' - )).to.be.fulfilled; - }); - - // Quartz sends some DOT back using pallet-xcm `transfer_assets_using_type_and_then` - await testHelper.palletXcmSendDotFromTo( - 'quartz', - 'relay', - 'DestinationReserve', - randomAccount, - randomAccount, - SENDBACK_AMOUNT, - dotDerivativeCollectionId, - 'ExpectSuccess' - ); - }); -}); - describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with AssetHub', () => { let alice: IKeyringPair; let randomAccount: IKeyringPair; @@ -442,286 +161,3 @@ describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with AssetHub', () ); }); }); - -describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with Karura', () => { - let alice: IKeyringPair; - let randomAccount: IKeyringPair; - - before(async () => { - await usingPlaygrounds(async (helper, privateKey) => { - alice = await privateKey('//Alice'); - randomAccount = helper.arrange.createEmptyAccount(); - - await helper.balance.transferToSubstrate(alice, randomAccount.address, SENDER_BUDGET); - - // Set the default version to wrap the first message to other chains. - await helper.getSudo().xcm.setSafeXcmVersion(alice, SAFE_XCM_VERSION); - }); - - await usingKaruraPlaygrounds(async (helper) => { - const location = { - V4: { - parents: 1, - interior: { - X1: [{Parachain: QUARTZ_CHAIN}], - }, - }, - }; - - const metadata = { - name: 'Quartz', - symbol: 'QTZ', - decimals: UNQ_DECIMALS, - minimalBalance: 1n * 10n ** BigInt(UNQ_DECIMALS), - }; - - const assets = (await (helper.callRpc('api.query.assetRegistry.assetMetadatas.entries'))).map(([_k, v]: [any, any]) => - hexToString(v.toJSON()['symbol'])) as string[]; - - if(!assets.includes('QTZ')) { - await helper.getSudo().assetRegistry.registerForeignAsset(alice, location, metadata); - } else { - console.log('QTZ token already registered on Karura assetRegistry pallet'); - } - - // Set the default version to wrap the first message to other chains. - await helper.getSudo().xcm.setSafeXcmVersion(alice, SAFE_XCM_VERSION); - - await helper.balance.transferToSubstrate(alice, randomAccount.address, SENDER_BUDGET); - }); - }); - - itSub('Should connect and send QTZ to Karura', async () => { - await testHelper.sendUnqFromTo( - 'quartz', - 'karura', - randomAccount, - randomAccount, - SENDTO_AMOUNT, - ); - }); - - // TODO we need an updated Karura to run this test (we need PolkadotXcm.Sent event instead of Xcmp's event) - itSub.skip('Should connect to Karura and send QTZ back', async () => { - await testHelper.sendUnqFromTo( - 'karura', - 'quartz', - randomAccount, - randomAccount, - SENDBACK_AMOUNT, - ); - }); - - itSub('Karura can send only up to its balance', async () => { - await testHelper.sendOnlyOwnedBalance( - alice, - 'karura', - 'quartz', - ); - }); - - itSub('Should not accept reserve transfer of QTZ from Karura', async () => { - await testHelper.rejectReserveTransferUNQfrom( - alice, - 'karura', - 'quartz', - ); - }); -}); - -describe.ifRunXcm('[XCM] Integration test: Exchanging QTZ with Moonriver', () => { - let alice: IKeyringPair; - - let randomAccountQuartz: IKeyringPair; - let randomAccountMoonriver: IKeyringPair; - - before(async () => { - await usingPlaygrounds(async (helper, privateKey) => { - alice = await privateKey('//Alice'); - randomAccountQuartz = helper.arrange.createEmptyAccount(); - - await helper.balance.transferToSubstrate(alice, randomAccountQuartz.address, SENDER_BUDGET); - - // Set the default version to wrap the first message to other chains. - await helper.getSudo().xcm.setSafeXcmVersion(alice, SAFE_XCM_VERSION); - }); - - await usingMoonriverPlaygrounds(async (helper) => { - const alithAccount = helper.account.alithAccount(); - - randomAccountMoonriver = helper.account.create(); - - await helper.balance.transferToEthereum(alithAccount, randomAccountMoonriver.address, SENDER_BUDGET); - }); - }); - - // TODO we need an updated Moonbeam to make it work. - // It must include this PR: https://github.com/moonbeam-foundation/moonbeam/pull/3113 - itSub.skip('Should connect and send QTZ to Moonriver', async () => { - await testHelper.sendUnqFromTo( - 'quartz', - 'moonriver', - randomAccountQuartz, - randomAccountMoonriver, - SENDTO_AMOUNT, - ); - }); - - // TODO Moonbeam uses OpenGov now, we need another way of producing Root Origin in tests. - // So we can't register our asset on Moonbeam. - // We just test if the message got to the destination in the previous test. - itSub.skip('Should connect to Moonriver and send QTZ back', async () => { - await testHelper.sendUnqFromTo( - 'quartz', - 'moonriver', - randomAccountMoonriver, - randomAccountQuartz, - SENDBACK_AMOUNT, - ); - }); - - itSub.skip('Moonriver can send only up to its balance', async () => { - await testHelper.sendOnlyOwnedBalance( - alice, - 'moonriver', - 'quartz', - ); - }); - - itSub.skip('Should not accept reserve transfer of QTZ from Moonriver', async () => { - await testHelper.rejectReserveTransferUNQfrom( - alice, - 'moonriver', - 'quartz', - ); - }); -}); - -describe.ifRunXcm('[XCM] Integration test: Exchanging tokens with Shiden', () => { - let alice: IKeyringPair; - let randomAccount: IKeyringPair; - - const QTZ_ASSET_ID_ON_SHIDEN = 18_446_744_073_709_551_633n; // The value is taken from the live Shiden - const QTZ_MINIMAL_BALANCE_ON_SHIDEN = 1n; // The value is taken from the live Shiden - - // Quartz -> Shiden - const shidenInitialBalance = 1n * (10n ** SHIDEN_DECIMALS); // 1 SHD, existential deposit required to actually create the account on Shiden - const unitsPerSecond = 500_451_000_000_000_000_000n; // The value is taken from the live Shiden - - before(async () => { - await usingPlaygrounds(async (helper, privateKey) => { - alice = await privateKey('//Alice'); - randomAccount = helper.arrange.createEmptyAccount(); - await helper.balance.transferToSubstrate(alice, randomAccount.address, SENDER_BUDGET); - console.log('sender: ', randomAccount.address); - - // Set the default version to wrap the first message to other chains. - await helper.getSudo().xcm.setSafeXcmVersion(alice, SAFE_XCM_VERSION); - }); - - await usingShidenPlaygrounds(async (helper) => { - if(!(await helper.callRpc('api.query.assets.asset', [QTZ_ASSET_ID_ON_SHIDEN])).toJSON()) { - console.log('1. Create foreign asset and metadata'); - await helper.getSudo().assets.forceCreate( - alice, - QTZ_ASSET_ID_ON_SHIDEN, - alice.address, - QTZ_MINIMAL_BALANCE_ON_SHIDEN, - ); - - await helper.assets.setMetadata( - alice, - QTZ_ASSET_ID_ON_SHIDEN, - 'Quartz', - 'QTZ', - UNQ_DECIMALS, - ); - - console.log('2. Register asset location on Shiden'); - const assetLocation = { - V4: { - parents: 1, - interior: { - X1: [{Parachain: QUARTZ_CHAIN}], - }, - }, - }; - - await helper.getSudo().executeExtrinsic(alice, 'api.tx.xcAssetConfig.registerAssetLocation', [assetLocation, QTZ_ASSET_ID_ON_SHIDEN]); - - console.log('3. Set QTZ payment for XCM execution on Shiden'); - await helper.getSudo().executeExtrinsic(alice, 'api.tx.xcAssetConfig.setAssetUnitsPerSecond', [assetLocation, unitsPerSecond]); - } else { - console.log('QTZ is already registered on Shiden'); - } - console.log('4. Transfer 1 SDN to recipient to create the account (needed due to existential balance)'); - await helper.balance.transferToSubstrate(alice, randomAccount.address, shidenInitialBalance); - }); - }); - - // TODO Shiden didn't fix the barriers and doesn't honor SetTopic with message ID - itSub.skip('Should connect and send QTZ to Shiden', async () => { - await testHelper.sendUnqFromTo( - 'quartz', - 'shiden', - randomAccount, - randomAccount, - SENDTO_AMOUNT, - ); - }); - - // TODO we need an updated Shiden to run this test (we need PolkadotXcm.Sent event instead of Xcmp's event) - itSub.skip('Should connect to Shiden and send QTZ back', async () => { - await testHelper.sendUnqFromTo( - 'shiden', - 'quartz', - randomAccount, - randomAccount, - SENDBACK_AMOUNT, - ); - }); - - itSub('Shiden can send only up to its balance', async () => { - await testHelper.sendOnlyOwnedBalance( - alice, - 'shiden', - 'quartz', - ); - }); - - itSub('Should not accept reserve transfer of QTZ from Shiden', async () => { - await testHelper.rejectReserveTransferUNQfrom( - alice, - 'shiden', - 'quartz', - ); - }); -}); - -// These tests are relevant only when -// the the corresponding foreign assets are not registered -describe.ifRunXcm('[XCM] Integration test: Quartz rejects non-native tokens', () => { - let alice: IKeyringPair; - - before(async () => { - await usingPlaygrounds(async (helper, privateKey) => { - alice = await privateKey('//Alice'); - - // Set the default version to wrap the first message to other chains. - await helper.getSudo().xcm.setSafeXcmVersion(alice, SAFE_XCM_VERSION); - }); - }); - - itSub('Quartz rejects KAR tokens from Karura', async () => { - await testHelper.rejectNativeTokensFrom(alice, 'karura', 'quartz'); - }); - - // TODO Moonbeam uses OpenGov now, we need another way of producing Root Origin in tests. - itSub.skip('Quartz rejects MOVR tokens from Moonriver', async () => { - await testHelper.rejectNativeTokensFrom(alice, 'moonriver', 'quartz'); - }); - - itSub('Quartz rejects SDN tokens from Shiden', async () => { - await testHelper.rejectNativeTokensFrom(alice, 'shiden', 'quartz'); - }); -}); From 8bb15adba449df4d5ce9ad6c108f996c213efda3 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 15 Oct 2025 15:19:10 +0200 Subject: [PATCH 40/51] fix: sendOnlyOwnedBalance --- js-packages/tests/xcm/xcm.types.ts | 50 +++++++++++++----------------- 1 file changed, 22 insertions(+), 28 deletions(-) diff --git a/js-packages/tests/xcm/xcm.types.ts b/js-packages/tests/xcm/xcm.types.ts index 1e24c15fca..7ab8ba1c32 100644 --- a/js-packages/tests/xcm/xcm.types.ts +++ b/js-packages/tests/xcm/xcm.types.ts @@ -753,6 +753,7 @@ export class XcmTestHelper { let randomAccount: IKeyringPair; let maliciousXcmProgram: any; + let goodXcmProgram: any; let messageHash: any = null; await usingPlaygrounds(async (helper) => { @@ -760,23 +761,29 @@ export class XcmTestHelper { await helper.getSudo().balance.setBalanceSubstrate(sudoer, otherChainSovereignAccount, otherChainBalance); randomAccount = helper.arrange.createEmptyAccount(); - }); - const sendMaliciousProgram = async () => { - // eslint-disable-next-line require-await - await usingPlaygrounds((helper) => { - const moreThanOtherChainHas = 2n * otherChainBalance; + const moreThanOtherChainHas = 2n * otherChainBalance; - maliciousXcmProgram = helper.arrange.makeXcmProgramWithdrawDeposit( - randomAccount.addressRaw, - { - parents: 0, - interior: 'Here', - }, - moreThanOtherChainHas, - ); - }); + maliciousXcmProgram = helper.arrange.makeXcmProgramWithdrawDeposit( + randomAccount.addressRaw, + { + parents: 0, + interior: 'Here', + }, + moreThanOtherChainHas, + ); + + goodXcmProgram = helper.arrange.makeXcmProgramWithdrawDeposit( + randomAccount.addressRaw, + { + parents: 0, + interior: 'Here', + }, + otherChainBalance, + ); + }); + const sendMaliciousProgram = async () => { messageHash = await this.#sendXcmProgram( sudoer, otherChain, @@ -797,24 +804,11 @@ export class XcmTestHelper { messageHash = null; const sendGoodProgram = async () => { - // eslint-disable-next-line require-await - await usingPlaygrounds((helper) => { - - maliciousXcmProgram = helper.arrange.makeXcmProgramWithdrawDeposit( - randomAccount.addressRaw, - { - parents: 0, - interior: 'Here', - }, - otherChainBalance, - ); - }); - messageHash = await this.#sendXcmProgram( sudoer, otherChain, uniqueChain, - maliciousXcmProgram, + goodXcmProgram, ); }; From 8b8f1a6bd4d6ee90cc58e4bd9afedf437c2c2dc9 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 15 Oct 2025 15:36:06 +0200 Subject: [PATCH 41/51] fix: remove tsx from typegen --- js-packages/scripts/generate_types/generate_types_package.sh | 2 -- js-packages/scripts/generate_types/types_template/package.json | 1 - 2 files changed, 3 deletions(-) diff --git a/js-packages/scripts/generate_types/generate_types_package.sh b/js-packages/scripts/generate_types/generate_types_package.sh index 34ce38a63b..9002d6990e 100755 --- a/js-packages/scripts/generate_types/generate_types_package.sh +++ b/js-packages/scripts/generate_types/generate_types_package.sh @@ -120,7 +120,6 @@ package_version=${package_version}$last_patch echo "New package version: $new_package_version" pjsapi_ver=^$(cat "$DIR/../../playgrounds/package.json" | jq -r '.dependencies."@polkadot/api"' | sed -e "s/^\^//") -tsx_ver=^$(cat "$DIR/../../package.json" | jq -r '.devDependencies."tsx"' | sed -e "s/^\^//") ts_ver=^$(cat "$DIR/../../package.json" | jq -r '.devDependencies."typescript"' | sed -e "s/^\^//") gen=$(mktemp -d) @@ -142,7 +141,6 @@ cat "$TEMPLATE/package.json" \ | jq ".peerDependencies.\"@polkadot/types\" = \"$pjsapi_ver\"" - \ | jq ".devDependencies.\"@polkadot/api\" = \"$pjsapi_ver\"" - \ | jq ".devDependencies.\"@polkadot/types\" = \"$pjsapi_ver\"" - \ -| jq ".devDependencies.\"tsx\" = \"$tsx_ver\"" - \ | jq ".devDependencies.\"typescript\" = \"$ts_ver\"" - \ > "$gen/package.json" for file in .gitignore .npmignore README.md tsconfig.json; do diff --git a/js-packages/scripts/generate_types/types_template/package.json b/js-packages/scripts/generate_types/types_template/package.json index d86598fa42..4cb8e40c3f 100644 --- a/js-packages/scripts/generate_types/types_template/package.json +++ b/js-packages/scripts/generate_types/types_template/package.json @@ -16,7 +16,6 @@ "devDependencies": { "@polkadot/api": "TODO", "@polkadot/types": "TODO", - "tsx": "TODO", "typescript": "TODO" } } From 405af9a9a9a679549af125a3a3176a54a7faeb14 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 15 Oct 2025 15:38:56 +0200 Subject: [PATCH 42/51] fix(jsonnet): add libp2p net backend to internal relay --- .baedeker/collator-selection.jsonnet | 3 +++ .baedeker/ocw-quartz.jsonnet | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.baedeker/collator-selection.jsonnet b/.baedeker/collator-selection.jsonnet index a86077aa4a..c126c11cef 100644 --- a/.baedeker/collator-selection.jsonnet +++ b/.baedeker/collator-selection.jsonnet @@ -82,6 +82,9 @@ local unique = { extraArgs: [ '--pool-type=fork-aware', ], + extraArgsInternalParent: [ + '--network-backend=libp2p', + ], }, for name in ['alpha', 'beta', 'gamma', 'delta', 'epsilon', 'zeta'] }, diff --git a/.baedeker/ocw-quartz.jsonnet b/.baedeker/ocw-quartz.jsonnet index f07fd19b2a..581f080083 100644 --- a/.baedeker/ocw-quartz.jsonnet +++ b/.baedeker/ocw-quartz.jsonnet @@ -69,6 +69,9 @@ local unique = { '--increase-future-pool', '--pool-type=fork-aware', ], + extraArgsInternalParent: [ + '--network-backend=libp2p', + ], }, for name in ['alice', 'bob'] }, From 46abf0155f6c6432e550466844c3f4903bb085ba Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 15 Oct 2025 16:51:21 +0200 Subject: [PATCH 43/51] fix: attempt to fix type gen --- js-packages/deno.lock | 233 ++++++++++-------- js-packages/package.json | 8 +- js-packages/playgrounds/package.json | 2 +- .../generate_types/generate_types_package.sh | 3 + .../types_template/package.json | 3 +- .../types_template/tsconfig.json | 2 + js-packages/test-utils/package.json | 2 +- 7 files changed, 141 insertions(+), 112 deletions(-) diff --git a/js-packages/deno.lock b/js-packages/deno.lock index 6f524be1ac..5dbfb9a1b8 100644 --- a/js-packages/deno.lock +++ b/js-packages/deno.lock @@ -6,20 +6,20 @@ "jsr:@std/testing@*": "1.0.15", "jsr:@std/testing@^1.0.15": "1.0.15", "npm:@openzeppelin/contracts@^4.9.2": "4.9.6", - "npm:@polkadot/api-base@15.5.2": "15.5.2", - "npm:@polkadot/api@15.5.2": "15.5.2_@polkadot+util@13.5.3_@polkadot+util-crypto@13.5.3__@polkadot+util@13.5.3__@polkadot+x-randomvalues@13.5.3___@polkadot+util@13.5.3___@polkadot+wasm-util@7.4.1____@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3", - "npm:@polkadot/keyring@^13.5.3": "13.5.3_@polkadot+util@13.5.3_@polkadot+util-crypto@13.5.3__@polkadot+util@13.5.3__@polkadot+x-randomvalues@13.5.3___@polkadot+util@13.5.3___@polkadot+wasm-util@7.4.1____@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3", - "npm:@polkadot/rpc-core@15.5.2": "15.5.2", - "npm:@polkadot/typegen@15.5.2": "15.5.2_@polkadot+util@13.5.3", - "npm:@polkadot/types-codec@15.5.2": "15.5.2", - "npm:@polkadot/types@15.5.2": "15.5.2_@polkadot+util@13.5.3_@polkadot+util-crypto@13.5.3__@polkadot+util@13.5.3__@polkadot+x-randomvalues@13.5.3___@polkadot+util@13.5.3___@polkadot+wasm-util@7.4.1____@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3", - "npm:@polkadot/util-crypto@^13.3.1": "13.5.3_@polkadot+util@13.5.3_@polkadot+x-randomvalues@13.5.3__@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3_@polkadot+wasm-util@7.4.1__@polkadot+util@13.5.3", - "npm:@polkadot/util@^13.3.1": "13.5.3", + "npm:@polkadot/api-base@16.4.8": "16.4.8", + "npm:@polkadot/api@16.4.8": "16.4.8_@polkadot+util@13.5.7_@polkadot+util-crypto@13.5.7__@polkadot+util@13.5.7__@polkadot+x-randomvalues@13.5.7___@polkadot+util@13.5.7___@polkadot+wasm-util@7.5.1____@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7", + "npm:@polkadot/keyring@^13.5.3": "13.5.7_@polkadot+util@13.5.7_@polkadot+util-crypto@13.5.7__@polkadot+util@13.5.7__@polkadot+x-randomvalues@13.5.7___@polkadot+util@13.5.7___@polkadot+wasm-util@7.5.1____@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7", + "npm:@polkadot/rpc-core@16.4.8": "16.4.8", + "npm:@polkadot/typegen@16.4.8": "16.4.8_@polkadot+util@13.5.7", + "npm:@polkadot/types-codec@16.4.8": "16.4.8", + "npm:@polkadot/types@16.4.8": "16.4.8_@polkadot+util@13.5.7_@polkadot+util-crypto@13.5.7__@polkadot+util@13.5.7__@polkadot+x-randomvalues@13.5.7___@polkadot+util@13.5.7___@polkadot+wasm-util@7.5.1____@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7", + "npm:@polkadot/util-crypto@^13.3.1": "13.5.7_@polkadot+util@13.5.7_@polkadot+x-randomvalues@13.5.7__@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7_@polkadot+wasm-util@7.5.1__@polkadot+util@13.5.7", + "npm:@polkadot/util@^13.3.1": "13.5.7", "npm:@types/chai-as-promised@^7.1.8": "7.1.8", "npm:@types/chai-like@^1.1.3": "1.1.3", "npm:@types/chai-subset@^1.3.6": "1.3.6_@types+chai@4.3.20", "npm:@types/chai@^4.3.20": "4.3.20", - "npm:@types/node@^20.8.10": "20.19.7", + "npm:@types/node@^20.8.10": "20.19.21", "npm:@typescript-eslint/eslint-plugin@8.27.0": "8.27.0_@typescript-eslint+parser@8.27.0__eslint@8.57.1__typescript@5.8.3_eslint@8.57.1_typescript@5.8.3", "npm:@typescript-eslint/parser@8.27.0": "8.27.0_eslint@8.57.1_typescript@5.8.3", "npm:chai-as-promised@^7.1.1": "7.1.2_chai@4.5.0", @@ -182,8 +182,8 @@ "os": ["win32"], "cpu": ["x64"] }, - "@eslint-community/eslint-utils@4.7.0_eslint@8.57.1": { - "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", + "@eslint-community/eslint-utils@4.9.0_eslint@8.57.1": { + "integrity": "sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==", "dependencies": [ "eslint", "eslint-visitor-keys@3.4.3" @@ -231,8 +231,8 @@ "@noble/hashes@1.3.2" ] }, - "@noble/curves@1.9.2": { - "integrity": "sha512-HxngEd2XUcg9xi20JkwlLCtYwfoFw4JGkuZpT+WlsPD4gB/cxkvTD8fSsoAnphGZhFdZYKeQIPCuFlWPm1uE0g==", + "@noble/curves@1.9.7": { + "integrity": "sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==", "dependencies": [ "@noble/hashes@1.8.0" ] @@ -305,20 +305,20 @@ "@polkadot-api/utils@0.1.0": { "integrity": "sha512-MXzWZeuGxKizPx2Xf/47wx9sr/uxKw39bVJUptTJdsaQn/TGq+z310mHzf1RCGvC1diHM8f593KrnDgc9oNbJA==" }, - "@polkadot/api-augment@15.5.2": { - "integrity": "sha512-EuE13KeifPj6PBfR3qMtqCq+Clbly/VX5adh53ljw7XTtHt8MKTlvhTK9pO9WHnixL6hUVH1f/Ekuzt8ROhpAg==", + "@polkadot/api-augment@16.4.8": { + "integrity": "sha512-hBjSCkQjKqfUmhD1eNFg01Q1kivD5EGnq7zCaKFof+2Y1pdCs9EI5Qa+7MLJFJA0TvHBY6ILt5mSW6Gp/b0dtw==", "dependencies": [ "@polkadot/api-base", "@polkadot/rpc-augment", "@polkadot/types", - "@polkadot/types-augment@15.5.2", + "@polkadot/types-augment@16.4.8", "@polkadot/types-codec", "@polkadot/util", "tslib@2.8.1" ] }, - "@polkadot/api-base@15.5.2": { - "integrity": "sha512-e8W2KRwn6pkI/JIOrOCT2RsVil072vxQ95X2HCqu5eMmn5vwyOHB2OaMWezXikMegnCF3XEDeIzSP/VxGWW+zA==", + "@polkadot/api-base@16.4.8": { + "integrity": "sha512-RqLG0DFvS99RAWb60r1u5AAnZu6cS1Cit/ASTnzXYysLKVpVd6RCPSZVl+e8NX42pOgGuwh0e1P6LtoIaK2qYQ==", "dependencies": [ "@polkadot/rpc-core", "@polkadot/types", @@ -327,8 +327,8 @@ "tslib@2.8.1" ] }, - "@polkadot/api-derive@15.5.2_@polkadot+util@13.5.3_@polkadot+util-crypto@13.5.3__@polkadot+util@13.5.3__@polkadot+x-randomvalues@13.5.3___@polkadot+util@13.5.3___@polkadot+wasm-util@7.4.1____@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3": { - "integrity": "sha512-eSSPE0O9LE9jsRJIBqrPfHa7vCjE3NR+3ATdwAKBwK9LUfeCEEWud7c53njW8wLMSOiczxcX3JS2J9Rb0q7HCA==", + "@polkadot/api-derive@16.4.8_@polkadot+util@13.5.7": { + "integrity": "sha512-qTCVtTNCi95sORld964juDhh8ydbJkUKJK7/4PiZcB3h5dLscBI/Prg6rFRyp0k8w7n0qCvjjBHJrDqov8LPmg==", "dependencies": [ "@polkadot/api", "@polkadot/api-augment", @@ -342,18 +342,33 @@ "tslib@2.8.1" ] }, - "@polkadot/api@15.5.2_@polkadot+util@13.5.3_@polkadot+util-crypto@13.5.3__@polkadot+util@13.5.3__@polkadot+x-randomvalues@13.5.3___@polkadot+util@13.5.3___@polkadot+wasm-util@7.4.1____@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3": { - "integrity": "sha512-TZPJlnoYr5kAfINooSmbvUcUCQnKDmTdLKNJmMh7CvCOYqQSJjFnMyfxhjM1bBTIcqnP9nFIGkldy19ErZHtcQ==", + "@polkadot/api-derive@16.4.8_@polkadot+util@13.5.7_@polkadot+util-crypto@13.5.7__@polkadot+util@13.5.7__@polkadot+x-randomvalues@13.5.7___@polkadot+util@13.5.7___@polkadot+wasm-util@7.5.1____@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7": { + "integrity": "sha512-qTCVtTNCi95sORld964juDhh8ydbJkUKJK7/4PiZcB3h5dLscBI/Prg6rFRyp0k8w7n0qCvjjBHJrDqov8LPmg==", + "dependencies": [ + "@polkadot/api", + "@polkadot/api-augment", + "@polkadot/api-base", + "@polkadot/rpc-core", + "@polkadot/types", + "@polkadot/types-codec", + "@polkadot/util", + "@polkadot/util-crypto", + "rxjs", + "tslib@2.8.1" + ] + }, + "@polkadot/api@16.4.8_@polkadot+util@13.5.7_@polkadot+util-crypto@13.5.7__@polkadot+util@13.5.7__@polkadot+x-randomvalues@13.5.7___@polkadot+util@13.5.7___@polkadot+wasm-util@7.5.1____@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7": { + "integrity": "sha512-72OMPwd47t/ZJB9zIE7d60FqqgCrRqBZqYNkPRBtPYTQNDUsStg3g6hswSp8cdzPua3oKxeamD2GF+BBr0wB3A==", "dependencies": [ "@polkadot/api-augment", "@polkadot/api-base", - "@polkadot/api-derive", + "@polkadot/api-derive@16.4.8_@polkadot+util@13.5.7_@polkadot+util-crypto@13.5.7__@polkadot+util@13.5.7__@polkadot+x-randomvalues@13.5.7___@polkadot+util@13.5.7___@polkadot+wasm-util@7.5.1____@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7", "@polkadot/keyring", "@polkadot/rpc-augment", "@polkadot/rpc-core", "@polkadot/rpc-provider", "@polkadot/types", - "@polkadot/types-augment@15.5.2", + "@polkadot/types-augment@16.4.8", "@polkadot/types-codec", "@polkadot/types-create", "@polkadot/types-known", @@ -364,24 +379,24 @@ "tslib@2.8.1" ] }, - "@polkadot/keyring@13.5.3_@polkadot+util@13.5.3_@polkadot+util-crypto@13.5.3__@polkadot+util@13.5.3__@polkadot+x-randomvalues@13.5.3___@polkadot+util@13.5.3___@polkadot+wasm-util@7.4.1____@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3": { - "integrity": "sha512-b9vxcb29jMHEc9OrWRxOstkOIWjIBsSzF9Zg5EsUeYtfwxzKinDccI5uAbkx0R6x7+IjJ6xeFJGpbX2A2U/nWg==", + "@polkadot/keyring@13.5.7_@polkadot+util@13.5.7_@polkadot+util-crypto@13.5.7__@polkadot+util@13.5.7__@polkadot+x-randomvalues@13.5.7___@polkadot+util@13.5.7___@polkadot+wasm-util@7.5.1____@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7": { + "integrity": "sha512-S75K2m2AoiTMnns7ko3t72jvyJRmrqdFFPldLdPdjRuds+E8OFewcwms/aXHGn9IwViWHFX6PSx0QAzWN/qWzQ==", "dependencies": [ "@polkadot/util", "@polkadot/util-crypto", "tslib@2.8.1" ] }, - "@polkadot/networks@13.5.3": { - "integrity": "sha512-90UbcIYZArg0DcP+6ZRWKy6Xqo0r46WfBuaKvYJIvfObgr5Pm4aPnAagEKehLJAStRdhEOpYozmKT1v3z8dHcw==", + "@polkadot/networks@13.5.7": { + "integrity": "sha512-RdQcgaPy68NRSI7UTBdxr1aw66MXVdbpGhpWQpLf3/7puUdwkem6KxqFNnC9/kJSXRlyYGeYHN9Hsf4+CTWBSQ==", "dependencies": [ "@polkadot/util", "@substrate/ss58-registry", "tslib@2.8.1" ] }, - "@polkadot/rpc-augment@15.5.2": { - "integrity": "sha512-eDCcmgrb/csOcav/RRBPFkOdPRvRXVYlksCGlQuzobYkPZfPz5tIKmgenip/5qnviR6gag6tK9ara+8kZ/7tpw==", + "@polkadot/rpc-augment@16.4.8": { + "integrity": "sha512-ri5yjmVa0zw56nVQr2P0ozxxz89+RwBUD01sgusNraRbrYOCpNyJlOUsom/1qTVIylyOknzIxpAgFoMkALuqwg==", "dependencies": [ "@polkadot/rpc-core", "@polkadot/types", @@ -390,8 +405,8 @@ "tslib@2.8.1" ] }, - "@polkadot/rpc-core@15.5.2": { - "integrity": "sha512-a4Xq3iEJvRA9gHE+QxMaIEOkgjuZUfW+uI3XLDtPgtxu2yF3hceyRl/K1m6E4AXR383VaxQ45wvDS1odPbmwaw==", + "@polkadot/rpc-core@16.4.8": { + "integrity": "sha512-LN5BgUeBjGaxybUyFB8WbBU5clwthcMu4XYT0vN4howx/3BvJgBPMvm+K52eWdzSWlPojGtVkNNCy9QTNFWx0w==", "dependencies": [ "@polkadot/rpc-augment", "@polkadot/rpc-provider", @@ -401,8 +416,8 @@ "tslib@2.8.1" ] }, - "@polkadot/rpc-provider@15.5.2_@polkadot+util@13.5.3_@polkadot+util-crypto@13.5.3__@polkadot+util@13.5.3__@polkadot+x-randomvalues@13.5.3___@polkadot+util@13.5.3___@polkadot+wasm-util@7.4.1____@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3": { - "integrity": "sha512-LHDG4mY5moFdVyUuEyuF9hMVWgA+DoLeNYZjtOL88gSALpfjhBLt1Hjbm3R6VwvcxeVNTkteVGvCo0AlH123JQ==", + "@polkadot/rpc-provider@16.4.8_@polkadot+util@13.5.7_@polkadot+util-crypto@13.5.7__@polkadot+util@13.5.7__@polkadot+x-randomvalues@13.5.7___@polkadot+util@13.5.7___@polkadot+wasm-util@7.5.1____@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7": { + "integrity": "sha512-FD65zi3tBdBYccAWrTbxLP6ZxdU8rJAawD71dx3+RcHwIc5aLHoeK2ZuuXlaLi2LvnhvFDWCm5qJRMElXVYZbA==", "dependencies": [ "@polkadot/keyring", "@polkadot/types", @@ -421,29 +436,31 @@ "@substrate/connect" ] }, - "@polkadot/typegen@15.5.2_@polkadot+util@13.5.3": { - "integrity": "sha512-viJyxdonYORmSBfZkBNySZqg7nbnfV5MJZLfPxhjE5psWqLrZGyhjHW1iCLZSyOhKv6h+AClIl8ojQJqEA93OQ==", + "@polkadot/typegen@16.4.8_@polkadot+util@13.5.7": { + "integrity": "sha512-dYkj7Ct8MPn30g3e1BkYFGXiCbknjGAlHX3e3NB1FFRYCeIir0UF8j8Qnc6JzIc9UGFjxNJYyEu7Qnk9mYzmfA==", "dependencies": [ "@polkadot/api", "@polkadot/api-augment", + "@polkadot/api-derive@16.4.8_@polkadot+util@13.5.7", "@polkadot/rpc-augment", "@polkadot/rpc-provider", "@polkadot/types", - "@polkadot/types-augment@15.5.2", + "@polkadot/types-augment@16.4.8", "@polkadot/types-codec", "@polkadot/types-create", "@polkadot/types-support", "@polkadot/util", "@polkadot/util-crypto", "@polkadot/x-ws", + "comment-parser", "handlebars", "tslib@2.8.1", "yargs" ], "bin": true }, - "@polkadot/types-augment@15.5.2": { - "integrity": "sha512-Za5ifsiu2gSQkOBjwcCtCr5nz+PojsBoptdHKjMm0JHLgilNn0kNqriqRRrCiPkUO1656UXRQNCHpP6Vs8tncg==", + "@polkadot/types-augment@16.4.8": { + "integrity": "sha512-oAJ2okk+z210yS8D3Bj51Bgg5c3L2bAnL7PLnXpfcavGJh8cnvWoEi438lhqPuLKNrTnMw9qrnxH+YRLqRGhqA==", "dependencies": [ "@polkadot/types", "@polkadot/types-codec", @@ -451,8 +468,8 @@ "tslib@2.8.1" ] }, - "@polkadot/types-augment@15.5.2_@polkadot+util@13.5.3_@polkadot+util-crypto@13.5.3__@polkadot+util@13.5.3__@polkadot+x-randomvalues@13.5.3___@polkadot+util@13.5.3___@polkadot+wasm-util@7.4.1____@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3": { - "integrity": "sha512-Za5ifsiu2gSQkOBjwcCtCr5nz+PojsBoptdHKjMm0JHLgilNn0kNqriqRRrCiPkUO1656UXRQNCHpP6Vs8tncg==", + "@polkadot/types-augment@16.4.8_@polkadot+util@13.5.7_@polkadot+util-crypto@13.5.7__@polkadot+util@13.5.7__@polkadot+x-randomvalues@13.5.7___@polkadot+util@13.5.7___@polkadot+wasm-util@7.5.1____@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7": { + "integrity": "sha512-oAJ2okk+z210yS8D3Bj51Bgg5c3L2bAnL7PLnXpfcavGJh8cnvWoEi438lhqPuLKNrTnMw9qrnxH+YRLqRGhqA==", "dependencies": [ "@polkadot/types", "@polkadot/types-codec", @@ -460,24 +477,24 @@ "tslib@2.8.1" ] }, - "@polkadot/types-codec@15.5.2": { - "integrity": "sha512-caQNGQ+QHVZV4hGSolYN9L9pMRZeo9rJzYoybT5LMIxX8QVdW3RM5HDesj1SKGSrgIJmooN4/5JzPjrFZ4C7Vw==", + "@polkadot/types-codec@16.4.8": { + "integrity": "sha512-JMaXwnaZUwpgHqdpU7zRh2HtDDzMDwYK0qHK5p1UhDK3eArq3rYLUsCvLatC8tNaZUB4wHHBIbG0qSslWHDf+A==", "dependencies": [ "@polkadot/util", "@polkadot/x-bigint", "tslib@2.8.1" ] }, - "@polkadot/types-create@15.5.2": { - "integrity": "sha512-PbrT2mP5x7VTpwCZa/BCl8jl3y/s6UOwrjBL+pq8TErLEbkackn5a3cR4GaH9toeP5qlEaLbSWRFm24YcW8FOg==", + "@polkadot/types-create@16.4.8": { + "integrity": "sha512-YpI+yv8tsyV1Psn5KjPbAOmZ+KwrmYRxQD1GIbo72LbsEV0mCfELsKJiJLT16xgIe4JaWDKOu4ofgHV42cBmUg==", "dependencies": [ "@polkadot/types-codec", "@polkadot/util", "tslib@2.8.1" ] }, - "@polkadot/types-known@15.5.2": { - "integrity": "sha512-4yk1DnIeAy4uImFf4yDyRRdgkf5nAagQzPZWO61uxhEA+Q2MxLHLDeLbUwFiLxLLvpM09Xke8rGbem/vPRg9nA==", + "@polkadot/types-known@16.4.8": { + "integrity": "sha512-WoyOe1hhaoIfIwhVpCM4foK/9VS1/hlQ1BDRoPfQCIw4UP9Al9a3yU2oabjlIwGR6ivptxIL7BB9/C6jtBU8pQ==", "dependencies": [ "@polkadot/networks", "@polkadot/types", @@ -487,18 +504,18 @@ "tslib@2.8.1" ] }, - "@polkadot/types-support@15.5.2": { - "integrity": "sha512-PT3MTSy69euAPtRQ3c2I7vM0OfAIQXU1yIWpYTcEkG+spTn4d0fcYeJjfxvAmcROJlpJoXf10YMsXKwx+gvOig==", + "@polkadot/types-support@16.4.8": { + "integrity": "sha512-rXv4S4QJK3ge5pkiSo83PWNl/SBxibAhvJrV4Myg5vXE/x6iDtd+gOxdz00C2MATaZaSNCsdI78WlK+00jDtCQ==", "dependencies": [ "@polkadot/util", "tslib@2.8.1" ] }, - "@polkadot/types@15.5.2_@polkadot+util@13.5.3_@polkadot+util-crypto@13.5.3__@polkadot+util@13.5.3__@polkadot+x-randomvalues@13.5.3___@polkadot+util@13.5.3___@polkadot+wasm-util@7.4.1____@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3": { - "integrity": "sha512-TANrhfovLgbG00ldFvZbOuwyzqibOOMAU9egGqnoFwz4x4vTNTBgNJRvQGF5w4+FhjcEepdxlLU/3yqFM98yzA==", + "@polkadot/types@16.4.8_@polkadot+util@13.5.7_@polkadot+util-crypto@13.5.7__@polkadot+util@13.5.7__@polkadot+x-randomvalues@13.5.7___@polkadot+util@13.5.7___@polkadot+wasm-util@7.5.1____@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7": { + "integrity": "sha512-w593kgSlcREBhV349sAzfZI/RTqjVmruZ8vhwxte+nwJnzAINWwM0epFrVVFSQVE+FYjiZrVlH9LWenm5TDx3g==", "dependencies": [ "@polkadot/keyring", - "@polkadot/types-augment@15.5.2_@polkadot+util@13.5.3_@polkadot+util-crypto@13.5.3__@polkadot+util@13.5.3__@polkadot+x-randomvalues@13.5.3___@polkadot+util@13.5.3___@polkadot+wasm-util@7.4.1____@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3", + "@polkadot/types-augment@16.4.8_@polkadot+util@13.5.7_@polkadot+util-crypto@13.5.7__@polkadot+util@13.5.7__@polkadot+x-randomvalues@13.5.7___@polkadot+util@13.5.7___@polkadot+wasm-util@7.5.1____@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7", "@polkadot/types-codec", "@polkadot/types-create", "@polkadot/util", @@ -507,10 +524,10 @@ "tslib@2.8.1" ] }, - "@polkadot/util-crypto@13.5.3_@polkadot+util@13.5.3_@polkadot+x-randomvalues@13.5.3__@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3_@polkadot+wasm-util@7.4.1__@polkadot+util@13.5.3": { - "integrity": "sha512-/GLv2+DpiyciN7yAwFTjQdFA5JDMVVLUrP5a6YuAVUGQywRnGC1k940d2pFsqdwNvGa2Xcf50DFNxvnfQiyZlQ==", + "@polkadot/util-crypto@13.5.7_@polkadot+util@13.5.7_@polkadot+x-randomvalues@13.5.7__@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7_@polkadot+wasm-util@7.5.1__@polkadot+util@13.5.7": { + "integrity": "sha512-SNzfAmtSSfUnQesrGLxc1RDg1arsvFSsAkH0xulffByqJfLugB3rZWJXIKqKNfcRZtomsMMURPeW7lfpAomSug==", "dependencies": [ - "@noble/curves@1.9.2", + "@noble/curves@1.9.7", "@noble/hashes@1.8.0", "@polkadot/networks", "@polkadot/util", @@ -522,8 +539,8 @@ "tslib@2.8.1" ] }, - "@polkadot/util@13.5.3": { - "integrity": "sha512-dPqXvkzICTNz9vL85RdPyLzTDgB0/KtmROF8DB8taQksWyQp1RH3uU5mHHOmHtb0IJQBA5O/kumaXUfMQNo9Qw==", + "@polkadot/util@13.5.7": { + "integrity": "sha512-5Rhp6/FDI55iCJcGd/9bMQaF0E26OE+uZwz68JuRW75DW8v7zsN3bnjnVqk3KO/c4u5EgLSqbhXPuyW24BP1+Q==", "dependencies": [ "@polkadot/x-bigint", "@polkadot/x-global", @@ -534,8 +551,8 @@ "tslib@2.8.1" ] }, - "@polkadot/wasm-bridge@7.4.1_@polkadot+util@13.5.3_@polkadot+x-randomvalues@13.5.3__@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3_@polkadot+wasm-util@7.4.1__@polkadot+util@13.5.3": { - "integrity": "sha512-tdkJaV453tezBxhF39r4oeG0A39sPKGDJmN81LYLf+Fihb7astzwju+u75BRmDrHZjZIv00un3razJEWCxze6g==", + "@polkadot/wasm-bridge@7.5.1_@polkadot+util@13.5.7_@polkadot+x-randomvalues@13.5.7__@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7_@polkadot+wasm-util@7.5.1__@polkadot+util@13.5.7": { + "integrity": "sha512-E+N3CSnX3YaXpAmfIQ+4bTyiAqJQKvVcMaXjkuL8Tp2zYffClWLG5e+RY15Uh+EWfUl9If4y6cLZi3D5NcpAGQ==", "dependencies": [ "@polkadot/util", "@polkadot/wasm-util", @@ -543,15 +560,15 @@ "tslib@2.8.1" ] }, - "@polkadot/wasm-crypto-asmjs@7.4.1_@polkadot+util@13.5.3": { - "integrity": "sha512-pwU8QXhUW7IberyHJIQr37IhbB6DPkCG5FhozCiNTq4vFBsFPjm9q8aZh7oX1QHQaiAZa2m2/VjIVE+FHGbvHQ==", + "@polkadot/wasm-crypto-asmjs@7.5.1_@polkadot+util@13.5.7": { + "integrity": "sha512-jAg7Uusk+xeHQ+QHEH4c/N3b1kEGBqZb51cWe+yM61kKpQwVGZhNdlWetW6U23t/BMyZArIWMsZqmK/Ij0PHog==", "dependencies": [ "@polkadot/util", "tslib@2.8.1" ] }, - "@polkadot/wasm-crypto-init@7.4.1_@polkadot+util@13.5.3_@polkadot+x-randomvalues@13.5.3__@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3_@polkadot+wasm-util@7.4.1__@polkadot+util@13.5.3": { - "integrity": "sha512-AVka33+f7MvXEEIGq5U0dhaA2SaXMXnxVCQyhJTaCnJ5bRDj0Xlm3ijwDEQUiaDql7EikbkkRtmlvs95eSUWYQ==", + "@polkadot/wasm-crypto-init@7.5.1_@polkadot+util@13.5.7_@polkadot+x-randomvalues@13.5.7__@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7_@polkadot+wasm-util@7.5.1__@polkadot+util@13.5.7": { + "integrity": "sha512-Obu4ZEo5jYO6sN31eqCNOXo88rPVkP9TrUOyynuFCnXnXr8V/HlmY/YkAd9F87chZnkTJRlzak17kIWr+i7w3A==", "dependencies": [ "@polkadot/util", "@polkadot/wasm-bridge", @@ -562,16 +579,16 @@ "tslib@2.8.1" ] }, - "@polkadot/wasm-crypto-wasm@7.4.1_@polkadot+util@13.5.3": { - "integrity": "sha512-PE1OAoupFR0ZOV2O8tr7D1FEUAwaggzxtfs3Aa5gr+yxlSOaWUKeqsOYe1KdrcjmZVV3iINEAXxgrbzCmiuONg==", + "@polkadot/wasm-crypto-wasm@7.5.1_@polkadot+util@13.5.7": { + "integrity": "sha512-S2yQSGbOGTcaV6UdipFVyEGanJvG6uD6Tg7XubxpiGbNAblsyYKeFcxyH1qCosk/4qf+GIUwlOL4ydhosZflqg==", "dependencies": [ "@polkadot/util", "@polkadot/wasm-util", "tslib@2.8.1" ] }, - "@polkadot/wasm-crypto@7.4.1_@polkadot+util@13.5.3_@polkadot+x-randomvalues@13.5.3__@polkadot+util@13.5.3__@polkadot+wasm-util@7.4.1___@polkadot+util@13.5.3_@polkadot+wasm-util@7.4.1__@polkadot+util@13.5.3": { - "integrity": "sha512-kHN/kF7hYxm1y0WeFLWeWir6oTzvcFmR4N8fJJokR+ajYbdmrafPN+6iLgQVbhZnDdxyv9jWDuRRsDnBx8tPMQ==", + "@polkadot/wasm-crypto@7.5.1_@polkadot+util@13.5.7_@polkadot+x-randomvalues@13.5.7__@polkadot+util@13.5.7__@polkadot+wasm-util@7.5.1___@polkadot+util@13.5.7_@polkadot+wasm-util@7.5.1__@polkadot+util@13.5.7": { + "integrity": "sha512-acjt4VJ3w19v7b/SIPsV/5k9s6JsragHKPnwoZ0KTfBvAFXwzz80jUzVGxA06SKHacfCUe7vBRlz7M5oRby1Pw==", "dependencies": [ "@polkadot/util", "@polkadot/wasm-bridge", @@ -583,36 +600,36 @@ "tslib@2.8.1" ] }, - "@polkadot/wasm-util@7.4.1_@polkadot+util@13.5.3": { - "integrity": "sha512-RAcxNFf3zzpkr+LX/ItAsvj+QyM56TomJ0xjUMo4wKkHjwsxkz4dWJtx5knIgQz/OthqSDMR59VNEycQeNuXzA==", + "@polkadot/wasm-util@7.5.1_@polkadot+util@13.5.7": { + "integrity": "sha512-sbvu71isFhPXpvMVX+EkRnUg/+54Tx7Sf9BEMqxxoPj7cG1I/MKeDEwbQz6MaU4gm7xJqvEWCAemLFcXfHQ/2A==", "dependencies": [ "@polkadot/util", "tslib@2.8.1" ] }, - "@polkadot/x-bigint@13.5.3": { - "integrity": "sha512-o408qh3P+st/3ghTgVd4ATrePqExd7UgWHXPTJ0i74Q7/3iI1cWMNloNQFNDZxnSNIPB/AnFk8sfEWfpfPLucw==", + "@polkadot/x-bigint@13.5.7": { + "integrity": "sha512-NbN4EPbMBhjOXoWj0BVcT49/obzusFWPKbSyBxbZi8ITBaIIgpncgcCfXY4rII6Fqh74khx9jdevWge/6ycepQ==", "dependencies": [ "@polkadot/x-global", "tslib@2.8.1" ] }, - "@polkadot/x-fetch@13.5.3": { - "integrity": "sha512-+AFbo8JthkIEZtseOG8WhogAg0HnkvK4fUrCqn5YB8L7TJrIWxaAmccCarMLYQEAwYT7OKlBMbrMwRllGI9yRg==", + "@polkadot/x-fetch@13.5.7": { + "integrity": "sha512-ZlPtWJAq7xMMr8wo9API8l6mKRr/6kClF0Hm1CVhQgZruFTZd7A2XZfETMg49yaRouy16SRI85WhIw+pXfQd3g==", "dependencies": [ "@polkadot/x-global", "node-fetch", "tslib@2.8.1" ] }, - "@polkadot/x-global@13.5.3": { - "integrity": "sha512-b8zEhDk6XDIXRGaPXnSxamQ3sVObm0xPRbkxbk2l9QiMB4MO1pOtAm5knQkHpC2Z+tVTy1SrSqUN5iqVnavicQ==", + "@polkadot/x-global@13.5.7": { + "integrity": "sha512-TkBxLfeKtj0laCzXp2lvRhwSIeXSxIu7LAWpfAUW4SYNFQvtgIS0x0Bq70CUW3lcy0wqTrSG2cqzfnbomB0Djw==", "dependencies": [ "tslib@2.8.1" ] }, - "@polkadot/x-randomvalues@13.5.3_@polkadot+util@13.5.3_@polkadot+wasm-util@7.4.1__@polkadot+util@13.5.3": { - "integrity": "sha512-BrKE5Q4dzHWNjwq0PX08uWlJIQOztVCJIYuZiIAj0ic33oLRrQuPojXFWhw/3McjXlVXscFNtsgIXsRli+boiQ==", + "@polkadot/x-randomvalues@13.5.7_@polkadot+util@13.5.7_@polkadot+wasm-util@7.5.1__@polkadot+util@13.5.7": { + "integrity": "sha512-NEElpdu+Wqlr6USoh3abQfe0MaWlFlynPiqkA0/SJjK+0V0UOw0CyPwPgGrGa71/ju+1bsnu/ySshXqCR8HXTw==", "dependencies": [ "@polkadot/util", "@polkadot/wasm-util", @@ -620,22 +637,22 @@ "tslib@2.8.1" ] }, - "@polkadot/x-textdecoder@13.5.3": { - "integrity": "sha512-qXQ0qxlKAl7FLCHgeKdHbtLFQgkBGNYp1RXtbUSIWGE1qKwTMTSQkrsXegwSXG3YM1MiJk2qHc7nlyuCK0xWVw==", + "@polkadot/x-textdecoder@13.5.7": { + "integrity": "sha512-wjSj+T2pBA1uW9dDYriZMAv4WgXl5zcWblxwOsZd3V/qxifMSlSLAy0WeC+08DD6TXGQYCOU0uOALsDivkUDZA==", "dependencies": [ "@polkadot/x-global", "tslib@2.8.1" ] }, - "@polkadot/x-textencoder@13.5.3": { - "integrity": "sha512-Gb3jW/pMdWd1P0Q+K7NYbeo8ivbeGn+UBkCYYIEcShun8u8XlHMiGBnYE9fFcx9GRAzoViZJ7htL5KaFzLtUkg==", + "@polkadot/x-textencoder@13.5.7": { + "integrity": "sha512-h6RsGUY8ZZrfqsbojD1VqTqmXcojDSfbXQHhVcAWqgceeh9JOOw8Q6yzhv+KpPelqKq/map3bobJaebQ8QNTMw==", "dependencies": [ "@polkadot/x-global", "tslib@2.8.1" ] }, - "@polkadot/x-ws@13.5.3": { - "integrity": "sha512-vIi9im6Zeo0eAagPSUF8WhdFBI1oomj4jF1R2jepiKmBVkT5HVn39MK2mix5fNjLESSa2K79iWYzS5VoVi0gxA==", + "@polkadot/x-ws@13.5.7": { + "integrity": "sha512-ZdmFhL3gDMRxJXqN7a88BIU1sm2IgAFnn+jMcjjJXwP5qEuP9ejwPHQL0EFOw6sqtylfQUFuWvahvIZT7MbQ5g==", "dependencies": [ "@polkadot/x-global", "tslib@2.8.1", @@ -680,7 +697,7 @@ "@types/bn.js@5.2.0": { "integrity": "sha512-DLbJ1BPqxvQhIGbeu8VbUC1DiAiahHtAYvA0ZEAa4P31F7IaArc8z3C3BRQdWX4mtLQuABG4yzp76ZrS02Ui1Q==", "dependencies": [ - "@types/node@22.15.15" + "@types/node@24.2.0" ] }, "@types/chai-as-promised@7.1.8": { @@ -704,14 +721,8 @@ "@types/chai@4.3.20": { "integrity": "sha512-/pC9HAB5I/xMlc5FP77qjCnI16ChlJfW0tGa0IUcFn38VJrTV6DeZ60NU5KZBtaOZqjdpwTWohz5HU1RrhiYxQ==" }, - "@types/node@20.19.7": { - "integrity": "sha512-1GM9z6BJOv86qkPvzh2i6VW5+VVrXxCLknfmTkWEqz+6DqosiY28XUWCTmBcJ0ACzKqx/iwdIREfo1fwExIlkA==", - "dependencies": [ - "undici-types@6.21.0" - ] - }, - "@types/node@22.15.15": { - "integrity": "sha512-R5muMcZob3/Jjchn5LcO8jdKwSCbzqmPB6ruBxMcf9kbxtniZHP327s6C37iOfuw8mbKK3cAQa7sEl7afLrQ8A==", + "@types/node@20.19.21": { + "integrity": "sha512-CsGG2P3I5y48RPMfprQGfy4JPRZ6csfC3ltBZSRItG3ngggmNY/qs2uZKp4p9VbrpqNNSMzUZNFZKzgOGnd/VA==", "dependencies": [ "undici-types@6.21.0" ] @@ -722,6 +733,12 @@ "undici-types@6.19.8" ] }, + "@types/node@24.2.0": { + "integrity": "sha512-3xyG3pMCq3oYCNg7/ZP+E1ooTaGB4cG8JWRsqqOYQdbWNY4zbaV0Ennrd7stjiJEFZCaybcIgpTjJWHRfBSIDw==", + "dependencies": [ + "undici-types@7.10.0" + ] + }, "@typescript-eslint/eslint-plugin@8.27.0_@typescript-eslint+parser@8.27.0__eslint@8.57.1__typescript@5.8.3_eslint@8.57.1_typescript@5.8.3": { "integrity": "sha512-4henw4zkePi5p252c8ncBLzLce52SEUz2Ebj8faDnuUXz2UuHEONYcJ+G0oaCF+bYCWVZtrGzq3FD7YXetmnSA==", "dependencies": [ @@ -781,7 +798,7 @@ "fast-glob", "is-glob", "minimatch@9.0.5", - "semver@7.7.2", + "semver@7.7.3", "ts-api-utils", "typescript" ] @@ -937,6 +954,9 @@ "commander@8.3.0": { "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==" }, + "comment-parser@1.4.1": { + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==" + }, "concat-map@0.0.1": { "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, @@ -954,8 +974,8 @@ "data-uri-to-buffer@4.0.1": { "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==" }, - "debug@4.4.1": { - "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "debug@4.4.3": { + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "dependencies": [ "ms" ] @@ -1495,8 +1515,8 @@ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "bin": true }, - "semver@7.7.2": { - "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "semver@7.7.3": { + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "bin": true }, "shebang-command@2.0.0": { @@ -1606,6 +1626,9 @@ "undici-types@6.21.0": { "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==" }, + "undici-types@7.10.0": { + "integrity": "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==" + }, "uri-js@4.4.1": { "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dependencies": [ @@ -1675,11 +1698,11 @@ "packageJson": { "dependencies": [ "npm:@openzeppelin/contracts@^4.9.2", - "npm:@polkadot/api-base@15.5.2", + "npm:@polkadot/api-base@16.4.8", "npm:@polkadot/keyring@^13.5.3", - "npm:@polkadot/rpc-core@15.5.2", - "npm:@polkadot/types-codec@15.5.2", - "npm:@polkadot/types@15.5.2", + "npm:@polkadot/rpc-core@16.4.8", + "npm:@polkadot/types-codec@16.4.8", + "npm:@polkadot/types@16.4.8", "npm:@types/chai-as-promised@^7.1.8", "npm:@types/chai-like@^1.1.3", "npm:@types/chai-subset@^1.3.6", @@ -1703,7 +1726,7 @@ "playgrounds": { "packageJson": { "dependencies": [ - "npm:@polkadot/api@15.5.2", + "npm:@polkadot/api@16.4.8", "npm:@polkadot/util-crypto@^13.3.1", "npm:@polkadot/util@^13.3.1" ] @@ -1712,7 +1735,7 @@ "test-utils": { "packageJson": { "dependencies": [ - "npm:@polkadot/api@15.5.2", + "npm:@polkadot/api@16.4.8", "npm:@polkadot/util-crypto@^13.3.1", "npm:@polkadot/util@^13.3.1" ] @@ -1721,7 +1744,7 @@ "types": { "packageJson": { "dependencies": [ - "npm:@polkadot/typegen@15.5.2" + "npm:@polkadot/typegen@16.4.8" ] } } diff --git a/js-packages/package.json b/js-packages/package.json index d2300cc959..7a67f72e65 100644 --- a/js-packages/package.json +++ b/js-packages/package.json @@ -9,11 +9,11 @@ "private": true, "dependencies": { "@openzeppelin/contracts": "^4.9.2", - "@polkadot/api-base": "15.5.2", + "@polkadot/api-base": "16.4.8", "@polkadot/keyring": "^13.5.3", - "@polkadot/rpc-core": "15.5.2", - "@polkadot/types-codec": "15.5.2", - "@polkadot/types": "15.5.2", + "@polkadot/rpc-core": "16.4.8", + "@polkadot/types-codec": "16.4.8", + "@polkadot/types": "16.4.8", "chai-as-promised": "^7.1.1", "chai-like": "^1.1.1", "csv-writer": "^1.6.0", diff --git a/js-packages/playgrounds/package.json b/js-packages/playgrounds/package.json index afbc871c5d..9067cfc073 100644 --- a/js-packages/playgrounds/package.json +++ b/js-packages/playgrounds/package.json @@ -10,7 +10,7 @@ "version": "1.0.0", "main": "unique.js", "dependencies": { - "@polkadot/api": "15.5.2", + "@polkadot/api": "16.4.8", "@polkadot/util": "^13.3.1", "@polkadot/util-crypto": "^13.3.1" }, diff --git a/js-packages/scripts/generate_types/generate_types_package.sh b/js-packages/scripts/generate_types/generate_types_package.sh index 9002d6990e..1743113d01 100755 --- a/js-packages/scripts/generate_types/generate_types_package.sh +++ b/js-packages/scripts/generate_types/generate_types_package.sh @@ -120,6 +120,7 @@ package_version=${package_version}$last_patch echo "New package version: $new_package_version" pjsapi_ver=^$(cat "$DIR/../../playgrounds/package.json" | jq -r '.dependencies."@polkadot/api"' | sed -e "s/^\^//") +pjstypecodec_ver=^$(cat "$DIR/../../package.json" | jq -r '.dependencies."@polkadot/types-codec"' | sed -e "s/^\^//") ts_ver=^$(cat "$DIR/../../package.json" | jq -r '.devDependencies."typescript"' | sed -e "s/^\^//") gen=$(mktemp -d) @@ -139,8 +140,10 @@ cat "$TEMPLATE/package.json" \ | jq ".version = \"$package_version\"" - \ | jq ".peerDependencies.\"@polkadot/api\" = \"$pjsapi_ver\"" - \ | jq ".peerDependencies.\"@polkadot/types\" = \"$pjsapi_ver\"" - \ +| jq ".peerDependencies.\"@polkadot/types-codec\" = \"$pjstypecodec_ver\"" - \ | jq ".devDependencies.\"@polkadot/api\" = \"$pjsapi_ver\"" - \ | jq ".devDependencies.\"@polkadot/types\" = \"$pjsapi_ver\"" - \ +| jq ".devDependencies.\"@polkadot/types-codec\" = \"$pjstypecodec_ver\"" - \ | jq ".devDependencies.\"typescript\" = \"$ts_ver\"" - \ > "$gen/package.json" for file in .gitignore .npmignore README.md tsconfig.json; do diff --git a/js-packages/scripts/generate_types/types_template/package.json b/js-packages/scripts/generate_types/types_template/package.json index 4cb8e40c3f..a8af7a3bf4 100644 --- a/js-packages/scripts/generate_types/types_template/package.json +++ b/js-packages/scripts/generate_types/types_template/package.json @@ -11,7 +11,8 @@ }, "peerDependencies": { "@polkadot/api": "TODO", - "@polkadot/types": "TODO" + "@polkadot/types": "TODO", + "@polkadot/types-codec": "TODO" }, "devDependencies": { "@polkadot/api": "TODO", diff --git a/js-packages/scripts/generate_types/types_template/tsconfig.json b/js-packages/scripts/generate_types/types_template/tsconfig.json index baa7166cd0..4166e3dca0 100644 --- a/js-packages/scripts/generate_types/types_template/tsconfig.json +++ b/js-packages/scripts/generate_types/types_template/tsconfig.json @@ -15,6 +15,8 @@ "outDir": ".", "rootDir": ".", "strict": true, + "emitDeclarationOnly": true, + "allowImportingTsExtensions": true, "paths": { }, "skipLibCheck": true, diff --git a/js-packages/test-utils/package.json b/js-packages/test-utils/package.json index d8cf130db1..4f100fc9ed 100644 --- a/js-packages/test-utils/package.json +++ b/js-packages/test-utils/package.json @@ -10,7 +10,7 @@ "version": "1.0.0", "main": "index.ts", "dependencies": { - "@polkadot/api": "15.5.2", + "@polkadot/api": "16.4.8", "@polkadot/util": "^13.3.1", "@polkadot/util-crypto": "^13.3.1", "@unique-nft/opal-testnet-types": "workspace:*" From b199fdc4198b2fefeb46ee737b6586d7ccafabb7 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 15 Oct 2025 17:50:41 +0200 Subject: [PATCH 44/51] fix(hydra): wait longer before proposing in techcomm --- js-packages/test-utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-packages/test-utils/index.ts b/js-packages/test-utils/index.ts index 5d66a31844..f64c4179c7 100644 --- a/js-packages/test-utils/index.ts +++ b/js-packages/test-utils/index.ts @@ -1251,7 +1251,7 @@ class HydraFastDemocracyGroup { // It seems sometimes the `propose` above isn't finalized on Hydra when the promise is fulfilled. // Waiting here for it to complete. - await this.helper.wait.newBlocks(5); + await this.helper.wait.newBlocks(10); const techProposalIdx = await this.helper.collective.techCommittee.proposalCount() - 1; await this.helper.collective.techCommittee.vote(aliceAccount, fastTrackHash, techProposalIdx, true); From 72503d84c964986cd5f6394222a4dc3db8139e11 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 15 Oct 2025 18:13:22 +0200 Subject: [PATCH 45/51] fix: add types-codec to typegen template package.json --- js-packages/scripts/generate_types/types_template/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/js-packages/scripts/generate_types/types_template/package.json b/js-packages/scripts/generate_types/types_template/package.json index a8af7a3bf4..f0ae30283b 100644 --- a/js-packages/scripts/generate_types/types_template/package.json +++ b/js-packages/scripts/generate_types/types_template/package.json @@ -17,6 +17,7 @@ "devDependencies": { "@polkadot/api": "TODO", "@polkadot/types": "TODO", + "@polkadot/types-codec": "TODO", "typescript": "TODO" } } From 951b07d409ce8924dd664a835b826ad79aed3d1f Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Wed, 15 Oct 2025 17:06:00 +0000 Subject: [PATCH 46/51] log full result on signAndSend error --- js-packages/playgrounds/unique.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js-packages/playgrounds/unique.ts b/js-packages/playgrounds/unique.ts index fb14f87bbc..be63745fe9 100644 --- a/js-packages/playgrounds/unique.ts +++ b/js-packages/playgrounds/unique.ts @@ -195,8 +195,8 @@ class UniqueUtil { static extractCollectionIdFromCreationResult(creationResult: ITransactionResult): number { if(creationResult.status !== this.transactionStatus.SUCCESS) { - const status = JSON.stringify((creationResult.result as any).status.toHuman()); - throw Error(`Unable to create collection! Status: ${status}`); + const result = JSON.stringify((creationResult.result as any).toHuman()); + throw Error(`Unable to create collection! Status: ${result}`); } let collectionId: number | null = null; From b002a7cb4735cf96efd3de8170d5cc242fda781a Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Wed, 15 Oct 2025 17:19:54 +0000 Subject: [PATCH 47/51] update polkadot types --- js-packages/tests/xcm/quartz.test.ts | 5 ++--- js-packages/types/augment-api-query.ts | 2 +- js-packages/types/augment-api-tx.ts | 2 +- js-packages/types/default/types.ts | 1 + js-packages/types/lookup.ts | 1 + js-packages/types/types-lookup.ts | 1 + 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/js-packages/tests/xcm/quartz.test.ts b/js-packages/tests/xcm/quartz.test.ts index 787fee6e27..e7b47d3554 100644 --- a/js-packages/tests/xcm/quartz.test.ts +++ b/js-packages/tests/xcm/quartz.test.ts @@ -15,9 +15,8 @@ // along with Unique Network. If not, see . import type {IKeyringPair} from '@polkadot/types/types'; -import {expect, before, describe, itSub, usingPlaygrounds, usingKaruraPlaygrounds, usingShidenPlaygrounds, usingMoonriverPlaygrounds, usingRelayPlaygrounds, usingKusamaAssetHubPlaygrounds} from '@unique/test-utils/util'; -import {QUARTZ_CHAIN, SAFE_XCM_VERSION, XcmTestHelper, SENDER_BUDGET, SENDTO_AMOUNT, SENDBACK_AMOUNT, SHIDEN_DECIMALS, UNQ_DECIMALS, POLKADOT_ASSETHUB_CHAIN, USDT_ASSET_ID, USDT_DECIMALS, ASSET_HUB_PALLET_ASSETS} from './xcm.types.ts'; -import {hexToString} from '@polkadot/util'; +import {before, describe, itSub, usingPlaygrounds, usingRelayPlaygrounds, usingKusamaAssetHubPlaygrounds} from '@unique/test-utils/util'; +import {SAFE_XCM_VERSION, XcmTestHelper, SENDER_BUDGET, SENDTO_AMOUNT, SENDBACK_AMOUNT, POLKADOT_ASSETHUB_CHAIN, USDT_ASSET_ID, USDT_DECIMALS, ASSET_HUB_PALLET_ASSETS} from './xcm.types.ts'; const testHelper = new XcmTestHelper; diff --git a/js-packages/types/augment-api-query.ts b/js-packages/types/augment-api-query.ts index a46d1f7a7b..41748ec26a 100644 --- a/js-packages/types/augment-api-query.ts +++ b/js-packages/types/augment-api-query.ts @@ -633,7 +633,7 @@ declare module '@polkadot/api-base/types/storage' { /** * The corresponding collections of foreign assets. **/ - foreignAssetConversionCoefficient: AugmentedQuery Observable>, []> & QueryableStorageEntry; + foreignAssetConversionCoefficient: AugmentedQuery Observable>, [StagingXcmV5AssetAssetId]> & QueryableStorageEntry; /** * Override the reserve location for the given foreign assets. **/ diff --git a/js-packages/types/augment-api-tx.ts b/js-packages/types/augment-api-tx.ts index c119b1cbbf..be3ef2d84f 100644 --- a/js-packages/types/augment-api-tx.ts +++ b/js-packages/types/augment-api-tx.ts @@ -1212,7 +1212,7 @@ declare module '@polkadot/api-base/types/submittable' { addOracleMember: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; forceRegisterForeignAsset: AugmentedSubmittable<(versionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, name: Vec | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: PalletForeignAssetsForeignCollectionMode | { NFT: any } | { Fungible: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssetId, Vec, Bytes, PalletForeignAssetsForeignCollectionMode]>; forceResetForeignAssetLocation: AugmentedSubmittable<(existingVersionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, newVersionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssetId, XcmVersionedAssetId]>; - forceSetForeignAssetConversionCoefficient: AugmentedSubmittable<(conversionCoefficient: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; + forceSetForeignAssetConversionCoefficient: AugmentedSubmittable<(versionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, conversionCoefficient: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssetId, u128]>; forceSetForeignAssetReserveOverride: AugmentedSubmittable<(versionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, versionedReserveOverride: Option | null | Uint8Array | XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string) => SubmittableExtrinsic, [XcmVersionedAssetId, Option]>; forceSetForeignAssetSuspension: AugmentedSubmittable<(versionedAssetId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, isSuspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssetId, bool]>; removeOracleMember: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; diff --git a/js-packages/types/default/types.ts b/js-packages/types/default/types.ts index 26f3939c10..2be42f15c0 100644 --- a/js-packages/types/default/types.ts +++ b/js-packages/types/default/types.ts @@ -2286,6 +2286,7 @@ export interface PalletForeignAssetsModuleCall extends Enum { } & Struct; readonly isForceSetForeignAssetConversionCoefficient: boolean; readonly asForceSetForeignAssetConversionCoefficient: { + readonly versionedAssetId: XcmVersionedAssetId; readonly conversionCoefficient: u128; } & Struct; readonly isAddOracleMember: boolean; diff --git a/js-packages/types/lookup.ts b/js-packages/types/lookup.ts index 399de8da91..75765ca1d3 100644 --- a/js-packages/types/lookup.ts +++ b/js-packages/types/lookup.ts @@ -3788,6 +3788,7 @@ export default { isSuspended: 'bool', }, force_set_foreign_asset_conversion_coefficient: { + versionedAssetId: 'XcmVersionedAssetId', conversionCoefficient: 'u128', }, add_oracle_member: { diff --git a/js-packages/types/types-lookup.ts b/js-packages/types/types-lookup.ts index e0bac09691..01da28050e 100644 --- a/js-packages/types/types-lookup.ts +++ b/js-packages/types/types-lookup.ts @@ -4033,6 +4033,7 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isForceSetForeignAssetConversionCoefficient: boolean; readonly asForceSetForeignAssetConversionCoefficient: { + readonly versionedAssetId: XcmVersionedAssetId; readonly conversionCoefficient: u128; } & Struct; readonly isAddOracleMember: boolean; From a26689ab626e67123ad7c3852202d51c28d1a05c Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Wed, 15 Oct 2025 18:07:27 +0000 Subject: [PATCH 48/51] fix ocw tests --- js-packages/tests/ocw/opal.test.ts | 10 ++++++++-- js-packages/tests/ocw/quartz.test.ts | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/js-packages/tests/ocw/opal.test.ts b/js-packages/tests/ocw/opal.test.ts index c149fdb50d..d67c4352eb 100644 --- a/js-packages/tests/ocw/opal.test.ts +++ b/js-packages/tests/ocw/opal.test.ts @@ -85,7 +85,7 @@ describe.ifRunOcw('Paying fee with DOTs', () => { [collectionId] = foreignAssetRegisteredEvent?.data || []; } const coefficient = 2n * tokenNominal; - await helper.getSudo().executeExtrinsic(alice, 'api.tx.foreignAssets.forceSetForeignAssetConversionCoefficient', [coefficient]); + await helper.getSudo().executeExtrinsic(alice, 'api.tx.foreignAssets.forceSetForeignAssetConversionCoefficient', [{V3: assetId}, coefficient]); await helper.getSudo().executeExtrinsic(alice, 'api.tx.testUtils.enable', []); await helper.executeExtrinsic(alice, 'api.tx.testUtils.mintForeignAssets', [collectionId, 1_000_000_000_000n]); @@ -125,7 +125,13 @@ describe.ifRunOcw('Paying fee with DOTs', () => { itSub('should check permissions for setting conversion coefficien', async ({helper}) => { const api = helper.getApi(); const tokenNominal = helper.balance.getOneTokenNominal(); + const assetId = { + Concrete: { + parents: 1, + interior: 'here', + } + }; const coefficient = 2n * tokenNominal; - await expect(helper.signTransaction(alice, api.tx.foreignAssets.forceSetForeignAssetConversionCoefficient(coefficient))).to.be.rejected; + await expect(helper.signTransaction(alice, api.tx.foreignAssets.forceSetForeignAssetConversionCoefficient({V3: assetId}, coefficient))).to.be.rejected; }); }); \ No newline at end of file diff --git a/js-packages/tests/ocw/quartz.test.ts b/js-packages/tests/ocw/quartz.test.ts index 6c3ac3b19b..861963ec42 100644 --- a/js-packages/tests/ocw/quartz.test.ts +++ b/js-packages/tests/ocw/quartz.test.ts @@ -85,7 +85,7 @@ describe.ifRunOcw('Paying fee with DOTs', () => { [collectionId] = foreignAssetRegisteredEvent?.data || []; } const coefficient = 2n * tokenNominal; - await helper.getSudo().executeExtrinsic(alice, 'api.tx.foreignAssets.forceSetForeignAssetConversionCoefficient', [coefficient]); + await helper.getSudo().executeExtrinsic(alice, 'api.tx.foreignAssets.forceSetForeignAssetConversionCoefficient', [{V3: assetId}, coefficient]); await helper.getSudo().executeExtrinsic(alice, 'api.tx.testUtils.enable', []); await helper.executeExtrinsic(alice, 'api.tx.testUtils.mintForeignAssets', [collectionId, 1_000_000_000_000n]); @@ -123,9 +123,15 @@ describe.ifRunOcw('Paying fee with DOTs', () => { }); itSub('should check permissions for setting conversion coefficien', async ({helper}) => { + const assetId = { + Concrete: { + parents: 1, + interior: 'here', + } + }; const api = helper.getApi(); const tokenNominal = helper.balance.getOneTokenNominal(); const coefficient = 2n * tokenNominal; - await expect(helper.signTransaction(alice, api.tx.foreignAssets.forceSetForeignAssetConversionCoefficient(coefficient))).to.be.rejected; + await expect(helper.signTransaction(alice, api.tx.foreignAssets.forceSetForeignAssetConversionCoefficient({V3: assetId}, coefficient))).to.be.rejected; }); }); \ No newline at end of file From 033ae00bb8b98f8b2abda0b237ca59aaed316b10 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Wed, 15 Oct 2025 18:22:04 +0000 Subject: [PATCH 49/51] fix tx-verstion test error --- js-packages/tests/tx-version-presence.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-packages/tests/tx-version-presence.test.ts b/js-packages/tests/tx-version-presence.test.ts index d5a69c05f1..04e1692aff 100644 --- a/js-packages/tests/tx-version-presence.test.ts +++ b/js-packages/tests/tx-version-presence.test.ts @@ -27,6 +27,6 @@ describe('TxVersion is present', () => { }); itSub('Signed extension CheckTxVersion is present', () => { - expect(metadata.asLatest.extrinsic.signedExtensions.map(se => se.identifier.toString())).to.include('CheckTxVersion'); + expect(metadata.asLatest.extrinsic.transactionExtensions.map(se => se.identifier.toString())).to.include('CheckTxVersion'); }); }); From 54f70b3ce980744b696ecb05ed7b41b1b5c843e1 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 15 Oct 2025 20:54:54 +0200 Subject: [PATCH 50/51] fix: types typegen version --- js-packages/types/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-packages/types/package.json b/js-packages/types/package.json index 3a74201b9f..604194537c 100644 --- a/js-packages/types/package.json +++ b/js-packages/types/package.json @@ -10,6 +10,6 @@ "version": "1.0.0", "main": "index.js", "devDependencies": { - "@polkadot/typegen": "15.5.2" + "@polkadot/typegen": "16.4.8" } } From c26909b460aad77b77a9f20e580525e2426755cb Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Wed, 15 Oct 2025 23:39:54 +0000 Subject: [PATCH 51/51] add retries to mintCollection method --- js-packages/playgrounds/unique.ts | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/js-packages/playgrounds/unique.ts b/js-packages/playgrounds/unique.ts index be63745fe9..1f48b211f5 100644 --- a/js-packages/playgrounds/unique.ts +++ b/js-packages/playgrounds/unique.ts @@ -1740,11 +1740,27 @@ class NFTnRFT extends CollectionGroup { } collectionOptions.flags = [flags]; - const creationResult = await this.helper.executeExtrinsic( - signer, - 'api.tx.unique.createCollectionEx', [collectionOptions], - true, // errorLabel, - ); + // Workaround for "Invalid" error that appears for unknown reason + let retries = 0; + let creationResult; + while (true) { + creationResult = await this.helper.executeExtrinsic( + signer, + 'api.tx.unique.createCollectionEx', [collectionOptions], + true, // errorLabel, + { nonce: -1 } + ); + if (creationResult.status !== this.helper.util.transactionStatus.SUCCESS) { + if ((creationResult.result as any).status.toHuman() == 'Invalid') { + if (retries >= 3) + break; + retries++; + console.log(`Retrying mintCollection. Attempt ${retries}. Result: ${JSON.stringify((creationResult.result as any).toHuman())}`); + continue; + } + } + break; + } return this.getCollectionObject(this.helper.util.extractCollectionIdFromCreationResult(creationResult)); }