difftreelog
test regenerate types
in: master
10 files changed
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/consts';78import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';9import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { Codec, ITuple } from '@polkadot/types-codec/types';11import type { H160, Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, XcmV3MultiLocation } from '@polkadot/types/lookup';1314export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;1516declare module '@polkadot/api-base/types/consts' {17 interface AugmentedConsts<ApiType extends ApiTypes> {18 appPromotion: {19 /**20 * Freeze identifier used by the pallet21 **/22 freezeIdentifier: U8aFixed & AugmentedConst<ApiType>;23 /**24 * Rate of return for interval in blocks defined in `RecalculationInterval`.25 **/26 intervalIncome: Perbill & AugmentedConst<ApiType>;27 /**28 * Decimals for the `Currency`.29 **/30 nominal: u128 & AugmentedConst<ApiType>;31 /**32 * The app's pallet id, used for deriving its sovereign account address.33 **/34 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;35 /**36 * In parachain blocks.37 **/38 pendingInterval: u32 & AugmentedConst<ApiType>;39 /**40 * In relay blocks.41 **/42 recalculationInterval: u32 & AugmentedConst<ApiType>;43 /**44 * Generic const45 **/46 [key: string]: Codec;47 };48 balances: {49 /**50 * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!51 * 52 * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for53 * this pallet. However, you do so at your own risk: this will open up a major DoS vector.54 * In case you have multiple sources of provider references, you may also get unexpected55 * behaviour if you set this to zero.56 * 57 * Bottom line: Do yourself a favour and make it at least one!58 **/59 existentialDeposit: u128 & AugmentedConst<ApiType>;60 /**61 * The maximum number of individual freeze locks that can exist on an account at any time.62 **/63 maxFreezes: u32 & AugmentedConst<ApiType>;64 /**65 * The maximum number of holds that can exist on an account at any time.66 **/67 maxHolds: u32 & AugmentedConst<ApiType>;68 /**69 * The maximum number of locks that should exist on an account.70 * Not strictly enforced, but used for weight estimation.71 **/72 maxLocks: u32 & AugmentedConst<ApiType>;73 /**74 * The maximum number of named reserves that can exist on an account.75 **/76 maxReserves: u32 & AugmentedConst<ApiType>;77 /**78 * Generic const79 **/80 [key: string]: Codec;81 };82 collatorSelection: {83 licenceBondIdentifier: U8aFixed & AugmentedConst<ApiType>;84 /**85 * Generic const86 **/87 [key: string]: Codec;88 };89 common: {90 /**91 * Maximum admins per collection.92 **/93 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;94 /**95 * Set price to create a collection.96 **/97 collectionCreationPrice: u128 & AugmentedConst<ApiType>;98 /**99 * Address under which the CollectionHelper contract would be available.100 **/101 contractAddress: H160 & AugmentedConst<ApiType>;102 /**103 * Generic const104 **/105 [key: string]: Codec;106 };107 configuration: {108 appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;109 dayRelayBlocks: u32 & AugmentedConst<ApiType>;110 defaultCollatorSelectionKickThreshold: u32 & AugmentedConst<ApiType>;111 defaultCollatorSelectionLicenseBond: u128 & AugmentedConst<ApiType>;112 defaultCollatorSelectionMaxCollators: u32 & AugmentedConst<ApiType>;113 defaultMinGasPrice: u64 & AugmentedConst<ApiType>;114 defaultWeightToFeeCoefficient: u64 & AugmentedConst<ApiType>;115 maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;116 /**117 * Generic const118 **/119 [key: string]: Codec;120 };121 council: {122 /**123 * The maximum weight of a dispatch call that can be proposed and executed.124 **/125 maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;126 /**127 * Generic const128 **/129 [key: string]: Codec;130 };131 democracy: {132 /**133 * Period in blocks where an external proposal may not be re-submitted after being vetoed.134 **/135 cooloffPeriod: u32 & AugmentedConst<ApiType>;136 /**137 * The period between a proposal being approved and enacted.138 * 139 * It should generally be a little more than the unstake period to ensure that140 * voting stakers have an opportunity to remove themselves from the system in the case141 * where they are on the losing side of a vote.142 **/143 enactmentPeriod: u32 & AugmentedConst<ApiType>;144 /**145 * Minimum voting period allowed for a fast-track referendum.146 **/147 fastTrackVotingPeriod: u32 & AugmentedConst<ApiType>;148 /**149 * Indicator for whether an emergency origin is even allowed to happen. Some chains may150 * want to set this permanently to `false`, others may want to condition it on things such151 * as an upgrade having happened recently.152 **/153 instantAllowed: bool & AugmentedConst<ApiType>;154 /**155 * How often (in blocks) new public referenda are launched.156 **/157 launchPeriod: u32 & AugmentedConst<ApiType>;158 /**159 * The maximum number of items which can be blacklisted.160 **/161 maxBlacklisted: u32 & AugmentedConst<ApiType>;162 /**163 * The maximum number of deposits a public proposal may have at any time.164 **/165 maxDeposits: u32 & AugmentedConst<ApiType>;166 /**167 * The maximum number of public proposals that can exist at any time.168 **/169 maxProposals: u32 & AugmentedConst<ApiType>;170 /**171 * The maximum number of votes for an account.172 * 173 * Also used to compute weight, an overly big value can174 * lead to extrinsic with very big weight: see `delegate` for instance.175 **/176 maxVotes: u32 & AugmentedConst<ApiType>;177 /**178 * The minimum amount to be used as a deposit for a public referendum proposal.179 **/180 minimumDeposit: u128 & AugmentedConst<ApiType>;181 /**182 * The minimum period of vote locking.183 * 184 * It should be no shorter than enactment period to ensure that in the case of an approval,185 * those successful voters are locked into the consequences that their votes entail.186 **/187 voteLockingPeriod: u32 & AugmentedConst<ApiType>;188 /**189 * How often (in blocks) to check for new votes.190 **/191 votingPeriod: u32 & AugmentedConst<ApiType>;192 /**193 * Generic const194 **/195 [key: string]: Codec;196 };197 evmContractHelpers: {198 /**199 * Address, under which magic contract will be available200 **/201 contractAddress: H160 & AugmentedConst<ApiType>;202 /**203 * Generic const204 **/205 [key: string]: Codec;206 };207 fellowshipReferenda: {208 /**209 * Quantization level for the referendum wakeup scheduler. A higher number will result in210 * fewer storage reads/writes needed for smaller voters, but also result in delays to the211 * automatic referendum status changes. Explicit servicing instructions are unaffected.212 **/213 alarmInterval: u32 & AugmentedConst<ApiType>;214 /**215 * Maximum size of the referendum queue for a single track.216 **/217 maxQueued: u32 & AugmentedConst<ApiType>;218 /**219 * The minimum amount to be used as a deposit for a public referendum proposal.220 **/221 submissionDeposit: u128 & AugmentedConst<ApiType>;222 /**223 * Information concerning the different referendum tracks.224 **/225 tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;226 /**227 * The number of blocks after submission that a referendum must begin being decided by.228 * Once this passes, then anyone may cancel the referendum.229 **/230 undecidingTimeout: u32 & AugmentedConst<ApiType>;231 /**232 * Generic const233 **/234 [key: string]: Codec;235 };236 govScheduler: {237 /**238 * The maximum weight that may be scheduled per block for any dispatchables.239 **/240 maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;241 /**242 * The maximum number of scheduled calls in the queue for a single block.243 * 244 * NOTE:245 * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a246 * higher limit under `runtime-benchmarks` feature.247 **/248 maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;249 /**250 * Generic const251 **/252 [key: string]: Codec;253 };254 identity: {255 /**256 * The amount held on deposit for a registered identity257 **/258 basicDeposit: u128 & AugmentedConst<ApiType>;259 /**260 * The amount held on deposit per additional field for a registered identity.261 **/262 fieldDeposit: u128 & AugmentedConst<ApiType>;263 /**264 * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O265 * required to access an identity, but can be pretty high.266 **/267 maxAdditionalFields: u32 & AugmentedConst<ApiType>;268 /**269 * Maxmimum number of registrars allowed in the system. Needed to bound the complexity270 * of, e.g., updating judgements.271 **/272 maxRegistrars: u32 & AugmentedConst<ApiType>;273 /**274 * The maximum number of sub-accounts allowed per identified account.275 **/276 maxSubAccounts: u32 & AugmentedConst<ApiType>;277 /**278 * The amount held on deposit for a registered subaccount. This should account for the fact279 * that one storage item's value will increase by the size of an account ID, and there will280 * be another trie item whose value is the size of an account ID plus 32 bytes.281 **/282 subAccountDeposit: u128 & AugmentedConst<ApiType>;283 /**284 * Generic const285 **/286 [key: string]: Codec;287 };288 inflation: {289 /**290 * Number of blocks that pass between treasury balance updates due to inflation291 **/292 inflationBlockInterval: u32 & AugmentedConst<ApiType>;293 /**294 * Generic const295 **/296 [key: string]: Codec;297 };298 stateTrieMigration: {299 /**300 * Maximal number of bytes that a key can have.301 * 302 * FRAME itself does not limit the key length.303 * The concrete value must therefore depend on your storage usage.304 * A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of305 * keys which are then hashed and concatenated, resulting in arbitrarily long keys.306 * 307 * Use the *state migration RPC* to retrieve the length of the longest key in your308 * storage: <https://github.com/paritytech/substrate/issues/11642>309 * 310 * The migration will halt with a `Halted` event if this value is too small.311 * Since there is no real penalty from over-estimating, it is advised to use a large312 * value. The default is 512 byte.313 * 314 * Some key lengths for reference:315 * - [`frame_support::storage::StorageValue`]: 32 byte316 * - [`frame_support::storage::StorageMap`]: 64 byte317 * - [`frame_support::storage::StorageDoubleMap`]: 96 byte318 * 319 * For more info see320 * <https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/>321 **/322 maxKeyLen: u32 & AugmentedConst<ApiType>;323 /**324 * Generic const325 **/326 [key: string]: Codec;327 };328 system: {329 /**330 * Maximum number of block number to block hash mappings to keep (oldest pruned first).331 **/332 blockHashCount: u32 & AugmentedConst<ApiType>;333 /**334 * The maximum length of a block (in bytes).335 **/336 blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;337 /**338 * Block & extrinsics weights: base values and limits.339 **/340 blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;341 /**342 * The weight of runtime database operations the runtime can invoke.343 **/344 dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;345 /**346 * The designated SS58 prefix of this chain.347 * 348 * This replaces the "ss58Format" property declared in the chain spec. Reason is349 * that the runtime should know about the prefix in order to make use of it as350 * an identifier of the chain.351 **/352 ss58Prefix: u16 & AugmentedConst<ApiType>;353 /**354 * Get the chain's current version.355 **/356 version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;357 /**358 * Generic const359 **/360 [key: string]: Codec;361 };362 technicalCommittee: {363 /**364 * The maximum weight of a dispatch call that can be proposed and executed.365 **/366 maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;367 /**368 * Generic const369 **/370 [key: string]: Codec;371 };372 timestamp: {373 /**374 * The minimum period between blocks. Beware that this is different to the *expected*375 * period that the block production apparatus provides. Your chosen consensus system will376 * generally work with this to determine a sensible block time. e.g. For Aura, it will be377 * double this period on default settings.378 **/379 minimumPeriod: u64 & AugmentedConst<ApiType>;380 /**381 * Generic const382 **/383 [key: string]: Codec;384 };385 tokens: {386 maxLocks: u32 & AugmentedConst<ApiType>;387 /**388 * The maximum number of named reserves that can exist on an account.389 **/390 maxReserves: u32 & AugmentedConst<ApiType>;391 /**392 * Generic const393 **/394 [key: string]: Codec;395 };396 transactionPayment: {397 /**398 * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their399 * `priority`400 * 401 * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later402 * added to a tip component in regular `priority` calculations.403 * It means that a `Normal` transaction can front-run a similarly-sized `Operational`404 * extrinsic (with no tip), by including a tip value greater than the virtual tip.405 * 406 * ```rust,ignore407 * // For `Normal`408 * let priority = priority_calc(tip);409 * 410 * // For `Operational`411 * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;412 * let priority = priority_calc(tip + virtual_tip);413 * ```414 * 415 * Note that since we use `final_fee` the multiplier applies also to the regular `tip`416 * sent with the transaction. So, not only does the transaction get a priority bump based417 * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`418 * transactions.419 **/420 operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;421 /**422 * Generic const423 **/424 [key: string]: Codec;425 };426 treasury: {427 /**428 * Percentage of spare funds (if any) that are burnt per spend period.429 **/430 burn: Permill & AugmentedConst<ApiType>;431 /**432 * The maximum number of approvals that can wait in the spending queue.433 * 434 * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.435 **/436 maxApprovals: u32 & AugmentedConst<ApiType>;437 /**438 * The treasury's pallet id, used for deriving its sovereign account ID.439 **/440 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;441 /**442 * Fraction of a proposal's value that should be bonded in order to place the proposal.443 * An accepted proposal gets these back. A rejected proposal does not.444 **/445 proposalBond: Permill & AugmentedConst<ApiType>;446 /**447 * Maximum amount of funds that should be placed in a deposit for making a proposal.448 **/449 proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;450 /**451 * Minimum amount of funds that should be placed in a deposit for making a proposal.452 **/453 proposalBondMinimum: u128 & AugmentedConst<ApiType>;454 /**455 * Period between successive spends.456 **/457 spendPeriod: u32 & AugmentedConst<ApiType>;458 /**459 * Generic const460 **/461 [key: string]: Codec;462 };463 unique: {464 /**465 * Maximum admins per collection.466 **/467 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;468 /**469 * Default FT collection limit.470 **/471 ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;472 /**473 * Maximal length of a collection description.474 **/475 maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;476 /**477 * Maximal length of a collection name.478 **/479 maxCollectionNameLength: u32 & AugmentedConst<ApiType>;480 /**481 * Maximum size for all collection properties.482 **/483 maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;484 /**485 * A maximum number of token properties.486 **/487 maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;488 /**489 * Maximal length of a property key.490 **/491 maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;492 /**493 * Maximal length of a property value.494 **/495 maxPropertyValueLength: u32 & AugmentedConst<ApiType>;496 /**497 * Maximal length of a token prefix.498 **/499 maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;500 /**501 * Maximum size of all token properties.502 **/503 maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;504 /**505 * A maximum number of levels of depth in the token nesting tree.506 **/507 nestingBudget: u32 & AugmentedConst<ApiType>;508 /**509 * Default NFT collection limit.510 **/511 nftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;512 /**513 * Default RFT collection limit.514 **/515 rftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;516 /**517 * Generic const518 **/519 [key: string]: Codec;520 };521 vesting: {522 /**523 * The minimum amount transferred to call `vested_transfer`.524 **/525 minVestedTransfer: u128 & AugmentedConst<ApiType>;526 /**527 * Generic const528 **/529 [key: string]: Codec;530 };531 xTokens: {532 /**533 * Base XCM weight.534 * 535 * The actually weight for an XCM message is `T::BaseXcmWeight +536 * T::Weigher::weight(&msg)`.537 **/538 baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;539 /**540 * Self chain location.541 **/542 selfLocation: XcmV3MultiLocation & AugmentedConst<ApiType>;543 /**544 * Generic const545 **/546 [key: string]: Codec;547 };548 } // AugmentedConsts549} // declare module1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/consts';78import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';9import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { Codec, ITuple } from '@polkadot/types-codec/types';11import type { H160, Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, XcmV3MultiLocation } from '@polkadot/types/lookup';1314export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;1516declare module '@polkadot/api-base/types/consts' {17 interface AugmentedConsts<ApiType extends ApiTypes> {18 appPromotion: {19 /**20 * Freeze identifier used by the pallet21 **/22 freezeIdentifier: U8aFixed & AugmentedConst<ApiType>;23 /**24 * Rate of return for interval in blocks defined in `RecalculationInterval`.25 **/26 intervalIncome: Perbill & AugmentedConst<ApiType>;27 /**28 * Decimals for the `Currency`.29 **/30 nominal: u128 & AugmentedConst<ApiType>;31 /**32 * The app's pallet id, used for deriving its sovereign account address.33 **/34 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;35 /**36 * In parachain blocks.37 **/38 pendingInterval: u32 & AugmentedConst<ApiType>;39 /**40 * In relay blocks.41 **/42 recalculationInterval: u32 & AugmentedConst<ApiType>;43 /**44 * Generic const45 **/46 [key: string]: Codec;47 };48 balances: {49 /**50 * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!51 * 52 * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for53 * this pallet. However, you do so at your own risk: this will open up a major DoS vector.54 * In case you have multiple sources of provider references, you may also get unexpected55 * behaviour if you set this to zero.56 * 57 * Bottom line: Do yourself a favour and make it at least one!58 **/59 existentialDeposit: u128 & AugmentedConst<ApiType>;60 /**61 * The maximum number of individual freeze locks that can exist on an account at any time.62 **/63 maxFreezes: u32 & AugmentedConst<ApiType>;64 /**65 * The maximum number of holds that can exist on an account at any time.66 **/67 maxHolds: u32 & AugmentedConst<ApiType>;68 /**69 * The maximum number of locks that should exist on an account.70 * Not strictly enforced, but used for weight estimation.71 **/72 maxLocks: u32 & AugmentedConst<ApiType>;73 /**74 * The maximum number of named reserves that can exist on an account.75 **/76 maxReserves: u32 & AugmentedConst<ApiType>;77 /**78 * Generic const79 **/80 [key: string]: Codec;81 };82 collatorSelection: {83 licenceBondIdentifier: U8aFixed & AugmentedConst<ApiType>;84 /**85 * Generic const86 **/87 [key: string]: Codec;88 };89 common: {90 /**91 * Maximum admins per collection.92 **/93 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;94 /**95 * Set price to create a collection.96 **/97 collectionCreationPrice: u128 & AugmentedConst<ApiType>;98 /**99 * Address under which the CollectionHelper contract would be available.100 **/101 contractAddress: H160 & AugmentedConst<ApiType>;102 /**103 * Generic const104 **/105 [key: string]: Codec;106 };107 configuration: {108 appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;109 dayRelayBlocks: u32 & AugmentedConst<ApiType>;110 defaultCollatorSelectionKickThreshold: u32 & AugmentedConst<ApiType>;111 defaultCollatorSelectionLicenseBond: u128 & AugmentedConst<ApiType>;112 defaultCollatorSelectionMaxCollators: u32 & AugmentedConst<ApiType>;113 defaultMinGasPrice: u64 & AugmentedConst<ApiType>;114 defaultWeightToFeeCoefficient: u64 & AugmentedConst<ApiType>;115 maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;116 /**117 * Generic const118 **/119 [key: string]: Codec;120 };121 council: {122 /**123 * The maximum weight of a dispatch call that can be proposed and executed.124 **/125 maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;126 /**127 * Generic const128 **/129 [key: string]: Codec;130 };131 democracy: {132 /**133 * Period in blocks where an external proposal may not be re-submitted after being vetoed.134 **/135 cooloffPeriod: u32 & AugmentedConst<ApiType>;136 /**137 * The period between a proposal being approved and enacted.138 * 139 * It should generally be a little more than the unstake period to ensure that140 * voting stakers have an opportunity to remove themselves from the system in the case141 * where they are on the losing side of a vote.142 **/143 enactmentPeriod: u32 & AugmentedConst<ApiType>;144 /**145 * Minimum voting period allowed for a fast-track referendum.146 **/147 fastTrackVotingPeriod: u32 & AugmentedConst<ApiType>;148 /**149 * Indicator for whether an emergency origin is even allowed to happen. Some chains may150 * want to set this permanently to `false`, others may want to condition it on things such151 * as an upgrade having happened recently.152 **/153 instantAllowed: bool & AugmentedConst<ApiType>;154 /**155 * How often (in blocks) new public referenda are launched.156 **/157 launchPeriod: u32 & AugmentedConst<ApiType>;158 /**159 * The maximum number of items which can be blacklisted.160 **/161 maxBlacklisted: u32 & AugmentedConst<ApiType>;162 /**163 * The maximum number of deposits a public proposal may have at any time.164 **/165 maxDeposits: u32 & AugmentedConst<ApiType>;166 /**167 * The maximum number of public proposals that can exist at any time.168 **/169 maxProposals: u32 & AugmentedConst<ApiType>;170 /**171 * The maximum number of votes for an account.172 * 173 * Also used to compute weight, an overly big value can174 * lead to extrinsic with very big weight: see `delegate` for instance.175 **/176 maxVotes: u32 & AugmentedConst<ApiType>;177 /**178 * The minimum amount to be used as a deposit for a public referendum proposal.179 **/180 minimumDeposit: u128 & AugmentedConst<ApiType>;181 /**182 * The minimum period of vote locking.183 * 184 * It should be no shorter than enactment period to ensure that in the case of an approval,185 * those successful voters are locked into the consequences that their votes entail.186 **/187 voteLockingPeriod: u32 & AugmentedConst<ApiType>;188 /**189 * How often (in blocks) to check for new votes.190 **/191 votingPeriod: u32 & AugmentedConst<ApiType>;192 /**193 * Generic const194 **/195 [key: string]: Codec;196 };197 evmContractHelpers: {198 /**199 * Address, under which magic contract will be available200 **/201 contractAddress: H160 & AugmentedConst<ApiType>;202 /**203 * Generic const204 **/205 [key: string]: Codec;206 };207 fellowshipReferenda: {208 /**209 * Quantization level for the referendum wakeup scheduler. A higher number will result in210 * fewer storage reads/writes needed for smaller voters, but also result in delays to the211 * automatic referendum status changes. Explicit servicing instructions are unaffected.212 **/213 alarmInterval: u32 & AugmentedConst<ApiType>;214 /**215 * Maximum size of the referendum queue for a single track.216 **/217 maxQueued: u32 & AugmentedConst<ApiType>;218 /**219 * The minimum amount to be used as a deposit for a public referendum proposal.220 **/221 submissionDeposit: u128 & AugmentedConst<ApiType>;222 /**223 * Information concerning the different referendum tracks.224 **/225 tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;226 /**227 * The number of blocks after submission that a referendum must begin being decided by.228 * Once this passes, then anyone may cancel the referendum.229 **/230 undecidingTimeout: u32 & AugmentedConst<ApiType>;231 /**232 * Generic const233 **/234 [key: string]: Codec;235 };236 identity: {237 /**238 * The amount held on deposit for a registered identity239 **/240 basicDeposit: u128 & AugmentedConst<ApiType>;241 /**242 * The amount held on deposit per additional field for a registered identity.243 **/244 fieldDeposit: u128 & AugmentedConst<ApiType>;245 /**246 * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O247 * required to access an identity, but can be pretty high.248 **/249 maxAdditionalFields: u32 & AugmentedConst<ApiType>;250 /**251 * Maxmimum number of registrars allowed in the system. Needed to bound the complexity252 * of, e.g., updating judgements.253 **/254 maxRegistrars: u32 & AugmentedConst<ApiType>;255 /**256 * The maximum number of sub-accounts allowed per identified account.257 **/258 maxSubAccounts: u32 & AugmentedConst<ApiType>;259 /**260 * The amount held on deposit for a registered subaccount. This should account for the fact261 * that one storage item's value will increase by the size of an account ID, and there will262 * be another trie item whose value is the size of an account ID plus 32 bytes.263 **/264 subAccountDeposit: u128 & AugmentedConst<ApiType>;265 /**266 * Generic const267 **/268 [key: string]: Codec;269 };270 inflation: {271 /**272 * Number of blocks that pass between treasury balance updates due to inflation273 **/274 inflationBlockInterval: u32 & AugmentedConst<ApiType>;275 /**276 * Generic const277 **/278 [key: string]: Codec;279 };280 scheduler: {281 /**282 * The maximum weight that may be scheduled per block for any dispatchables.283 **/284 maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;285 /**286 * The maximum number of scheduled calls in the queue for a single block.287 * 288 * NOTE:289 * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a290 * higher limit under `runtime-benchmarks` feature.291 **/292 maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;293 /**294 * Generic const295 **/296 [key: string]: Codec;297 };298 stateTrieMigration: {299 /**300 * Maximal number of bytes that a key can have.301 * 302 * FRAME itself does not limit the key length.303 * The concrete value must therefore depend on your storage usage.304 * A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of305 * keys which are then hashed and concatenated, resulting in arbitrarily long keys.306 * 307 * Use the *state migration RPC* to retrieve the length of the longest key in your308 * storage: <https://github.com/paritytech/substrate/issues/11642>309 * 310 * The migration will halt with a `Halted` event if this value is too small.311 * Since there is no real penalty from over-estimating, it is advised to use a large312 * value. The default is 512 byte.313 * 314 * Some key lengths for reference:315 * - [`frame_support::storage::StorageValue`]: 32 byte316 * - [`frame_support::storage::StorageMap`]: 64 byte317 * - [`frame_support::storage::StorageDoubleMap`]: 96 byte318 * 319 * For more info see320 * <https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/>321 **/322 maxKeyLen: u32 & AugmentedConst<ApiType>;323 /**324 * Generic const325 **/326 [key: string]: Codec;327 };328 system: {329 /**330 * Maximum number of block number to block hash mappings to keep (oldest pruned first).331 **/332 blockHashCount: u32 & AugmentedConst<ApiType>;333 /**334 * The maximum length of a block (in bytes).335 **/336 blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;337 /**338 * Block & extrinsics weights: base values and limits.339 **/340 blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;341 /**342 * The weight of runtime database operations the runtime can invoke.343 **/344 dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;345 /**346 * The designated SS58 prefix of this chain.347 * 348 * This replaces the "ss58Format" property declared in the chain spec. Reason is349 * that the runtime should know about the prefix in order to make use of it as350 * an identifier of the chain.351 **/352 ss58Prefix: u16 & AugmentedConst<ApiType>;353 /**354 * Get the chain's current version.355 **/356 version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;357 /**358 * Generic const359 **/360 [key: string]: Codec;361 };362 technicalCommittee: {363 /**364 * The maximum weight of a dispatch call that can be proposed and executed.365 **/366 maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;367 /**368 * Generic const369 **/370 [key: string]: Codec;371 };372 timestamp: {373 /**374 * The minimum period between blocks. Beware that this is different to the *expected*375 * period that the block production apparatus provides. Your chosen consensus system will376 * generally work with this to determine a sensible block time. e.g. For Aura, it will be377 * double this period on default settings.378 **/379 minimumPeriod: u64 & AugmentedConst<ApiType>;380 /**381 * Generic const382 **/383 [key: string]: Codec;384 };385 tokens: {386 maxLocks: u32 & AugmentedConst<ApiType>;387 /**388 * The maximum number of named reserves that can exist on an account.389 **/390 maxReserves: u32 & AugmentedConst<ApiType>;391 /**392 * Generic const393 **/394 [key: string]: Codec;395 };396 transactionPayment: {397 /**398 * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their399 * `priority`400 * 401 * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later402 * added to a tip component in regular `priority` calculations.403 * It means that a `Normal` transaction can front-run a similarly-sized `Operational`404 * extrinsic (with no tip), by including a tip value greater than the virtual tip.405 * 406 * ```rust,ignore407 * // For `Normal`408 * let priority = priority_calc(tip);409 * 410 * // For `Operational`411 * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;412 * let priority = priority_calc(tip + virtual_tip);413 * ```414 * 415 * Note that since we use `final_fee` the multiplier applies also to the regular `tip`416 * sent with the transaction. So, not only does the transaction get a priority bump based417 * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`418 * transactions.419 **/420 operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;421 /**422 * Generic const423 **/424 [key: string]: Codec;425 };426 treasury: {427 /**428 * Percentage of spare funds (if any) that are burnt per spend period.429 **/430 burn: Permill & AugmentedConst<ApiType>;431 /**432 * The maximum number of approvals that can wait in the spending queue.433 * 434 * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.435 **/436 maxApprovals: u32 & AugmentedConst<ApiType>;437 /**438 * The treasury's pallet id, used for deriving its sovereign account ID.439 **/440 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;441 /**442 * Fraction of a proposal's value that should be bonded in order to place the proposal.443 * An accepted proposal gets these back. A rejected proposal does not.444 **/445 proposalBond: Permill & AugmentedConst<ApiType>;446 /**447 * Maximum amount of funds that should be placed in a deposit for making a proposal.448 **/449 proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;450 /**451 * Minimum amount of funds that should be placed in a deposit for making a proposal.452 **/453 proposalBondMinimum: u128 & AugmentedConst<ApiType>;454 /**455 * Period between successive spends.456 **/457 spendPeriod: u32 & AugmentedConst<ApiType>;458 /**459 * Generic const460 **/461 [key: string]: Codec;462 };463 unique: {464 /**465 * Maximum admins per collection.466 **/467 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;468 /**469 * Default FT collection limit.470 **/471 ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;472 /**473 * Maximal length of a collection description.474 **/475 maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;476 /**477 * Maximal length of a collection name.478 **/479 maxCollectionNameLength: u32 & AugmentedConst<ApiType>;480 /**481 * Maximum size for all collection properties.482 **/483 maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;484 /**485 * A maximum number of token properties.486 **/487 maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;488 /**489 * Maximal length of a property key.490 **/491 maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;492 /**493 * Maximal length of a property value.494 **/495 maxPropertyValueLength: u32 & AugmentedConst<ApiType>;496 /**497 * Maximal length of a token prefix.498 **/499 maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;500 /**501 * Maximum size of all token properties.502 **/503 maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;504 /**505 * A maximum number of levels of depth in the token nesting tree.506 **/507 nestingBudget: u32 & AugmentedConst<ApiType>;508 /**509 * Default NFT collection limit.510 **/511 nftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;512 /**513 * Default RFT collection limit.514 **/515 rftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;516 /**517 * Generic const518 **/519 [key: string]: Codec;520 };521 vesting: {522 /**523 * The minimum amount transferred to call `vested_transfer`.524 **/525 minVestedTransfer: u128 & AugmentedConst<ApiType>;526 /**527 * Generic const528 **/529 [key: string]: Codec;530 };531 xTokens: {532 /**533 * Base XCM weight.534 * 535 * The actually weight for an XCM message is `T::BaseXcmWeight +536 * T::Weigher::weight(&msg)`.537 **/538 baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;539 /**540 * Self chain location.541 **/542 selfLocation: XcmV3MultiLocation & AugmentedConst<ApiType>;543 /**544 * Generic const545 **/546 [key: string]: Codec;547 };548 } // AugmentedConsts549} // declare moduletests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -762,32 +762,6 @@
**/
[key: string]: AugmentedError<ApiType>;
};
- govScheduler: {
- /**
- * Failed to schedule a call
- **/
- FailedToSchedule: AugmentedError<ApiType>;
- /**
- * Attempt to use a non-named function on a named task.
- **/
- Named: AugmentedError<ApiType>;
- /**
- * Cannot find the scheduled call.
- **/
- NotFound: AugmentedError<ApiType>;
- /**
- * Reschedule failed because it does not change scheduled time.
- **/
- RescheduleNoChange: AugmentedError<ApiType>;
- /**
- * Given target block number is in the past.
- **/
- TargetBlockNumberInPast: AugmentedError<ApiType>;
- /**
- * Generic error
- **/
- [key: string]: AugmentedError<ApiType>;
- };
identity: {
/**
* Account ID is already named.
@@ -1074,6 +1048,32 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ scheduler: {
+ /**
+ * Failed to schedule a call
+ **/
+ FailedToSchedule: AugmentedError<ApiType>;
+ /**
+ * Attempt to use a non-named function on a named task.
+ **/
+ Named: AugmentedError<ApiType>;
+ /**
+ * Cannot find the scheduled call.
+ **/
+ NotFound: AugmentedError<ApiType>;
+ /**
+ * Reschedule failed because it does not change scheduled time.
+ **/
+ RescheduleNoChange: AugmentedError<ApiType>;
+ /**
+ * Given target block number is in the past.
+ **/
+ TargetBlockNumberInPast: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
session: {
/**
* Registered duplicate key.
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -628,36 +628,6 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
- govScheduler: {
- /**
- * The call for the provided hash was not found so the task has been aborted.
- **/
- CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
- /**
- * Canceled some task.
- **/
- Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
- /**
- * Dispatched some task.
- **/
- Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError> }>;
- /**
- * The given task was unable to be renewed since the agenda is full at that block.
- **/
- PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
- /**
- * The given task can never be executed since it is overweight.
- **/
- PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
- /**
- * Scheduled some task.
- **/
- Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
- /**
- * Generic event
- **/
- [key: string]: AugmentedEvent<ApiType>;
- };
identity: {
/**
* A number of identities and associated info were forcibly inserted.
@@ -952,6 +922,36 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ scheduler: {
+ /**
+ * The call for the provided hash was not found so the task has been aborted.
+ **/
+ CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
+ /**
+ * Canceled some task.
+ **/
+ Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
+ /**
+ * Dispatched some task.
+ **/
+ Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError> }>;
+ /**
+ * The given task was unable to be renewed since the agenda is full at that block.
+ **/
+ PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
+ /**
+ * The given task can never be executed since it is overweight.
+ **/
+ PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
+ /**
+ * Scheduled some task.
+ **/
+ Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
session: {
/**
* New session has happened. Note that the argument is the session index, not the
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -10,7 +10,7 @@
import type { BTreeMap, Bytes, Option, 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 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletCollectiveVotes, PalletConfigurationAppPromotionConfiguration, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCodeMetadata, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletPreimageRequestStatus, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV4AbridgedHostConfiguration, PolkadotPrimitivesV4PersistedValidationData, PolkadotPrimitivesV4UpgradeRestriction, QuartzRuntimeRuntimeCommonSessionKeys, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV3MultiLocation, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletCollectiveVotes, PalletConfigurationAppPromotionConfiguration, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCodeMetadata, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletPreimageRequestStatus, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV4AbridgedHostConfiguration, PolkadotPrimitivesV4PersistedValidationData, PolkadotPrimitivesV4UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV3MultiLocation, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -611,24 +611,6 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
- govScheduler: {
- /**
- * Items to be executed, indexed by the block number that they should be executed on.
- **/
- agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
- incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
- /**
- * Lookup from a name to the block number and index of the task.
- *
- * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
- * identities.
- **/
- lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
- /**
- * Generic query
- **/
- [key: string]: QueryableStorageEntry<ApiType>;
- };
identity: {
/**
* Information that is pertinent to identify the entity behind an account.
@@ -1011,6 +993,24 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ scheduler: {
+ /**
+ * Items to be executed, indexed by the block number that they should be executed on.
+ **/
+ agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Lookup from a name to the block number and index of the task.
+ *
+ * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
+ * identities.
+ **/
+ lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
session: {
/**
* Current index of the session.
@@ -1031,7 +1031,7 @@
/**
* The next session keys for a validator.
**/
- nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<QuartzRuntimeRuntimeCommonSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<OpalRuntimeRuntimeCommonSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* True if the underlying economic identities or weighting behind the validators
* has changed in the queued validator set.
@@ -1041,7 +1041,7 @@
* The queued keys for the next session. When the next session begins, these keys
* will be used to determine the validator's session keys.
**/
- queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, QuartzRuntimeRuntimeCommonSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
+ queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, OpalRuntimeRuntimeCommonSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current set of validators.
**/
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -10,7 +10,7 @@
import type { Bytes, Compact, 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 { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, QuartzRuntimeOriginCaller, QuartzRuntimeRuntimeCommonSessionKeys, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, OpalRuntimeOriginCaller, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -987,7 +987,7 @@
*
* Emits `Submitted`.
**/
- submit: AugmentedSubmittable<(proposalOrigin: QuartzRuntimeOriginCaller | { system: any } | { Void: any } | { Council: any } | { TechnicalCommittee: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Origins: any } | { Ethereum: any } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [QuartzRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>;
+ submit: AugmentedSubmittable<(proposalOrigin: OpalRuntimeOriginCaller | { system: any } | { Void: any } | { Council: any } | { TechnicalCommittee: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Origins: any } | { Ethereum: any } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [OpalRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>;
/**
* Generic tx
**/
@@ -996,36 +996,6 @@
foreignAssets: {
registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;
- /**
- * Generic tx
- **/
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
- };
- govScheduler: {
- /**
- * Cancel an anonymously scheduled task.
- **/
- cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
- /**
- * Cancel a named scheduled task.
- **/
- cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
- /**
- * Anonymously schedule a task.
- **/
- schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
- /**
- * Anonymously schedule a task after a delay.
- **/
- scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
- /**
- * Schedule a named task.
- **/
- scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
- /**
- * Schedule a named task after a delay.
- **/
- scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
/**
* Generic tx
**/
@@ -1580,6 +1550,36 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ scheduler: {
+ /**
+ * Cancel an anonymously scheduled task.
+ **/
+ cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
+ /**
+ * Cancel a named scheduled task.
+ **/
+ cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
+ /**
+ * Anonymously schedule a task.
+ **/
+ schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
+ /**
+ * Anonymously schedule a task after a delay.
+ **/
+ scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
+ /**
+ * Schedule a named task.
+ **/
+ scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
+ /**
+ * Schedule a named task after a delay.
+ **/
+ scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
session: {
/**
* Removes any session key(s) of the function caller.
@@ -1607,7 +1607,7 @@
* - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
* fixed.
**/
- setKeys: AugmentedSubmittable<(keys: QuartzRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [QuartzRuntimeRuntimeCommonSessionKeys, Bytes]>;
+ setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>;
/**
* Generic tx
**/
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesIdAmount, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, 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, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackInfo, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV4AbridgedHostConfiguration, PolkadotPrimitivesV4AbridgedHrmpChannel, PolkadotPrimitivesV4PersistedValidationData, PolkadotPrimitivesV4UpgradeRestriction, QuartzRuntimeOriginCaller, QuartzRuntimeRuntime, QuartzRuntimeRuntimeCommonIdentityDisableIdentityCalls, QuartzRuntimeRuntimeCommonMaintenanceCheckMaintenance, QuartzRuntimeRuntimeCommonSessionKeys, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, 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, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAssetId, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedResponse, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesIdAmount, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, 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, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackInfo, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV4AbridgedHostConfiguration, PolkadotPrimitivesV4AbridgedHrmpChannel, PolkadotPrimitivesV4PersistedValidationData, PolkadotPrimitivesV4UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, 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, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAssetId, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, 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 { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -795,6 +795,11 @@
OffenceDetails: OffenceDetails;
Offender: Offender;
OldV1SessionInfo: OldV1SessionInfo;
+ OpalRuntimeOriginCaller: OpalRuntimeOriginCaller;
+ OpalRuntimeRuntime: OpalRuntimeRuntime;
+ OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls;
+ OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
+ OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OpaqueCall: OpaqueCall;
OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof;
OpaqueMetadata: OpaqueMetadata;
@@ -1067,11 +1072,6 @@
PvfCheckStatement: PvfCheckStatement;
PvfExecTimeoutKind: PvfExecTimeoutKind;
PvfPrepTimeoutKind: PvfPrepTimeoutKind;
- QuartzRuntimeOriginCaller: QuartzRuntimeOriginCaller;
- QuartzRuntimeRuntime: QuartzRuntimeRuntime;
- QuartzRuntimeRuntimeCommonIdentityDisableIdentityCalls: QuartzRuntimeRuntimeCommonIdentityDisableIdentityCalls;
- QuartzRuntimeRuntimeCommonMaintenanceCheckMaintenance: QuartzRuntimeRuntimeCommonMaintenanceCheckMaintenance;
- QuartzRuntimeRuntimeCommonSessionKeys: QuartzRuntimeRuntimeCommonSessionKeys;
QueryId: QueryId;
QueryStatus: QueryStatus;
QueueConfigData: QueueConfigData;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -752,6 +752,41 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
+/** @name OpalRuntimeOriginCaller */
+export interface OpalRuntimeOriginCaller extends Enum {
+ readonly isSystem: boolean;
+ readonly asSystem: FrameSupportDispatchRawOrigin;
+ readonly isVoid: boolean;
+ readonly asVoid: SpCoreVoid;
+ readonly isCouncil: boolean;
+ readonly asCouncil: PalletCollectiveRawOrigin;
+ readonly isTechnicalCommittee: boolean;
+ readonly asTechnicalCommittee: PalletCollectiveRawOrigin;
+ readonly isPolkadotXcm: boolean;
+ readonly asPolkadotXcm: PalletXcmOrigin;
+ readonly isCumulusXcm: boolean;
+ readonly asCumulusXcm: CumulusPalletXcmOrigin;
+ readonly isOrigins: boolean;
+ readonly asOrigins: PalletGovOriginsOrigin;
+ readonly isEthereum: boolean;
+ readonly asEthereum: PalletEthereumRawOrigin;
+ readonly type: 'System' | 'Void' | 'Council' | 'TechnicalCommittee' | 'PolkadotXcm' | 'CumulusXcm' | 'Origins' | 'Ethereum';
+}
+
+/** @name OpalRuntimeRuntime */
+export interface OpalRuntimeRuntime extends Null {}
+
+/** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls */
+export interface OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls extends Null {}
+
+/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */
+export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}
+
+/** @name OpalRuntimeRuntimeCommonSessionKeys */
+export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {
+ readonly aura: SpConsensusAuraSr25519AppSr25519Public;
+}
+
/** @name OrmlTokensAccountData */
export interface OrmlTokensAccountData extends Struct {
readonly free: u128;
@@ -2789,7 +2824,7 @@
export interface PalletReferendaCall extends Enum {
readonly isSubmit: boolean;
readonly asSubmit: {
- readonly proposalOrigin: QuartzRuntimeOriginCaller;
+ readonly proposalOrigin: OpalRuntimeOriginCaller;
readonly proposal: FrameSupportPreimagesBounded;
readonly enactmentMoment: FrameSupportScheduleDispatchTime;
} & Struct;
@@ -2991,7 +3026,7 @@
/** @name PalletReferendaReferendumStatus */
export interface PalletReferendaReferendumStatus extends Struct {
readonly track: u16;
- readonly origin: QuartzRuntimeOriginCaller;
+ readonly origin: OpalRuntimeOriginCaller;
readonly proposal: FrameSupportPreimagesBounded;
readonly enactment: FrameSupportScheduleDispatchTime;
readonly submitted: u32;
@@ -3122,14 +3157,14 @@
readonly priority: u8;
readonly call: FrameSupportPreimagesBounded;
readonly maybePeriodic: Option<ITuple<[u32, u32]>>;
- readonly origin: QuartzRuntimeOriginCaller;
+ readonly origin: OpalRuntimeOriginCaller;
}
/** @name PalletSessionCall */
export interface PalletSessionCall extends Enum {
readonly isSetKeys: boolean;
readonly asSetKeys: {
- readonly keys_: QuartzRuntimeRuntimeCommonSessionKeys;
+ readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;
readonly proof: Bytes;
} & Struct;
readonly isPurgeKeys: boolean;
@@ -3923,41 +3958,6 @@
export interface PolkadotPrimitivesV4UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
-}
-
-/** @name QuartzRuntimeOriginCaller */
-export interface QuartzRuntimeOriginCaller extends Enum {
- readonly isSystem: boolean;
- readonly asSystem: FrameSupportDispatchRawOrigin;
- readonly isVoid: boolean;
- readonly asVoid: SpCoreVoid;
- readonly isCouncil: boolean;
- readonly asCouncil: PalletCollectiveRawOrigin;
- readonly isTechnicalCommittee: boolean;
- readonly asTechnicalCommittee: PalletCollectiveRawOrigin;
- readonly isPolkadotXcm: boolean;
- readonly asPolkadotXcm: PalletXcmOrigin;
- readonly isCumulusXcm: boolean;
- readonly asCumulusXcm: CumulusPalletXcmOrigin;
- readonly isOrigins: boolean;
- readonly asOrigins: PalletGovOriginsOrigin;
- readonly isEthereum: boolean;
- readonly asEthereum: PalletEthereumRawOrigin;
- readonly type: 'System' | 'Void' | 'Council' | 'TechnicalCommittee' | 'PolkadotXcm' | 'CumulusXcm' | 'Origins' | 'Ethereum';
-}
-
-/** @name QuartzRuntimeRuntime */
-export interface QuartzRuntimeRuntime extends Null {}
-
-/** @name QuartzRuntimeRuntimeCommonIdentityDisableIdentityCalls */
-export interface QuartzRuntimeRuntimeCommonIdentityDisableIdentityCalls extends Null {}
-
-/** @name QuartzRuntimeRuntimeCommonMaintenanceCheckMaintenance */
-export interface QuartzRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}
-
-/** @name QuartzRuntimeRuntimeCommonSessionKeys */
-export interface QuartzRuntimeRuntimeCommonSessionKeys extends Struct {
- readonly aura: SpConsensusAuraSr25519AppSr25519Public;
}
/** @name SpArithmeticArithmeticError */
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -61,7 +61,7 @@
}
},
/**
- * Lookup19: frame_system::EventRecord<quartz_runtime::RuntimeEvent, primitive_types::H256>
+ * Lookup19: frame_system::EventRecord<opal_runtime::RuntimeEvent, primitive_types::H256>
**/
FrameSystemEventRecord: {
phase: 'FrameSystemPhase',
@@ -1081,7 +1081,7 @@
}
},
/**
- * Lookup86: frame_support::traits::preimages::Bounded<quartz_runtime::RuntimeCall>
+ * Lookup86: frame_support::traits::preimages::Bounded<opal_runtime::RuntimeCall>
**/
FrameSupportPreimagesBounded: {
_enum: {
@@ -1297,16 +1297,16 @@
_alias: {
keys_: 'keys',
},
- keys_: 'QuartzRuntimeRuntimeCommonSessionKeys',
+ keys_: 'OpalRuntimeRuntimeCommonSessionKeys',
proof: 'Bytes',
},
purge_keys: 'Null'
}
},
/**
- * Lookup115: quartz_runtime::runtime_common::SessionKeys
+ * Lookup115: opal_runtime::runtime_common::SessionKeys
**/
- QuartzRuntimeRuntimeCommonSessionKeys: {
+ OpalRuntimeRuntimeCommonSessionKeys: {
aura: 'SpConsensusAuraSr25519AppSr25519Public'
},
/**
@@ -2030,7 +2030,7 @@
PalletReferendaCall: {
_enum: {
submit: {
- proposalOrigin: 'QuartzRuntimeOriginCaller',
+ proposalOrigin: 'OpalRuntimeOriginCaller',
proposal: 'FrameSupportPreimagesBounded',
enactmentMoment: 'FrameSupportScheduleDispatchTime',
},
@@ -2062,9 +2062,9 @@
}
},
/**
- * Lookup209: quartz_runtime::OriginCaller
+ * Lookup209: opal_runtime::OriginCaller
**/
- QuartzRuntimeOriginCaller: {
+ OpalRuntimeOriginCaller: {
_enum: {
system: 'FrameSupportDispatchRawOrigin',
__Unused1: 'Null',
@@ -4177,7 +4177,7 @@
_enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested']
},
/**
- * Lookup481: pallet_democracy::types::ReferendumInfo<BlockNumber, frame_support::traits::preimages::Bounded<quartz_runtime::RuntimeCall>, Balance>
+ * Lookup481: pallet_democracy::types::ReferendumInfo<BlockNumber, frame_support::traits::preimages::Bounded<opal_runtime::RuntimeCall>, Balance>
**/
PalletDemocracyReferendumInfo: {
_enum: {
@@ -4189,7 +4189,7 @@
}
},
/**
- * Lookup482: pallet_democracy::types::ReferendumStatus<BlockNumber, frame_support::traits::preimages::Bounded<quartz_runtime::RuntimeCall>, Balance>
+ * Lookup482: pallet_democracy::types::ReferendumStatus<BlockNumber, frame_support::traits::preimages::Bounded<opal_runtime::RuntimeCall>, Balance>
**/
PalletDemocracyReferendumStatus: {
end: 'u32',
@@ -4277,7 +4277,7 @@
_enum: ['AlreadyMember', 'NotMember', 'NotPolling', 'Ongoing', 'NoneRemaining', 'Corruption', 'RankTooLow', 'InvalidWitness', 'NoPermission']
},
/**
- * Lookup508: pallet_referenda::types::ReferendumInfo<TrackId, quartz_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<quartz_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
+ * Lookup508: pallet_referenda::types::ReferendumInfo<TrackId, opal_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<opal_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
**/
PalletReferendaReferendumInfo: {
_enum: {
@@ -4290,11 +4290,11 @@
}
},
/**
- * Lookup509: pallet_referenda::types::ReferendumStatus<TrackId, quartz_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<quartz_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
+ * Lookup509: pallet_referenda::types::ReferendumStatus<TrackId, opal_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<opal_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
**/
PalletReferendaReferendumStatus: {
track: 'u16',
- origin: 'QuartzRuntimeOriginCaller',
+ origin: 'OpalRuntimeOriginCaller',
proposal: 'FrameSupportPreimagesBounded',
enactment: 'FrameSupportScheduleDispatchTime',
submitted: 'u32',
@@ -4363,14 +4363,14 @@
_enum: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit', 'BadStatus', 'PreimageNotExist']
},
/**
- * Lookup526: pallet_scheduler::Scheduled<Name, frame_support::traits::preimages::Bounded<quartz_runtime::RuntimeCall>, BlockNumber, quartz_runtime::OriginCaller, sp_core::crypto::AccountId32>
+ * Lookup526: pallet_scheduler::Scheduled<Name, frame_support::traits::preimages::Bounded<opal_runtime::RuntimeCall>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>
**/
PalletSchedulerScheduled: {
maybeId: 'Option<[u8;32]>',
priority: 'u8',
call: 'FrameSupportPreimagesBounded',
maybePeriodic: 'Option<(u32,u32)>',
- origin: 'QuartzRuntimeOriginCaller'
+ origin: 'OpalRuntimeOriginCaller'
},
/**
* Lookup528: pallet_scheduler::pallet::Error<T>
@@ -4912,23 +4912,23 @@
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup674: quartz_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup674: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
- QuartzRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
+ OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup675: quartz_runtime::runtime_common::identity::DisableIdentityCalls
+ * Lookup675: opal_runtime::runtime_common::identity::DisableIdentityCalls
**/
- QuartzRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null',
+ OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null',
/**
- * Lookup676: pallet_template_transaction_payment::ChargeTransactionPayment<quartz_runtime::Runtime>
+ * Lookup676: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup677: quartz_runtime::Runtime
+ * Lookup677: opal_runtime::Runtime
**/
- QuartzRuntimeRuntime: 'Null',
+ OpalRuntimeRuntime: 'Null',
/**
- * Lookup678: pallet_ethereum::FakeTransactionFinalizer<quartz_runtime::Runtime>
+ * Lookup678: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesIdAmount, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, 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, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackInfo, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV4AbridgedHostConfiguration, PolkadotPrimitivesV4AbridgedHrmpChannel, PolkadotPrimitivesV4PersistedValidationData, PolkadotPrimitivesV4UpgradeRestriction, QuartzRuntimeOriginCaller, QuartzRuntimeRuntime, QuartzRuntimeRuntimeCommonIdentityDisableIdentityCalls, QuartzRuntimeRuntimeCommonMaintenanceCheckMaintenance, QuartzRuntimeRuntimeCommonSessionKeys, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, 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, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAssetId, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedResponse, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesIdAmount, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, 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, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackInfo, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV4AbridgedHostConfiguration, PolkadotPrimitivesV4AbridgedHrmpChannel, PolkadotPrimitivesV4PersistedValidationData, PolkadotPrimitivesV4UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, 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, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAssetId, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedResponse, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -79,6 +79,11 @@
FrameSystemLimitsBlockWeights: FrameSystemLimitsBlockWeights;
FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass;
FrameSystemPhase: FrameSystemPhase;
+ OpalRuntimeOriginCaller: OpalRuntimeOriginCaller;
+ OpalRuntimeRuntime: OpalRuntimeRuntime;
+ OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls;
+ OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
+ OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OrmlTokensAccountData: OrmlTokensAccountData;
OrmlTokensBalanceLock: OrmlTokensBalanceLock;
OrmlTokensModuleCall: OrmlTokensModuleCall;
@@ -244,11 +249,6 @@
PolkadotPrimitivesV4AbridgedHrmpChannel: PolkadotPrimitivesV4AbridgedHrmpChannel;
PolkadotPrimitivesV4PersistedValidationData: PolkadotPrimitivesV4PersistedValidationData;
PolkadotPrimitivesV4UpgradeRestriction: PolkadotPrimitivesV4UpgradeRestriction;
- QuartzRuntimeOriginCaller: QuartzRuntimeOriginCaller;
- QuartzRuntimeRuntime: QuartzRuntimeRuntime;
- QuartzRuntimeRuntimeCommonIdentityDisableIdentityCalls: QuartzRuntimeRuntimeCommonIdentityDisableIdentityCalls;
- QuartzRuntimeRuntimeCommonMaintenanceCheckMaintenance: QuartzRuntimeRuntimeCommonMaintenanceCheckMaintenance;
- QuartzRuntimeRuntimeCommonSessionKeys: QuartzRuntimeRuntimeCommonSessionKeys;
SpArithmeticArithmeticError: SpArithmeticArithmeticError;
SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public;
SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1390,15 +1390,15 @@
interface PalletSessionCall extends Enum {
readonly isSetKeys: boolean;
readonly asSetKeys: {
- readonly keys_: QuartzRuntimeRuntimeCommonSessionKeys;
+ readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;
readonly proof: Bytes;
} & Struct;
readonly isPurgeKeys: boolean;
readonly type: 'SetKeys' | 'PurgeKeys';
}
- /** @name QuartzRuntimeRuntimeCommonSessionKeys (115) */
- interface QuartzRuntimeRuntimeCommonSessionKeys extends Struct {
+ /** @name OpalRuntimeRuntimeCommonSessionKeys (115) */
+ interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {
readonly aura: SpConsensusAuraSr25519AppSr25519Public;
}
@@ -2177,7 +2177,7 @@
interface PalletReferendaCall extends Enum {
readonly isSubmit: boolean;
readonly asSubmit: {
- readonly proposalOrigin: QuartzRuntimeOriginCaller;
+ readonly proposalOrigin: OpalRuntimeOriginCaller;
readonly proposal: FrameSupportPreimagesBounded;
readonly enactmentMoment: FrameSupportScheduleDispatchTime;
} & Struct;
@@ -2217,8 +2217,8 @@
readonly type: 'Submit' | 'PlaceDecisionDeposit' | 'RefundDecisionDeposit' | 'Cancel' | 'Kill' | 'NudgeReferendum' | 'OneFewerDeciding' | 'RefundSubmissionDeposit' | 'SetMetadata';
}
- /** @name QuartzRuntimeOriginCaller (209) */
- interface QuartzRuntimeOriginCaller extends Enum {
+ /** @name OpalRuntimeOriginCaller (209) */
+ interface OpalRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin;
readonly isVoid: boolean;
@@ -4616,7 +4616,7 @@
/** @name PalletReferendaReferendumStatus (509) */
interface PalletReferendaReferendumStatus extends Struct {
readonly track: u16;
- readonly origin: QuartzRuntimeOriginCaller;
+ readonly origin: OpalRuntimeOriginCaller;
readonly proposal: FrameSupportPreimagesBounded;
readonly enactment: FrameSupportScheduleDispatchTime;
readonly submitted: u32;
@@ -4701,7 +4701,7 @@
readonly priority: u8;
readonly call: FrameSupportPreimagesBounded;
readonly maybePeriodic: Option<ITuple<[u32, u32]>>;
- readonly origin: QuartzRuntimeOriginCaller;
+ readonly origin: OpalRuntimeOriginCaller;
}
/** @name PalletSchedulerError (528) */
@@ -5312,17 +5312,17 @@
/** @name FrameSystemExtensionsCheckWeight (673) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name QuartzRuntimeRuntimeCommonMaintenanceCheckMaintenance (674) */
- type QuartzRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
+ /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (674) */
+ type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
- /** @name QuartzRuntimeRuntimeCommonIdentityDisableIdentityCalls (675) */
- type QuartzRuntimeRuntimeCommonIdentityDisableIdentityCalls = Null;
+ /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (675) */
+ type OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls = Null;
/** @name PalletTemplateTransactionPaymentChargeTransactionPayment (676) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name QuartzRuntimeRuntime (677) */
- type QuartzRuntimeRuntime = Null;
+ /** @name OpalRuntimeRuntime (677) */
+ type OpalRuntimeRuntime = Null;
/** @name PalletEthereumFakeTransactionFinalizer (678) */
type PalletEthereumFakeTransactionFinalizer = Null;