Metadata bump (#4425)
This commit is contained in:
@@ -8,6 +8,7 @@ Changes:
|
||||
|
||||
- Extend support for `WrapperKeepOpaque` with internal decoding (allowed to fail)
|
||||
- Adjust max-entries in historic provider LRU
|
||||
- Update to latest Substrate/Polkadot/Kusama metadata
|
||||
- Update `@polkadot/util` to 8.3.1
|
||||
- Update package paths under ESM
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool,
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportMiscWrapperKeepOpaque, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerReleases, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1DisputeState, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1SessionInfo, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportMiscWrapperKeepOpaque, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerReleases, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1DisputeState, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { Observable } from '@polkadot/types/types';
|
||||
|
||||
declare module '@polkadot/api-base/types/storage' {
|
||||
@@ -264,6 +264,11 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* The active configuration for the current session.
|
||||
**/
|
||||
activeConfig: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsConfigurationHostConfiguration>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* If this is set, then the configuration setters will bypass the consistency checks. This
|
||||
* is meant to be used only as the last resort.
|
||||
**/
|
||||
bypassConsistencyCheck: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Pending configuration (if any) for the next session.
|
||||
*
|
||||
@@ -1072,7 +1077,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
|
||||
* Does not have any entries before the session index in the first session change notification.
|
||||
**/
|
||||
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV1SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV2SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
|
||||
@@ -7,7 +7,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportMiscWrapperKeepOpaque, FrameSupportScheduleMaybeHashed, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletSocietyJudgement, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppSignature, PolkadotPrimitivesV1InherentData, PolkadotPrimitivesV1PvfCheckStatement, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportMiscWrapperKeepOpaque, FrameSupportScheduleMaybeHashed, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletSocietyJudgement, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppSignature, PolkadotPrimitivesV1InherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||
|
||||
declare module '@polkadot/api-base/types/submittable' {
|
||||
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
||||
@@ -437,6 +437,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
configuration: {
|
||||
/**
|
||||
* Setting this to true will disable consistency checks for the configuration setters.
|
||||
* Use with caution.
|
||||
**/
|
||||
setBypassConsistencyCheck: AugmentedSubmittable<(updated: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
||||
/**
|
||||
* Set the availability period for parachains.
|
||||
**/
|
||||
@@ -553,6 +558,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
/**
|
||||
* Sets the minimum delay between announcing the upgrade block for a parachain until the
|
||||
* upgrade taking place.
|
||||
*
|
||||
* See the field documentation for information and constraints for the new value.
|
||||
**/
|
||||
setMinimumValidationUpgradeDelay: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
@@ -604,14 +611,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Sets the soft limit for the phase of dispatching dispatchable upward messages.
|
||||
**/
|
||||
setUmpServiceTotalWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
||||
/**
|
||||
* Set the validation upgrade cooldown.
|
||||
**/
|
||||
setValidationUpgradeCooldown: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Set the validation upgrade delay.
|
||||
**/
|
||||
setValidationUpgradeDelay: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Set the validation upgrade frequency.
|
||||
**/
|
||||
setValidationUpgradeFrequency: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Set the zeroth delay tranche width.
|
||||
**/
|
||||
@@ -1967,6 +1974,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
paras: {
|
||||
/**
|
||||
* Adds the validation code to the storage.
|
||||
*
|
||||
* The code will not be added if it is already present. Additionally, if PVF pre-checking
|
||||
* is running for that code, it will be instantly accepted.
|
||||
*
|
||||
* Otherwise, the code will be added into the storage. Note that the code will be added
|
||||
* into storage with reference count 0. This is to account the fact that there are no users
|
||||
* for this code yet. The caller will have to make sure that this code eventually gets
|
||||
* used by some parachain or removed from the storage to avoid storage leaks. For the latter
|
||||
* prefer to use the `poke_unused_validation_code` dispatchable to raw storage manipulation.
|
||||
*
|
||||
* This function is mainly meant to be used for upgrading parachains that do not follow
|
||||
* the go-ahead signal while the PVF pre-checking feature is enabled.
|
||||
**/
|
||||
addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Note a new block head for para within the context of the current block.
|
||||
**/
|
||||
@@ -1993,7 +2016,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
|
||||
* enacts the results if that was the last vote before achieving the supermajority.
|
||||
**/
|
||||
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV1PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV0ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV1PvfCheckStatement, PolkadotPrimitivesV0ValidatorAppSignature]>;
|
||||
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV2PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV0ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV0ValidatorAppSignature]>;
|
||||
/**
|
||||
* Remove the validation code from the storage iff the reference count is 0.
|
||||
*
|
||||
* This is better than removing the storage directly, because it will not remove the code
|
||||
* that was suddenly got used by some parachain while this dispatchable was pending
|
||||
* dispatching.
|
||||
**/
|
||||
pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
|
||||
@@ -7,7 +7,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool,
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportMiscWrapperKeepOpaque, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerReleases, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1SessionInfo, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportMiscWrapperKeepOpaque, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerReleases, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { Observable } from '@polkadot/types/types';
|
||||
|
||||
declare module '@polkadot/api-base/types/storage' {
|
||||
@@ -264,6 +264,11 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* The active configuration for the current session.
|
||||
**/
|
||||
activeConfig: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsConfigurationHostConfiguration>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* If this is set, then the configuration setters will bypass the consistency checks. This
|
||||
* is meant to be used only as the last resort.
|
||||
**/
|
||||
bypassConsistencyCheck: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Pending configuration (if any) for the next session.
|
||||
*
|
||||
@@ -1011,7 +1016,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
|
||||
* Does not have any entries before the session index in the first session change notification.
|
||||
**/
|
||||
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV1SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV2SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
|
||||
@@ -7,7 +7,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportMiscWrapperKeepOpaque, FrameSupportScheduleMaybeHashed, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppSignature, PolkadotPrimitivesV1InherentData, PolkadotPrimitivesV1PvfCheckStatement, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportMiscWrapperKeepOpaque, FrameSupportScheduleMaybeHashed, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppSignature, PolkadotPrimitivesV1InherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||
|
||||
declare module '@polkadot/api-base/types/submittable' {
|
||||
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
||||
@@ -437,6 +437,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
configuration: {
|
||||
/**
|
||||
* Setting this to true will disable consistency checks for the configuration setters.
|
||||
* Use with caution.
|
||||
**/
|
||||
setBypassConsistencyCheck: AugmentedSubmittable<(updated: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
||||
/**
|
||||
* Set the availability period for parachains.
|
||||
**/
|
||||
@@ -553,6 +558,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
/**
|
||||
* Sets the minimum delay between announcing the upgrade block for a parachain until the
|
||||
* upgrade taking place.
|
||||
*
|
||||
* See the field documentation for information and constraints for the new value.
|
||||
**/
|
||||
setMinimumValidationUpgradeDelay: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
@@ -604,14 +611,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Sets the soft limit for the phase of dispatching dispatchable upward messages.
|
||||
**/
|
||||
setUmpServiceTotalWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
||||
/**
|
||||
* Set the validation upgrade cooldown.
|
||||
**/
|
||||
setValidationUpgradeCooldown: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Set the validation upgrade delay.
|
||||
**/
|
||||
setValidationUpgradeDelay: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Set the validation upgrade frequency.
|
||||
**/
|
||||
setValidationUpgradeFrequency: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Set the zeroth delay tranche width.
|
||||
**/
|
||||
@@ -1916,6 +1923,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
paras: {
|
||||
/**
|
||||
* Adds the validation code to the storage.
|
||||
*
|
||||
* The code will not be added if it is already present. Additionally, if PVF pre-checking
|
||||
* is running for that code, it will be instantly accepted.
|
||||
*
|
||||
* Otherwise, the code will be added into the storage. Note that the code will be added
|
||||
* into storage with reference count 0. This is to account the fact that there are no users
|
||||
* for this code yet. The caller will have to make sure that this code eventually gets
|
||||
* used by some parachain or removed from the storage to avoid storage leaks. For the latter
|
||||
* prefer to use the `poke_unused_validation_code` dispatchable to raw storage manipulation.
|
||||
*
|
||||
* This function is mainly meant to be used for upgrading parachains that do not follow
|
||||
* the go-ahead signal while the PVF pre-checking feature is enabled.
|
||||
**/
|
||||
addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Note a new block head for para within the context of the current block.
|
||||
**/
|
||||
@@ -1942,7 +1965,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
|
||||
* enacts the results if that was the last vote before achieving the supermajority.
|
||||
**/
|
||||
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV1PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV0ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV1PvfCheckStatement, PolkadotPrimitivesV0ValidatorAppSignature]>;
|
||||
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV2PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV0ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV0ValidatorAppSignature]>;
|
||||
/**
|
||||
* Remove the validation code from the storage iff the reference count is 0.
|
||||
*
|
||||
* This is better than removing the storage directly, because it will not remove the code
|
||||
* that was suddenly got used by some parachain while this dispatchable was pending
|
||||
* dispatching.
|
||||
**/
|
||||
pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
|
||||
@@ -206,11 +206,30 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
};
|
||||
contracts: {
|
||||
/**
|
||||
* The maximum number of tries that can be queued for deletion.
|
||||
* The maximum number of contracts that can be pending for deletion.
|
||||
*
|
||||
* When a contract is deleted by calling `seal_terminate` it becomes inaccessible
|
||||
* immediately, but the deletion of the storage items it has accumulated is performed
|
||||
* later. The contract is put into the deletion queue. This defines how many
|
||||
* contracts can be queued up at the same time. If that limit is reached `seal_terminate`
|
||||
* will fail. The action must be retried in a later block in that case.
|
||||
*
|
||||
* The reasons for limiting the queue depth are:
|
||||
*
|
||||
* 1. The queue is in storage in order to be persistent between blocks. We want to limit
|
||||
* the amount of storage that can be consumed.
|
||||
* 2. The queue is stored in a vector and needs to be decoded as a whole when reading
|
||||
* it at the end of each block. Longer queues take more weight to decode and hence
|
||||
* limit the amount of items that can be deleted per block.
|
||||
**/
|
||||
deletionQueueDepth: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum amount of weight that can be consumed per block for lazy trie removal.
|
||||
*
|
||||
* The amount of weight that is dedicated per block to work on the deletion queue. Larger
|
||||
* values allow more trie keys to be deleted in each block but reduce the amount of
|
||||
* weight that is left for transactions. See [`Self::DeletionQueueDepth`] for more
|
||||
* information about the deletion queue.
|
||||
**/
|
||||
deletionWeightLimit: u64 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
@@ -223,6 +242,7 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
depositPerByte: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The amount of balance a caller has to pay for each storage item.
|
||||
*
|
||||
* # Note
|
||||
*
|
||||
* Changing this value for an existing chain might need a storage migration.
|
||||
|
||||
@@ -533,7 +533,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Set the balances of a given account.
|
||||
*
|
||||
* This will alter `FreeBalance` and `ReservedBalance` in storage. it will
|
||||
* also decrease the total issuance of the system (`TotalIssuance`).
|
||||
* also alter the total issuance of the system (`TotalIssuance`) appropriately.
|
||||
* If the new free or reserved balance is below the existential deposit,
|
||||
* it will reset the account nonce (`frame_system::AccountNonce`).
|
||||
*
|
||||
@@ -544,7 +544,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Transfer some liquid free balance to another account.
|
||||
*
|
||||
* `transfer` will set the `FreeBalance` of the sender and receiver.
|
||||
* It will decrease the total issuance of the system by the `TransferFee`.
|
||||
* If the sender's account is below the existential deposit as a result
|
||||
* of the transfer, the account will be reaped.
|
||||
*
|
||||
|
||||
@@ -834,7 +834,7 @@ export default {
|
||||
**/
|
||||
PolkadotRuntimeParachainsConfigurationPalletCall: {
|
||||
_enum: {
|
||||
set_validation_upgrade_frequency: {
|
||||
set_validation_upgrade_cooldown: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
@@ -1096,7 +1096,13 @@ export default {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'u32'
|
||||
new_: 'u32',
|
||||
},
|
||||
set_bypass_consistency_check: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
},
|
||||
new_: 'bool'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1245,16 +1251,22 @@ export default {
|
||||
force_queue_action: {
|
||||
para: 'u32',
|
||||
},
|
||||
add_trusted_validation_code: {
|
||||
validationCode: 'Bytes',
|
||||
},
|
||||
poke_unused_validation_code: {
|
||||
validationCodeHash: 'H256',
|
||||
},
|
||||
include_pvf_check_statement: {
|
||||
stmt: 'PolkadotPrimitivesV1PvfCheckStatement',
|
||||
stmt: 'PolkadotPrimitivesV2PvfCheckStatement',
|
||||
signature: 'PolkadotPrimitivesV0ValidatorAppSignature'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup384: polkadot_primitives::v1::PvfCheckStatement
|
||||
* Lookup384: polkadot_primitives::v2::PvfCheckStatement
|
||||
**/
|
||||
PolkadotPrimitivesV1PvfCheckStatement: {
|
||||
PolkadotPrimitivesV2PvfCheckStatement: {
|
||||
accept: 'bool',
|
||||
subject: 'H256',
|
||||
sessionIndex: 'u32',
|
||||
@@ -1742,7 +1754,7 @@ export default {
|
||||
maxUpwardMessageSize: 'u32',
|
||||
maxUpwardMessageNumPerCandidate: 'u32',
|
||||
hrmpMaxMessageNumPerCandidate: 'u32',
|
||||
validationUpgradeFrequency: 'u32',
|
||||
validationUpgradeCooldown: 'u32',
|
||||
validationUpgradeDelay: 'u32',
|
||||
maxPovSize: 'u32',
|
||||
maxDownwardMessageSize: 'u32',
|
||||
@@ -2052,9 +2064,12 @@ export default {
|
||||
_enum: ['OpenHrmpChannelToSelf', 'OpenHrmpChannelInvalidRecipient', 'OpenHrmpChannelZeroCapacity', 'OpenHrmpChannelCapacityExceedsLimit', 'OpenHrmpChannelZeroMessageSize', 'OpenHrmpChannelMessageSizeExceedsLimit', 'OpenHrmpChannelAlreadyExists', 'OpenHrmpChannelAlreadyRequested', 'OpenHrmpChannelLimitExceeded', 'AcceptHrmpChannelDoesntExist', 'AcceptHrmpChannelAlreadyConfirmed', 'AcceptHrmpChannelLimitExceeded', 'CloseHrmpChannelUnauthorized', 'CloseHrmpChannelDoesntExist', 'CloseHrmpChannelAlreadyUnderway', 'CancelHrmpOpenChannelUnauthorized', 'OpenHrmpChannelDoesntExist', 'OpenHrmpChannelAlreadyConfirmed']
|
||||
},
|
||||
/**
|
||||
* Lookup638: polkadot_primitives::v1::SessionInfo
|
||||
* Lookup638: polkadot_primitives::v2::SessionInfo
|
||||
**/
|
||||
PolkadotPrimitivesV1SessionInfo: {
|
||||
PolkadotPrimitivesV2SessionInfo: {
|
||||
activeValidatorIndices: 'Vec<u32>',
|
||||
randomSeed: '[u8;32]',
|
||||
disputePeriod: 'u32',
|
||||
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
|
||||
discoveryKeys: 'Vec<SpAuthorityDiscoveryAppPublic>',
|
||||
assignmentKeys: 'Vec<PolkadotPrimitivesV1AssignmentAppPublic>',
|
||||
|
||||
@@ -833,8 +833,8 @@ declare module '@polkadot/types/lookup' {
|
||||
|
||||
/** @name PolkadotRuntimeParachainsConfigurationPalletCall (353) */
|
||||
export interface PolkadotRuntimeParachainsConfigurationPalletCall extends Enum {
|
||||
readonly isSetValidationUpgradeFrequency: boolean;
|
||||
readonly asSetValidationUpgradeFrequency: {
|
||||
readonly isSetValidationUpgradeCooldown: boolean;
|
||||
readonly asSetValidationUpgradeCooldown: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly isSetValidationUpgradeDelay: boolean;
|
||||
@@ -1009,7 +1009,11 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly asSetMinimumValidationUpgradeDelay: {
|
||||
readonly new_: u32;
|
||||
} & Struct;
|
||||
readonly type: 'SetValidationUpgradeFrequency' | 'SetValidationUpgradeDelay' | 'SetCodeRetentionPeriod' | 'SetMaxCodeSize' | 'SetMaxPovSize' | 'SetMaxHeadDataSize' | 'SetParathreadCores' | 'SetParathreadRetries' | 'SetGroupRotationFrequency' | 'SetChainAvailabilityPeriod' | 'SetThreadAvailabilityPeriod' | 'SetSchedulingLookahead' | 'SetMaxValidatorsPerCore' | 'SetMaxValidators' | 'SetDisputePeriod' | 'SetDisputePostConclusionAcceptancePeriod' | 'SetDisputeMaxSpamSlots' | 'SetDisputeConclusionByTimeOutPeriod' | 'SetNoShowSlots' | 'SetNDelayTranches' | 'SetZerothDelayTrancheWidth' | 'SetNeededApprovals' | 'SetRelayVrfModuloSamples' | 'SetMaxUpwardQueueCount' | 'SetMaxUpwardQueueSize' | 'SetMaxDownwardMessageSize' | 'SetUmpServiceTotalWeight' | 'SetMaxUpwardMessageSize' | 'SetMaxUpwardMessageNumPerCandidate' | 'SetHrmpOpenRequestTtl' | 'SetHrmpSenderDeposit' | 'SetHrmpRecipientDeposit' | 'SetHrmpChannelMaxCapacity' | 'SetHrmpChannelMaxTotalSize' | 'SetHrmpMaxParachainInboundChannels' | 'SetHrmpMaxParathreadInboundChannels' | 'SetHrmpChannelMaxMessageSize' | 'SetHrmpMaxParachainOutboundChannels' | 'SetHrmpMaxParathreadOutboundChannels' | 'SetHrmpMaxMessageNumPerCandidate' | 'SetUmpMaxIndividualWeight' | 'SetPvfCheckingEnabled' | 'SetPvfVotingTtl' | 'SetMinimumValidationUpgradeDelay';
|
||||
readonly isSetBypassConsistencyCheck: boolean;
|
||||
readonly asSetBypassConsistencyCheck: {
|
||||
readonly new_: bool;
|
||||
} & Struct;
|
||||
readonly type: 'SetValidationUpgradeCooldown' | 'SetValidationUpgradeDelay' | 'SetCodeRetentionPeriod' | 'SetMaxCodeSize' | 'SetMaxPovSize' | 'SetMaxHeadDataSize' | 'SetParathreadCores' | 'SetParathreadRetries' | 'SetGroupRotationFrequency' | 'SetChainAvailabilityPeriod' | 'SetThreadAvailabilityPeriod' | 'SetSchedulingLookahead' | 'SetMaxValidatorsPerCore' | 'SetMaxValidators' | 'SetDisputePeriod' | 'SetDisputePostConclusionAcceptancePeriod' | 'SetDisputeMaxSpamSlots' | 'SetDisputeConclusionByTimeOutPeriod' | 'SetNoShowSlots' | 'SetNDelayTranches' | 'SetZerothDelayTrancheWidth' | 'SetNeededApprovals' | 'SetRelayVrfModuloSamples' | 'SetMaxUpwardQueueCount' | 'SetMaxUpwardQueueSize' | 'SetMaxDownwardMessageSize' | 'SetUmpServiceTotalWeight' | 'SetMaxUpwardMessageSize' | 'SetMaxUpwardMessageNumPerCandidate' | 'SetHrmpOpenRequestTtl' | 'SetHrmpSenderDeposit' | 'SetHrmpRecipientDeposit' | 'SetHrmpChannelMaxCapacity' | 'SetHrmpChannelMaxTotalSize' | 'SetHrmpMaxParachainInboundChannels' | 'SetHrmpMaxParathreadInboundChannels' | 'SetHrmpChannelMaxMessageSize' | 'SetHrmpMaxParachainOutboundChannels' | 'SetHrmpMaxParathreadOutboundChannels' | 'SetHrmpMaxMessageNumPerCandidate' | 'SetUmpMaxIndividualWeight' | 'SetPvfCheckingEnabled' | 'SetPvfVotingTtl' | 'SetMinimumValidationUpgradeDelay' | 'SetBypassConsistencyCheck';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsSharedPalletCall (354) */
|
||||
@@ -1146,16 +1150,24 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly asForceQueueAction: {
|
||||
readonly para: u32;
|
||||
} & Struct;
|
||||
readonly isAddTrustedValidationCode: boolean;
|
||||
readonly asAddTrustedValidationCode: {
|
||||
readonly validationCode: Bytes;
|
||||
} & Struct;
|
||||
readonly isPokeUnusedValidationCode: boolean;
|
||||
readonly asPokeUnusedValidationCode: {
|
||||
readonly validationCodeHash: H256;
|
||||
} & Struct;
|
||||
readonly isIncludePvfCheckStatement: boolean;
|
||||
readonly asIncludePvfCheckStatement: {
|
||||
readonly stmt: PolkadotPrimitivesV1PvfCheckStatement;
|
||||
readonly stmt: PolkadotPrimitivesV2PvfCheckStatement;
|
||||
readonly signature: PolkadotPrimitivesV0ValidatorAppSignature;
|
||||
} & Struct;
|
||||
readonly type: 'ForceSetCurrentCode' | 'ForceSetCurrentHead' | 'ForceScheduleCodeUpgrade' | 'ForceNoteNewHead' | 'ForceQueueAction' | 'IncludePvfCheckStatement';
|
||||
readonly type: 'ForceSetCurrentCode' | 'ForceSetCurrentHead' | 'ForceScheduleCodeUpgrade' | 'ForceNoteNewHead' | 'ForceQueueAction' | 'AddTrustedValidationCode' | 'PokeUnusedValidationCode' | 'IncludePvfCheckStatement';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV1PvfCheckStatement (384) */
|
||||
export interface PolkadotPrimitivesV1PvfCheckStatement extends Struct {
|
||||
/** @name PolkadotPrimitivesV2PvfCheckStatement (384) */
|
||||
export interface PolkadotPrimitivesV2PvfCheckStatement extends Struct {
|
||||
readonly accept: bool;
|
||||
readonly subject: H256;
|
||||
readonly sessionIndex: u32;
|
||||
@@ -1695,7 +1707,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly maxUpwardMessageSize: u32;
|
||||
readonly maxUpwardMessageNumPerCandidate: u32;
|
||||
readonly hrmpMaxMessageNumPerCandidate: u32;
|
||||
readonly validationUpgradeFrequency: u32;
|
||||
readonly validationUpgradeCooldown: u32;
|
||||
readonly validationUpgradeDelay: u32;
|
||||
readonly maxPovSize: u32;
|
||||
readonly maxDownwardMessageSize: u32;
|
||||
@@ -2043,8 +2055,11 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'OpenHrmpChannelToSelf' | 'OpenHrmpChannelInvalidRecipient' | 'OpenHrmpChannelZeroCapacity' | 'OpenHrmpChannelCapacityExceedsLimit' | 'OpenHrmpChannelZeroMessageSize' | 'OpenHrmpChannelMessageSizeExceedsLimit' | 'OpenHrmpChannelAlreadyExists' | 'OpenHrmpChannelAlreadyRequested' | 'OpenHrmpChannelLimitExceeded' | 'AcceptHrmpChannelDoesntExist' | 'AcceptHrmpChannelAlreadyConfirmed' | 'AcceptHrmpChannelLimitExceeded' | 'CloseHrmpChannelUnauthorized' | 'CloseHrmpChannelDoesntExist' | 'CloseHrmpChannelAlreadyUnderway' | 'CancelHrmpOpenChannelUnauthorized' | 'OpenHrmpChannelDoesntExist' | 'OpenHrmpChannelAlreadyConfirmed';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV1SessionInfo (638) */
|
||||
export interface PolkadotPrimitivesV1SessionInfo extends Struct {
|
||||
/** @name PolkadotPrimitivesV2SessionInfo (638) */
|
||||
export interface PolkadotPrimitivesV2SessionInfo extends Struct {
|
||||
readonly activeValidatorIndices: Vec<u32>;
|
||||
readonly randomSeed: U8aFixed;
|
||||
readonly disputePeriod: u32;
|
||||
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
|
||||
readonly discoveryKeys: Vec<SpAuthorityDiscoveryAppPublic>;
|
||||
readonly assignmentKeys: Vec<PolkadotPrimitivesV1AssignmentAppPublic>;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -4752,7 +4752,7 @@
|
||||
"type": {
|
||||
"plain": 634
|
||||
},
|
||||
"fallback": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000100000001000000000000000000060000006400000002000000c8000000010000000000000000000000000000000000000000c817a804000000000200000000000000",
|
||||
"fallback": "0x00000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000100000001000000000000000000060000006400000002000000c8000000010000000000000000000000000000000000000000c817a804000000000200000002000000",
|
||||
"docs": [
|
||||
" The active configuration for the current session."
|
||||
]
|
||||
@@ -4792,6 +4792,18 @@
|
||||
" The list is sorted ascending by session index. Also, this list can only contain at most",
|
||||
" 2 items: for the next session and for the `scheduled_session`."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "BypassConsistencyCheck",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 54
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" If this is set, then the configuration setters will bypass the consistency checks. This",
|
||||
" is meant to be used only as the last resort."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -28037,7 +28037,7 @@
|
||||
"variant": {
|
||||
"variants": [
|
||||
{
|
||||
"name": "set_validation_upgrade_frequency",
|
||||
"name": "set_validation_upgrade_cooldown",
|
||||
"fields": [
|
||||
{
|
||||
"name": "new",
|
||||
@@ -28048,7 +28048,7 @@
|
||||
],
|
||||
"index": 0,
|
||||
"docs": [
|
||||
"Set the validation upgrade frequency."
|
||||
"Set the validation upgrade cooldown."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -28696,7 +28696,25 @@
|
||||
"index": 43,
|
||||
"docs": [
|
||||
"Sets the minimum delay between announcing the upgrade block for a parachain until the",
|
||||
"upgrade taking place."
|
||||
"upgrade taking place.",
|
||||
"",
|
||||
"See the field documentation for information and constraints for the new value."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "set_bypass_consistency_check",
|
||||
"fields": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": 54,
|
||||
"typeName": "bool",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 44,
|
||||
"docs": [
|
||||
"Setting this to true will disable consistency checks for the configuration setters.",
|
||||
"Use with caution."
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -29650,6 +29668,52 @@
|
||||
"initializer..."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "add_trusted_validation_code",
|
||||
"fields": [
|
||||
{
|
||||
"name": "validation_code",
|
||||
"type": 488,
|
||||
"typeName": "ValidationCode",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 5,
|
||||
"docs": [
|
||||
"Adds the validation code to the storage.",
|
||||
"",
|
||||
"The code will not be added if it is already present. Additionally, if PVF pre-checking",
|
||||
"is running for that code, it will be instantly accepted.",
|
||||
"",
|
||||
"Otherwise, the code will be added into the storage. Note that the code will be added",
|
||||
"into storage with reference count 0. This is to account the fact that there are no users",
|
||||
"for this code yet. The caller will have to make sure that this code eventually gets",
|
||||
"used by some parachain or removed from the storage to avoid storage leaks. For the latter",
|
||||
"prefer to use the `poke_unused_validation_code` dispatchable to raw storage manipulation.",
|
||||
"",
|
||||
"This function is mainly meant to be used for upgrading parachains that do not follow",
|
||||
"the go-ahead signal while the PVF pre-checking feature is enabled."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "poke_unused_validation_code",
|
||||
"fields": [
|
||||
{
|
||||
"name": "validation_code_hash",
|
||||
"type": 94,
|
||||
"typeName": "ValidationCodeHash",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 6,
|
||||
"docs": [
|
||||
"Remove the validation code from the storage iff the reference count is 0.",
|
||||
"",
|
||||
"This is better than removing the storage directly, because it will not remove the code",
|
||||
"that was suddenly got used by some parachain while this dispatchable was pending",
|
||||
"dispatching."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "include_pvf_check_statement",
|
||||
"fields": [
|
||||
@@ -29666,7 +29730,7 @@
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 5,
|
||||
"index": 7,
|
||||
"docs": [
|
||||
"Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and",
|
||||
"enacts the results if that was the last vote before achieving the supermajority."
|
||||
@@ -29685,7 +29749,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"polkadot_primitives",
|
||||
"v1",
|
||||
"v2",
|
||||
"PvfCheckStatement"
|
||||
],
|
||||
"params": [],
|
||||
@@ -29701,19 +29765,19 @@
|
||||
{
|
||||
"name": "subject",
|
||||
"type": 94,
|
||||
"typeName": "ValidationCodeHash",
|
||||
"typeName": "v1::ValidationCodeHash",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "session_index",
|
||||
"type": 4,
|
||||
"typeName": "SessionIndex",
|
||||
"typeName": "v1::SessionIndex",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "validator_index",
|
||||
"type": 479,
|
||||
"typeName": "ValidatorIndex",
|
||||
"typeName": "v1::ValidatorIndex",
|
||||
"docs": []
|
||||
}
|
||||
]
|
||||
@@ -38553,7 +38617,7 @@
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "validation_upgrade_frequency",
|
||||
"name": "validation_upgrade_cooldown",
|
||||
"type": 4,
|
||||
"typeName": "BlockNumber",
|
||||
"docs": []
|
||||
@@ -41053,35 +41117,53 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"polkadot_primitives",
|
||||
"v1",
|
||||
"v2",
|
||||
"SessionInfo"
|
||||
],
|
||||
"params": [],
|
||||
"def": {
|
||||
"composite": {
|
||||
"fields": [
|
||||
{
|
||||
"name": "active_validator_indices",
|
||||
"type": 639,
|
||||
"typeName": "Vec<v1::ValidatorIndex>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "random_seed",
|
||||
"type": 1,
|
||||
"typeName": "[u8; 32]",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "dispute_period",
|
||||
"type": 4,
|
||||
"typeName": "v1::SessionIndex",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "validators",
|
||||
"type": 640,
|
||||
"typeName": "Vec<ValidatorId>",
|
||||
"typeName": "Vec<v1::ValidatorId>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "discovery_keys",
|
||||
"type": 694,
|
||||
"typeName": "Vec<AuthorityDiscoveryId>",
|
||||
"typeName": "Vec<v1::AuthorityDiscoveryId>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "assignment_keys",
|
||||
"type": 692,
|
||||
"typeName": "Vec<AssignmentId>",
|
||||
"typeName": "Vec<v1::AssignmentId>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "validator_groups",
|
||||
"type": 650,
|
||||
"typeName": "Vec<Vec<ValidatorIndex>>",
|
||||
"typeName": "Vec<Vec<v1::ValidatorIndex>>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -4165,7 +4165,7 @@
|
||||
"type": {
|
||||
"plain": 579
|
||||
},
|
||||
"fallback": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000100000001000000000000000000060000006400000002000000c8000000010000000000000000000000000000000000000000c817a804000000000200000000000000",
|
||||
"fallback": "0x00000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000100000001000000000000000000060000006400000002000000c8000000010000000000000000000000000000000000000000c817a804000000000200000002000000",
|
||||
"docs": [
|
||||
" The active configuration for the current session."
|
||||
]
|
||||
@@ -4205,6 +4205,18 @@
|
||||
" The list is sorted ascending by session index. Also, this list can only contain at most",
|
||||
" 2 items: for the next session and for the `scheduled_session`."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "BypassConsistencyCheck",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 59
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" If this is set, then the configuration setters will bypass the consistency checks. This",
|
||||
" is meant to be used only as the last resort."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -22635,7 +22635,7 @@
|
||||
"variant": {
|
||||
"variants": [
|
||||
{
|
||||
"name": "set_validation_upgrade_frequency",
|
||||
"name": "set_validation_upgrade_cooldown",
|
||||
"fields": [
|
||||
{
|
||||
"name": "new",
|
||||
@@ -22646,7 +22646,7 @@
|
||||
],
|
||||
"index": 0,
|
||||
"docs": [
|
||||
"Set the validation upgrade frequency."
|
||||
"Set the validation upgrade cooldown."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -23294,7 +23294,25 @@
|
||||
"index": 43,
|
||||
"docs": [
|
||||
"Sets the minimum delay between announcing the upgrade block for a parachain until the",
|
||||
"upgrade taking place."
|
||||
"upgrade taking place.",
|
||||
"",
|
||||
"See the field documentation for information and constraints for the new value."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "set_bypass_consistency_check",
|
||||
"fields": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": 59,
|
||||
"typeName": "bool",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 44,
|
||||
"docs": [
|
||||
"Setting this to true will disable consistency checks for the configuration setters.",
|
||||
"Use with caution."
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -24271,6 +24289,52 @@
|
||||
"initializer..."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "add_trusted_validation_code",
|
||||
"fields": [
|
||||
{
|
||||
"name": "validation_code",
|
||||
"type": 372,
|
||||
"typeName": "ValidationCode",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 5,
|
||||
"docs": [
|
||||
"Adds the validation code to the storage.",
|
||||
"",
|
||||
"The code will not be added if it is already present. Additionally, if PVF pre-checking",
|
||||
"is running for that code, it will be instantly accepted.",
|
||||
"",
|
||||
"Otherwise, the code will be added into the storage. Note that the code will be added",
|
||||
"into storage with reference count 0. This is to account the fact that there are no users",
|
||||
"for this code yet. The caller will have to make sure that this code eventually gets",
|
||||
"used by some parachain or removed from the storage to avoid storage leaks. For the latter",
|
||||
"prefer to use the `poke_unused_validation_code` dispatchable to raw storage manipulation.",
|
||||
"",
|
||||
"This function is mainly meant to be used for upgrading parachains that do not follow",
|
||||
"the go-ahead signal while the PVF pre-checking feature is enabled."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "poke_unused_validation_code",
|
||||
"fields": [
|
||||
{
|
||||
"name": "validation_code_hash",
|
||||
"type": 91,
|
||||
"typeName": "ValidationCodeHash",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 6,
|
||||
"docs": [
|
||||
"Remove the validation code from the storage iff the reference count is 0.",
|
||||
"",
|
||||
"This is better than removing the storage directly, because it will not remove the code",
|
||||
"that was suddenly got used by some parachain while this dispatchable was pending",
|
||||
"dispatching."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "include_pvf_check_statement",
|
||||
"fields": [
|
||||
@@ -24287,7 +24351,7 @@
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 5,
|
||||
"index": 7,
|
||||
"docs": [
|
||||
"Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and",
|
||||
"enacts the results if that was the last vote before achieving the supermajority."
|
||||
@@ -24306,7 +24370,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"polkadot_primitives",
|
||||
"v1",
|
||||
"v2",
|
||||
"PvfCheckStatement"
|
||||
],
|
||||
"params": [],
|
||||
@@ -24322,19 +24386,19 @@
|
||||
{
|
||||
"name": "subject",
|
||||
"type": 91,
|
||||
"typeName": "ValidationCodeHash",
|
||||
"typeName": "v1::ValidationCodeHash",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "session_index",
|
||||
"type": 4,
|
||||
"typeName": "SessionIndex",
|
||||
"typeName": "v1::SessionIndex",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "validator_index",
|
||||
"type": 363,
|
||||
"typeName": "ValidatorIndex",
|
||||
"typeName": "v1::ValidatorIndex",
|
||||
"docs": []
|
||||
}
|
||||
]
|
||||
@@ -35301,7 +35365,7 @@
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "validation_upgrade_frequency",
|
||||
"name": "validation_upgrade_cooldown",
|
||||
"type": 4,
|
||||
"typeName": "BlockNumber",
|
||||
"docs": []
|
||||
@@ -37801,35 +37865,53 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"polkadot_primitives",
|
||||
"v1",
|
||||
"v2",
|
||||
"SessionInfo"
|
||||
],
|
||||
"params": [],
|
||||
"def": {
|
||||
"composite": {
|
||||
"fields": [
|
||||
{
|
||||
"name": "active_validator_indices",
|
||||
"type": 584,
|
||||
"typeName": "Vec<v1::ValidatorIndex>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "random_seed",
|
||||
"type": 1,
|
||||
"typeName": "[u8; 32]",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "dispute_period",
|
||||
"type": 4,
|
||||
"typeName": "v1::SessionIndex",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "validators",
|
||||
"type": 585,
|
||||
"typeName": "Vec<ValidatorId>",
|
||||
"typeName": "Vec<v1::ValidatorId>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "discovery_keys",
|
||||
"type": 639,
|
||||
"typeName": "Vec<AuthorityDiscoveryId>",
|
||||
"typeName": "Vec<v1::AuthorityDiscoveryId>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "assignment_keys",
|
||||
"type": 637,
|
||||
"typeName": "Vec<AssignmentId>",
|
||||
"typeName": "Vec<v1::AssignmentId>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "validator_groups",
|
||||
"type": 595,
|
||||
"typeName": "Vec<Vec<ValidatorIndex>>",
|
||||
"typeName": "Vec<Vec<v1::ValidatorIndex>>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -3082,7 +3082,21 @@
|
||||
"type": 4,
|
||||
"value": "0xe6ec0100",
|
||||
"docs": [
|
||||
" The maximum number of tries that can be queued for deletion."
|
||||
" The maximum number of contracts that can be pending for deletion.",
|
||||
"",
|
||||
" When a contract is deleted by calling `seal_terminate` it becomes inaccessible",
|
||||
" immediately, but the deletion of the storage items it has accumulated is performed",
|
||||
" later. The contract is put into the deletion queue. This defines how many",
|
||||
" contracts can be queued up at the same time. If that limit is reached `seal_terminate`",
|
||||
" will fail. The action must be retried in a later block in that case.",
|
||||
"",
|
||||
" The reasons for limiting the queue depth are:",
|
||||
"",
|
||||
" 1. The queue is in storage in order to be persistent between blocks. We want to limit",
|
||||
" \tthe amount of storage that can be consumed.",
|
||||
" 2. The queue is stored in a vector and needs to be decoded as a whole when reading",
|
||||
"\t\tit at the end of each block. Longer queues take more weight to decode and hence",
|
||||
"\t\tlimit the amount of items that can be deleted per block."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -3090,7 +3104,12 @@
|
||||
"type": 8,
|
||||
"value": "0x00d0ed902e000000",
|
||||
"docs": [
|
||||
" The maximum amount of weight that can be consumed per block for lazy trie removal."
|
||||
" The maximum amount of weight that can be consumed per block for lazy trie removal.",
|
||||
"",
|
||||
" The amount of weight that is dedicated per block to work on the deletion queue. Larger",
|
||||
" values allow more trie keys to be deleted in each block but reduce the amount of",
|
||||
" weight that is left for transactions. See [`Self::DeletionQueueDepth`] for more",
|
||||
" information about the deletion queue."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -3111,6 +3130,7 @@
|
||||
"value": "0x00f0ab75a40d00000000000000000000",
|
||||
"docs": [
|
||||
" The amount of balance a caller has to pay for each storage item.",
|
||||
"",
|
||||
" # Note",
|
||||
"",
|
||||
" Changing this value for an existing chain might need a storage migration."
|
||||
|
||||
@@ -10061,7 +10061,6 @@
|
||||
"Transfer some liquid free balance to another account.",
|
||||
"",
|
||||
"`transfer` will set the `FreeBalance` of the sender and receiver.",
|
||||
"It will decrease the total issuance of the system by the `TransferFee`.",
|
||||
"If the sender's account is below the existential deposit as a result",
|
||||
"of the transfer, the account will be reaped.",
|
||||
"",
|
||||
@@ -10113,7 +10112,7 @@
|
||||
"Set the balances of a given account.",
|
||||
"",
|
||||
"This will alter `FreeBalance` and `ReservedBalance` in storage. it will",
|
||||
"also decrease the total issuance of the system (`TotalIssuance`).",
|
||||
"also alter the total issuance of the system (`TotalIssuance`) appropriately.",
|
||||
"If the new free or reserved balance is below the existential deposit,",
|
||||
"it will reset the account nonce (`frame_system::AccountNonce`).",
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user