@polkadot/api-augment 8.3.3-3 → 8.3.3-6

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.3.3-3'
14
+ version: '8.3.3-6'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
@@ -89,17 +89,9 @@ declare module '@polkadot/api-base/types/errors' {
89
89
  };
90
90
  bagsList: {
91
91
  /**
92
- * Id not found in list.
92
+ * A error in the list interface implementation.
93
93
  **/
94
- IdNotFound: AugmentedError<ApiType>;
95
- /**
96
- * An Id does not have a greater score than another Id.
97
- **/
98
- NotHeavier: AugmentedError<ApiType>;
99
- /**
100
- * Attempted to place node in front of a node in another bag.
101
- **/
102
- NotInSameBag: AugmentedError<ApiType>;
94
+ List: AugmentedError<ApiType>;
103
95
  /**
104
96
  * Generic error
105
97
  **/
@@ -1164,6 +1164,10 @@ declare module '@polkadot/api-base/types/events' {
1164
1164
  * Batch of dispatches completed fully with no error.
1165
1165
  **/
1166
1166
  BatchCompleted: AugmentedEvent<ApiType, []>;
1167
+ /**
1168
+ * Batch of dispatches completed but has errors.
1169
+ **/
1170
+ BatchCompletedWithErrors: AugmentedEvent<ApiType, []>;
1167
1171
  /**
1168
1172
  * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
1169
1173
  * well as the error.
@@ -1177,6 +1181,10 @@ declare module '@polkadot/api-base/types/events' {
1177
1181
  * A single item within a Batch of dispatches has completed with no error.
1178
1182
  **/
1179
1183
  ItemCompleted: AugmentedEvent<ApiType, []>;
1184
+ /**
1185
+ * A single item within a Batch of dispatches has completed with error.
1186
+ **/
1187
+ ItemFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError]>;
1180
1188
  /**
1181
1189
  * Generic event
1182
1190
  **/
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, 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, SpConsensusBabeDigestsPreDigest, 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> {
@@ -64,7 +64,7 @@ declare module '@polkadot/api-base/types/storage' {
64
64
  * This field should always be populated during block processing unless
65
65
  * secondary plain slots are enabled (which don't contain a VRF output).
66
66
  *
67
- * It is set in `on_initialize`, before it will contain the value from the last block.
67
+ * It is set in `on_finalize`, before it will contain the value from the last block.
68
68
  **/
69
69
  authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []> & QueryableStorageEntry<ApiType, []>;
70
70
  /**
@@ -97,7 +97,7 @@ declare module '@polkadot/api-base/types/storage' {
97
97
  * Temporary value (cleared at block finalization) which is `Some`
98
98
  * if per-block initialization has already been called for current block.
99
99
  **/
100
- initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<U8aFixed>>>, []> & QueryableStorageEntry<ApiType, []>;
100
+ initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, []> & QueryableStorageEntry<ApiType, []>;
101
101
  /**
102
102
  * How late the current block is compared to its parent.
103
103
  *
package/kusama/tx.d.ts CHANGED
@@ -4658,6 +4658,23 @@ declare module '@polkadot/api-base/types/submittable' {
4658
4658
  } | {
4659
4659
  XcmPallet: any;
4660
4660
  } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeOriginCaller, Call]>;
4661
+ /**
4662
+ * Send a batch of dispatch calls.
4663
+ * Unlike `batch`, it allows errors and won't interrupt.
4664
+ *
4665
+ * May be called from any origin.
4666
+ *
4667
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
4668
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
4669
+ *
4670
+ * If origin is root then call are dispatch without checking origin filter. (This includes
4671
+ * bypassing `frame_system::Config::BaseCallFilter`).
4672
+ *
4673
+ * # <weight>
4674
+ * - Complexity: O(C) where C is the number of calls to be batched.
4675
+ * # </weight>
4676
+ **/
4677
+ forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
4661
4678
  /**
4662
4679
  * Generic tx
4663
4680
  **/
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "8.3.3-3",
23
+ "version": "8.3.3-6",
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.3.3-3",
175
- "@polkadot/rpc-augment": "8.3.3-3",
176
- "@polkadot/types": "8.3.3-3",
177
- "@polkadot/types-augment": "8.3.3-3",
178
- "@polkadot/types-codec": "8.3.3-3",
174
+ "@polkadot/api-base": "8.3.3-6",
175
+ "@polkadot/rpc-augment": "8.3.3-6",
176
+ "@polkadot/types": "8.3.3-6",
177
+ "@polkadot/types-augment": "8.3.3-6",
178
+ "@polkadot/types-codec": "8.3.3-6",
179
179
  "@polkadot/util": "^9.1.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.3.3-3'
8
+ version: '8.3.3-6'
9
9
  };
@@ -89,17 +89,9 @@ declare module '@polkadot/api-base/types/errors' {
89
89
  };
90
90
  bagsList: {
91
91
  /**
92
- * Id not found in list.
92
+ * A error in the list interface implementation.
93
93
  **/
94
- IdNotFound: AugmentedError<ApiType>;
95
- /**
96
- * An Id does not have a greater score than another Id.
97
- **/
98
- NotHeavier: AugmentedError<ApiType>;
99
- /**
100
- * Attempted to place node in front of a node in another bag.
101
- **/
102
- NotInSameBag: AugmentedError<ApiType>;
94
+ List: AugmentedError<ApiType>;
103
95
  /**
104
96
  * Generic error
105
97
  **/
@@ -1039,6 +1039,10 @@ declare module '@polkadot/api-base/types/events' {
1039
1039
  * Batch of dispatches completed fully with no error.
1040
1040
  **/
1041
1041
  BatchCompleted: AugmentedEvent<ApiType, []>;
1042
+ /**
1043
+ * Batch of dispatches completed but has errors.
1044
+ **/
1045
+ BatchCompletedWithErrors: AugmentedEvent<ApiType, []>;
1042
1046
  /**
1043
1047
  * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
1044
1048
  * well as the error.
@@ -1052,6 +1056,10 @@ declare module '@polkadot/api-base/types/events' {
1052
1056
  * A single item within a Batch of dispatches has completed with no error.
1053
1057
  **/
1054
1058
  ItemCompleted: AugmentedEvent<ApiType, []>;
1059
+ /**
1060
+ * A single item within a Batch of dispatches has completed with error.
1061
+ **/
1062
+ ItemFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError]>;
1055
1063
  /**
1056
1064
  * Generic event
1057
1065
  **/
@@ -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, 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, SpConsensusBabeDigestsPreDigest, 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> {
@@ -64,7 +64,7 @@ declare module '@polkadot/api-base/types/storage' {
64
64
  * This field should always be populated during block processing unless
65
65
  * secondary plain slots are enabled (which don't contain a VRF output).
66
66
  *
67
- * It is set in `on_initialize`, before it will contain the value from the last block.
67
+ * It is set in `on_finalize`, before it will contain the value from the last block.
68
68
  **/
69
69
  authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []> & QueryableStorageEntry<ApiType, []>;
70
70
  /**
@@ -97,7 +97,7 @@ declare module '@polkadot/api-base/types/storage' {
97
97
  * Temporary value (cleared at block finalization) which is `Some`
98
98
  * if per-block initialization has already been called for current block.
99
99
  **/
100
- initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<U8aFixed>>>, []> & QueryableStorageEntry<ApiType, []>;
100
+ initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, []> & QueryableStorageEntry<ApiType, []>;
101
101
  /**
102
102
  * How late the current block is compared to its parent.
103
103
  *
package/polkadot/tx.d.ts CHANGED
@@ -4144,6 +4144,23 @@ declare module '@polkadot/api-base/types/submittable' {
4144
4144
  } | {
4145
4145
  XcmPallet: any;
4146
4146
  } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeOriginCaller, Call]>;
4147
+ /**
4148
+ * Send a batch of dispatch calls.
4149
+ * Unlike `batch`, it allows errors and won't interrupt.
4150
+ *
4151
+ * May be called from any origin.
4152
+ *
4153
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
4154
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
4155
+ *
4156
+ * If origin is root then call are dispatch without checking origin filter. (This includes
4157
+ * bypassing `frame_system::Config::BaseCallFilter`).
4158
+ *
4159
+ * # <weight>
4160
+ * - Complexity: O(C) where C is the number of calls to be batched.
4161
+ * # </weight>
4162
+ **/
4163
+ forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
4147
4164
  /**
4148
4165
  * Generic tx
4149
4166
  **/
@@ -123,17 +123,9 @@ declare module '@polkadot/api-base/types/errors' {
123
123
  };
124
124
  bagsList: {
125
125
  /**
126
- * Id not found in list.
126
+ * A error in the list interface implementation.
127
127
  **/
128
- IdNotFound: AugmentedError<ApiType>;
129
- /**
130
- * An Id does not have a greater score than another Id.
131
- **/
132
- NotHeavier: AugmentedError<ApiType>;
133
- /**
134
- * Attempted to place node in front of a node in another bag.
135
- **/
136
- NotInSameBag: AugmentedError<ApiType>;
128
+ List: AugmentedError<ApiType>;
137
129
  /**
138
130
  * Generic error
139
131
  **/
@@ -1100,6 +1092,10 @@ declare module '@polkadot/api-base/types/errors' {
1100
1092
  * The transaction could not be executed due to overflow risk for the pool.
1101
1093
  **/
1102
1094
  OverflowRisk: AugmentedError<ApiType>;
1095
+ /**
1096
+ * Partial unbonding now allowed permissionlessly.
1097
+ **/
1098
+ PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
1103
1099
  /**
1104
1100
  * An account is not a member.
1105
1101
  **/
@@ -624,6 +624,12 @@ declare module '@polkadot/api-base/types/events' {
624
624
  * A pool has been destroyed.
625
625
  **/
626
626
  Destroyed: AugmentedEvent<ApiType, [u32]>;
627
+ /**
628
+ * A member has been removed from a pool.
629
+ *
630
+ * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
631
+ **/
632
+ MemberRemoved: AugmentedEvent<ApiType, [u32, AccountId32]>;
627
633
  /**
628
634
  * A payout has been made to a member.
629
635
  **/
@@ -1287,6 +1293,10 @@ declare module '@polkadot/api-base/types/events' {
1287
1293
  * Batch of dispatches completed fully with no error.
1288
1294
  **/
1289
1295
  BatchCompleted: AugmentedEvent<ApiType, []>;
1296
+ /**
1297
+ * Batch of dispatches completed but has errors.
1298
+ **/
1299
+ BatchCompletedWithErrors: AugmentedEvent<ApiType, []>;
1290
1300
  /**
1291
1301
  * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
1292
1302
  * well as the error.
@@ -1300,6 +1310,10 @@ declare module '@polkadot/api-base/types/events' {
1300
1310
  * A single item within a Batch of dispatches has completed with no error.
1301
1311
  **/
1302
1312
  ItemCompleted: AugmentedEvent<ApiType, []>;
1313
+ /**
1314
+ * A single item within a Batch of dispatches has completed with error.
1315
+ **/
1316
+ ItemFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError]>;
1303
1317
  /**
1304
1318
  * Generic event
1305
1319
  **/
@@ -3,7 +3,7 @@ import type { Data } from '@polkadot/types';
3
3
  import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfo, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesClassDetails, PalletUniquesClassMetadata, PalletUniquesInstanceDetails, PalletUniquesInstanceMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
6
+ import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfo, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesClassDetails, PalletUniquesClassMetadata, PalletUniquesInstanceDetails, PalletUniquesInstanceMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
7
7
  import type { Observable } from '@polkadot/types/types';
8
8
  declare module '@polkadot/api-base/types/storage' {
9
9
  interface AugmentedQueries<ApiType extends ApiTypes> {
@@ -72,7 +72,7 @@ declare module '@polkadot/api-base/types/storage' {
72
72
  * This field should always be populated during block processing unless
73
73
  * secondary plain slots are enabled (which don't contain a VRF output).
74
74
  *
75
- * It is set in `on_initialize`, before it will contain the value from the last block.
75
+ * It is set in `on_finalize`, before it will contain the value from the last block.
76
76
  **/
77
77
  authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []> & QueryableStorageEntry<ApiType, []>;
78
78
  /**
@@ -105,7 +105,7 @@ declare module '@polkadot/api-base/types/storage' {
105
105
  * Temporary value (cleared at block finalization) which is `Some`
106
106
  * if per-block initialization has already been called for current block.
107
107
  **/
108
- initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<U8aFixed>>>, []> & QueryableStorageEntry<ApiType, []>;
108
+ initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, []> & QueryableStorageEntry<ApiType, []>;
109
109
  /**
110
110
  * How late the current block is compared to its parent.
111
111
  *
package/substrate/tx.d.ts CHANGED
@@ -5873,6 +5873,23 @@ declare module '@polkadot/api-base/types/submittable' {
5873
5873
  } | {
5874
5874
  TechnicalCommittee: any;
5875
5875
  } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [NodeRuntimeOriginCaller, Call]>;
5876
+ /**
5877
+ * Send a batch of dispatch calls.
5878
+ * Unlike `batch`, it allows errors and won't interrupt.
5879
+ *
5880
+ * May be called from any origin.
5881
+ *
5882
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
5883
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
5884
+ *
5885
+ * If origin is root then call are dispatch without checking origin filter. (This includes
5886
+ * bypassing `frame_system::Config::BaseCallFilter`).
5887
+ *
5888
+ * # <weight>
5889
+ * - Complexity: O(C) where C is the number of calls to be batched.
5890
+ * # </weight>
5891
+ **/
5892
+ forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
5876
5893
  /**
5877
5894
  * Generic tx
5878
5895
  **/