@polkadot/api-augment 8.0.3-4 → 8.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/api-augment',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '8.0.3-4'
14
+ version: '8.1.1'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
@@ -3,7 +3,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
3
3
  import type { ITuple } from '@polkadot/types-codec/types';
4
4
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
5
5
  import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, KusamaRuntimeProxyType, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
6
+ import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, KusamaRuntimeProxyType, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
7
7
  declare module '@polkadot/api-base/types/events' {
8
8
  interface AugmentedEvents<ApiType extends ApiTypes> {
9
9
  auctions: {
@@ -942,6 +942,10 @@ declare module '@polkadot/api-base/types/events' {
942
942
  * An account has unbonded this amount. \[stash, amount\]
943
943
  **/
944
944
  Unbonded: AugmentedEvent<ApiType, [AccountId32, u128]>;
945
+ /**
946
+ * A validator has set their preferences.
947
+ **/
948
+ ValidatorPrefsSet: AugmentedEvent<ApiType, [AccountId32, PalletStakingValidatorPrefs]>;
945
949
  /**
946
950
  * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
947
951
  * from the unlocking queue. \[stash, amount\]
package/kusama/query.d.ts CHANGED
@@ -4,7 +4,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, 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, 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, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, 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, 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, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
8
8
  import type { Observable } from '@polkadot/types/types';
9
9
  declare module '@polkadot/api-base/types/storage' {
10
10
  interface AugmentedQueries<ApiType extends ApiTypes> {
@@ -313,12 +313,6 @@ declare module '@polkadot/api-base/types/storage' {
313
313
  * is meant to be used only as the last resort.
314
314
  **/
315
315
  bypassConsistencyCheck: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
316
- /**
317
- * Pending configuration (if any) for the next session.
318
- *
319
- * DEPRECATED: This is no longer used, and will be removed in the future.
320
- **/
321
- pendingConfig: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
322
316
  /**
323
317
  * Pending configuration changes.
324
318
  *
@@ -1688,8 +1682,11 @@ declare module '@polkadot/api-base/types/storage' {
1688
1682
  /**
1689
1683
  * Events deposited for the current block.
1690
1684
  *
1691
- * NOTE: This storage item is explicitly unbounded since it is never intended to be read
1692
- * from within the runtime.
1685
+ * NOTE: The item is unbound and should therefore never be read on chain.
1686
+ * It could otherwise inflate the PoV size of a block.
1687
+ *
1688
+ * Events have a large in-memory size. Box the events to not go out-of-memory
1689
+ * just in case someone still reads them from within the runtime.
1693
1690
  **/
1694
1691
  events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
1695
1692
  /**
package/kusama/tx.d.ts CHANGED
@@ -3935,7 +3935,7 @@ declare module '@polkadot/api-base/types/submittable' {
3935
3935
  /**
3936
3936
  * (Re-)set the controller of a stash.
3937
3937
  *
3938
- * Effects will be felt at the beginning of the next era.
3938
+ * Effects will be felt instantly (as soon as this function is completed successfully).
3939
3939
  *
3940
3940
  * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
3941
3941
  *
@@ -3995,7 +3995,7 @@ declare module '@polkadot/api-base/types/submittable' {
3995
3995
  /**
3996
3996
  * (Re-)set the payment target for a controller.
3997
3997
  *
3998
- * Effects will be felt at the beginning of the next era.
3998
+ * Effects will be felt instantly (as soon as this function is completed successfully).
3999
3999
  *
4000
4000
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
4001
4001
  *
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "8.0.3-4",
23
+ "version": "8.1.1",
24
24
  "main": "./cjs/index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
@@ -171,11 +171,11 @@
171
171
  },
172
172
  "dependencies": {
173
173
  "@babel/runtime": "^7.17.9",
174
- "@polkadot/api-base": "8.0.3-4",
175
- "@polkadot/rpc-augment": "8.0.3-4",
176
- "@polkadot/types": "8.0.3-4",
177
- "@polkadot/types-augment": "8.0.3-4",
178
- "@polkadot/types-codec": "8.0.3-4",
174
+ "@polkadot/api-base": "8.1.1",
175
+ "@polkadot/rpc-augment": "8.1.1",
176
+ "@polkadot/types": "8.1.1",
177
+ "@polkadot/types-augment": "8.1.1",
178
+ "@polkadot/types-codec": "8.1.1",
179
179
  "@polkadot/util": "^9.0.1"
180
180
  }
181
181
  }
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@polkadot/api-augment',
6
6
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
7
7
  type: 'esm',
8
- version: '8.0.3-4'
8
+ version: '8.1.1'
9
9
  };
@@ -3,7 +3,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
3
3
  import type { ITuple } from '@polkadot/types-codec/types';
4
4
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
5
5
  import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
6
+ import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
7
7
  declare module '@polkadot/api-base/types/events' {
8
8
  interface AugmentedEvents<ApiType extends ApiTypes> {
9
9
  auctions: {
@@ -817,6 +817,10 @@ declare module '@polkadot/api-base/types/events' {
817
817
  * An account has unbonded this amount. \[stash, amount\]
818
818
  **/
819
819
  Unbonded: AugmentedEvent<ApiType, [AccountId32, u128]>;
820
+ /**
821
+ * A validator has set their preferences.
822
+ **/
823
+ ValidatorPrefsSet: AugmentedEvent<ApiType, [AccountId32, PalletStakingValidatorPrefs]>;
820
824
  /**
821
825
  * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
822
826
  * from the unlocking queue. \[stash, amount\]
@@ -4,7 +4,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
8
8
  import type { Observable } from '@polkadot/types/types';
9
9
  declare module '@polkadot/api-base/types/storage' {
10
10
  interface AugmentedQueries<ApiType extends ApiTypes> {
@@ -313,12 +313,6 @@ declare module '@polkadot/api-base/types/storage' {
313
313
  * is meant to be used only as the last resort.
314
314
  **/
315
315
  bypassConsistencyCheck: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
316
- /**
317
- * Pending configuration (if any) for the next session.
318
- *
319
- * DEPRECATED: This is no longer used, and will be removed in the future.
320
- **/
321
- pendingConfig: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
322
316
  /**
323
317
  * Pending configuration changes.
324
318
  *
@@ -1568,8 +1562,11 @@ declare module '@polkadot/api-base/types/storage' {
1568
1562
  /**
1569
1563
  * Events deposited for the current block.
1570
1564
  *
1571
- * NOTE: This storage item is explicitly unbounded since it is never intended to be read
1572
- * from within the runtime.
1565
+ * NOTE: The item is unbound and should therefore never be read on chain.
1566
+ * It could otherwise inflate the PoV size of a block.
1567
+ *
1568
+ * Events have a large in-memory size. Box the events to not go out-of-memory
1569
+ * just in case someone still reads them from within the runtime.
1573
1570
  **/
1574
1571
  events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
1575
1572
  /**
package/polkadot/tx.d.ts CHANGED
@@ -3340,7 +3340,7 @@ declare module '@polkadot/api-base/types/submittable' {
3340
3340
  /**
3341
3341
  * (Re-)set the controller of a stash.
3342
3342
  *
3343
- * Effects will be felt at the beginning of the next era.
3343
+ * Effects will be felt instantly (as soon as this function is completed successfully).
3344
3344
  *
3345
3345
  * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
3346
3346
  *
@@ -3400,7 +3400,7 @@ declare module '@polkadot/api-base/types/submittable' {
3400
3400
  /**
3401
3401
  * (Re-)set the payment target for a controller.
3402
3402
  *
3403
- * Effects will be felt at the beginning of the next era.
3403
+ * Effects will be felt instantly (as soon as this function is completed successfully).
3404
3404
  *
3405
3405
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3406
3406
  *
@@ -197,7 +197,7 @@ declare module '@polkadot/api-base/types/consts' {
197
197
  **/
198
198
  childBountyValueMinimum: u128 & AugmentedConst<ApiType>;
199
199
  /**
200
- * Maximum number of child-bounties that can be added to a parent bounty.
200
+ * Maximum number of child bounties that can be added to a parent bounty.
201
201
  **/
202
202
  maxActiveChildBountyCount: u32 & AugmentedConst<ApiType>;
203
203
  /**
@@ -179,7 +179,7 @@ declare module '@polkadot/api-base/types/errors' {
179
179
  };
180
180
  bounties: {
181
181
  /**
182
- * The bounty cannot be closed because it has active child-bounties.
182
+ * The bounty cannot be closed because it has active child bounties.
183
183
  **/
184
184
  HasActiveChildBounty: AugmentedError<ApiType>;
185
185
  /**
@@ -238,7 +238,7 @@ declare module '@polkadot/api-base/types/errors' {
238
238
  **/
239
239
  ParentBountyNotActive: AugmentedError<ApiType>;
240
240
  /**
241
- * Number of child-bounties exceeds limit `MaxActiveChildBountyCount`.
241
+ * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
242
242
  **/
243
243
  TooManyChildBounties: AugmentedError<ApiType>;
244
244
  /**
@@ -2,7 +2,7 @@ import type { ApiTypes } from '@polkadot/api-base/types';
2
2
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
3
3
  import type { ITuple } from '@polkadot/types-codec/types';
4
4
  import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
5
- import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, NodeRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
5
+ import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, NodeRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
6
6
  declare module '@polkadot/api-base/types/events' {
7
7
  interface AugmentedEvents<ApiType extends ApiTypes> {
8
8
  assets: {
@@ -909,6 +909,10 @@ declare module '@polkadot/api-base/types/events' {
909
909
  * An account has unbonded this amount. \[stash, amount\]
910
910
  **/
911
911
  Unbonded: AugmentedEvent<ApiType, [AccountId32, u128]>;
912
+ /**
913
+ * A validator has set their preferences.
914
+ **/
915
+ ValidatorPrefsSet: AugmentedEvent<ApiType, [AccountId32, PalletStakingValidatorPrefs]>;
912
916
  /**
913
917
  * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
914
918
  * from the unlocking queue. \[stash, amount\]
@@ -263,7 +263,7 @@ declare module '@polkadot/api-base/types/storage' {
263
263
  };
264
264
  childBounties: {
265
265
  /**
266
- * Child-bounties that have been added.
266
+ * Child bounties that have been added.
267
267
  **/
268
268
  childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
269
269
  /**
@@ -279,7 +279,7 @@ declare module '@polkadot/api-base/types/storage' {
279
279
  **/
280
280
  childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
281
281
  /**
282
- * Number of child-bounties per parent bounty.
282
+ * Number of child bounties per parent bounty.
283
283
  * Map of parent bounty index to number of child bounties.
284
284
  **/
285
285
  parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
@@ -1327,8 +1327,11 @@ declare module '@polkadot/api-base/types/storage' {
1327
1327
  /**
1328
1328
  * Events deposited for the current block.
1329
1329
  *
1330
- * NOTE: This storage item is explicitly unbounded since it is never intended to be read
1331
- * from within the runtime.
1330
+ * NOTE: The item is unbound and should therefore never be read on chain.
1331
+ * It could otherwise inflate the PoV size of a block.
1332
+ *
1333
+ * Events have a large in-memory size. Box the events to not go out-of-memory
1334
+ * just in case someone still reads them from within the runtime.
1332
1335
  **/
1333
1336
  events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
1334
1337
  /**
package/substrate/tx.d.ts CHANGED
@@ -1117,7 +1117,7 @@ declare module '@polkadot/api-base/types/submittable' {
1117
1117
  * parent bounty to child-bounty account, if parent bounty has enough
1118
1118
  * funds, else the call fails.
1119
1119
  *
1120
- * Upper bound to maximum number of active child-bounties that can be
1120
+ * Upper bound to maximum number of active child bounties that can be
1121
1121
  * added are managed via runtime trait config
1122
1122
  * [`Config::MaxActiveChildBountyCount`].
1123
1123
  *
@@ -1134,7 +1134,7 @@ declare module '@polkadot/api-base/types/submittable' {
1134
1134
  *
1135
1135
  * The beneficiary will be able to claim the funds after a delay.
1136
1136
  *
1137
- * The dispatch origin for this call must be the master curator or
1137
+ * The dispatch origin for this call must be the parent curator or
1138
1138
  * curator of this child-bounty.
1139
1139
  *
1140
1140
  * Parent bounty must be in active state, for this child-bounty call to
@@ -1238,12 +1238,12 @@ declare module '@polkadot/api-base/types/submittable' {
1238
1238
  * the curator of the parent bounty, or any signed origin.
1239
1239
  *
1240
1240
  * For the origin other than T::RejectOrigin and the child-bounty
1241
- * curator, parent-bounty must be in active state, for this call to
1241
+ * curator, parent bounty must be in active state, for this call to
1242
1242
  * work. We allow child-bounty curator and T::RejectOrigin to execute
1243
- * this call irrespective of the parent-bounty state.
1243
+ * this call irrespective of the parent bounty state.
1244
1244
  *
1245
1245
  * If this function is called by the `RejectOrigin` or the
1246
- * parent-bounty curator, we assume that the child-bounty curator is
1246
+ * parent bounty curator, we assume that the child-bounty curator is
1247
1247
  * malicious or inactive. As a result, child-bounty curator deposit is
1248
1248
  * slashed.
1249
1249
  *
@@ -4278,7 +4278,7 @@ declare module '@polkadot/api-base/types/submittable' {
4278
4278
  /**
4279
4279
  * (Re-)set the controller of a stash.
4280
4280
  *
4281
- * Effects will be felt at the beginning of the next era.
4281
+ * Effects will be felt instantly (as soon as this function is completed successfully).
4282
4282
  *
4283
4283
  * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
4284
4284
  *
@@ -4338,7 +4338,7 @@ declare module '@polkadot/api-base/types/submittable' {
4338
4338
  /**
4339
4339
  * (Re-)set the payment target for a controller.
4340
4340
  *
4341
- * Effects will be felt at the beginning of the next era.
4341
+ * Effects will be felt instantly (as soon as this function is completed successfully).
4342
4342
  *
4343
4343
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
4344
4344
  *