@polkadot/api-augment 9.6.2 → 9.7.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.
@@ -13,6 +13,6 @@ const packageInfo = {
13
13
  name: '@polkadot/api-augment',
14
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
15
15
  type: 'cjs',
16
- version: '9.6.2'
16
+ version: '9.7.1'
17
17
  };
18
18
  exports.packageInfo = packageInfo;
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "9.6.2",
23
+ "version": "9.7.1",
24
24
  "main": "./cjs/index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
@@ -185,12 +185,12 @@
185
185
  }
186
186
  },
187
187
  "dependencies": {
188
- "@babel/runtime": "^7.20.0",
189
- "@polkadot/api-base": "9.6.2",
190
- "@polkadot/rpc-augment": "9.6.2",
191
- "@polkadot/types": "9.6.2",
192
- "@polkadot/types-augment": "9.6.2",
193
- "@polkadot/types-codec": "9.6.2",
188
+ "@babel/runtime": "^7.20.1",
189
+ "@polkadot/api-base": "9.7.1",
190
+ "@polkadot/rpc-augment": "9.7.1",
191
+ "@polkadot/types": "9.7.1",
192
+ "@polkadot/types-augment": "9.7.1",
193
+ "@polkadot/types-codec": "9.7.1",
194
194
  "@polkadot/util": "^10.1.11"
195
195
  }
196
196
  }
package/packageInfo.js CHANGED
@@ -7,5 +7,5 @@ export const packageInfo = {
7
7
  name: '@polkadot/api-augment',
8
8
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
9
9
  type: 'esm',
10
- version: '9.6.2'
10
+ version: '9.7.1'
11
11
  };
@@ -239,8 +239,8 @@ declare module '@polkadot/api-base/types/consts' {
239
239
  /**
240
240
  * The maximum number of concurrent votes an account may have.
241
241
  *
242
- * Also used to compute weight, an overly large value can
243
- * lead to extrinsic with large weight estimation: see `delegate` for instance.
242
+ * Also used to compute weight, an overly large value can lead to extrinsics with large
243
+ * weight estimation: see `delegate` for instance.
244
244
  **/
245
245
  maxVotes: u32 & AugmentedConst<ApiType>;
246
246
  /**
@@ -616,7 +616,7 @@ declare module '@polkadot/api-base/types/consts' {
616
616
  /**
617
617
  * The maximum amount of signatories allowed in the multisig.
618
618
  **/
619
- maxSignatories: u16 & AugmentedConst<ApiType>;
619
+ maxSignatories: u32 & AugmentedConst<ApiType>;
620
620
  /**
621
621
  * Generic const
622
622
  **/
@@ -450,6 +450,10 @@ declare module '@polkadot/api-base/types/errors' {
450
450
  * The topics passed to `seal_deposit_events` contains at least one duplicate.
451
451
  **/
452
452
  DuplicateTopics: AugmentedError<ApiType>;
453
+ /**
454
+ * An indetermistic code was used in a context where this is not permitted.
455
+ **/
456
+ Indeterministic: AugmentedError<ApiType>;
453
457
  /**
454
458
  * `seal_call` forwarded this contracts input. It therefore is no longer available.
455
459
  **/
@@ -998,6 +1002,10 @@ declare module '@polkadot/api-base/types/errors' {
998
1002
  * Judgement given.
999
1003
  **/
1000
1004
  JudgementGiven: AugmentedError<ApiType>;
1005
+ /**
1006
+ * Error that occurs when there is an issue paying for judgement.
1007
+ **/
1008
+ JudgementPaymentFailed: AugmentedError<ApiType>;
1001
1009
  /**
1002
1010
  * No identity found.
1003
1011
  **/
@@ -1203,6 +1211,10 @@ declare module '@polkadot/api-base/types/errors' {
1203
1211
  * anymore to, for example, collect rewards).
1204
1212
  **/
1205
1213
  FullyUnbonding: AugmentedError<ApiType>;
1214
+ /**
1215
+ * Pool id provided is not correct/usable.
1216
+ **/
1217
+ InvalidPoolId: AugmentedError<ApiType>;
1206
1218
  /**
1207
1219
  * Too many members in the pool or system.
1208
1220
  **/
@@ -1252,6 +1264,10 @@ declare module '@polkadot/api-base/types/errors' {
1252
1264
  * Partial unbonding now allowed permissionlessly.
1253
1265
  **/
1254
1266
  PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
1267
+ /**
1268
+ * Pool id currently in use.
1269
+ **/
1270
+ PoolIdInUse: AugmentedError<ApiType>;
1255
1271
  /**
1256
1272
  * An account is not a member.
1257
1273
  **/
@@ -1393,7 +1409,7 @@ declare module '@polkadot/api-base/types/errors' {
1393
1409
  **/
1394
1410
  BadTrack: AugmentedError<ApiType>;
1395
1411
  /**
1396
- * There are already a full complement of referendums in progress for this track.
1412
+ * There are already a full complement of referenda in progress for this track.
1397
1413
  **/
1398
1414
  Full: AugmentedError<ApiType>;
1399
1415
  /**
@@ -1513,7 +1529,7 @@ declare module '@polkadot/api-base/types/errors' {
1513
1529
  **/
1514
1530
  BadTrack: AugmentedError<ApiType>;
1515
1531
  /**
1516
- * There are already a full complement of referendums in progress for this track.
1532
+ * There are already a full complement of referenda in progress for this track.
1517
1533
  **/
1518
1534
  Full: AugmentedError<ApiType>;
1519
1535
  /**
@@ -1353,7 +1353,7 @@ declare module '@polkadot/api-base/types/events' {
1353
1353
  rank: u16;
1354
1354
  }>;
1355
1355
  /**
1356
- * The member `who`'s rank has been changed to the given `rank`.
1356
+ * The member `who`se rank has been changed to the given `rank`.
1357
1357
  **/
1358
1358
  RankChanged: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], {
1359
1359
  who: AccountId32;
@@ -1448,7 +1448,7 @@ declare module '@polkadot/api-base/types/events' {
1448
1448
  tally: PalletRankedCollectiveTally;
1449
1449
  }>;
1450
1450
  /**
1451
- * A referendum has being submitted.
1451
+ * A referendum has been submitted.
1452
1452
  **/
1453
1453
  Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], {
1454
1454
  index: u32;
@@ -1588,7 +1588,7 @@ declare module '@polkadot/api-base/types/events' {
1588
1588
  tally: PalletConvictionVotingTally;
1589
1589
  }>;
1590
1590
  /**
1591
- * A referendum has being submitted.
1591
+ * A referendum has been submitted.
1592
1592
  **/
1593
1593
  Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], {
1594
1594
  index: u32;
@@ -1,7 +1,7 @@
1
1
  import '@polkadot/api-base/types/storage';
2
2
  import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
3
3
  import type { Data } from '@polkadot/types';
4
- import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
+ import type { Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
7
  import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
@@ -536,14 +536,14 @@ declare module '@polkadot/api-base/types/storage' {
536
536
  **/
537
537
  round: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
538
538
  /**
539
- * A sorted, bounded set of `(score, index)`, where each `index` points to a value in
540
- * `SignedSubmissions`.
539
+ * A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
540
+ * value in `SignedSubmissions`.
541
541
  *
542
542
  * We never need to process more than a single signed submission at a time. Signed submissions
543
543
  * can be quite large, so we're willing to pay the cost of multiple database accesses to access
544
544
  * them one at a time instead of reading and decoding all of them at once.
545
545
  **/
546
- signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<SpNposElectionsElectionScore, u32>>, []> & QueryableStorageEntry<ApiType, []>;
546
+ signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpNposElectionsElectionScore, u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
547
547
  /**
548
548
  * The next index to be assigned to an incoming signed submission.
549
549
  *
@@ -1447,7 +1447,7 @@ declare module '@polkadot/api-base/types/storage' {
1447
1447
  **/
1448
1448
  unappliedSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStakingUnappliedSlash>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1449
1449
  /**
1450
- * The ideal number of staking participants.
1450
+ * The ideal number of active validators.
1451
1451
  **/
1452
1452
  validatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1453
1453
  /**
package/substrate/tx.d.ts CHANGED
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
4
4
  import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
7
+ import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
8
8
  export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
9
9
  export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
10
10
  export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -1735,6 +1735,10 @@ declare module '@polkadot/api-base/types/submittable' {
1735
1735
  * the in storage version to the current
1736
1736
  * [`InstructionWeights::version`](InstructionWeights).
1737
1737
  *
1738
+ * - `determinism`: If this is set to any other value but [`Determinism::Deterministic`]
1739
+ * then the only way to use this code is to delegate call into it from an offchain
1740
+ * execution. Set to [`Determinism::Deterministic`] if in doubt.
1741
+ *
1738
1742
  * # Note
1739
1743
  *
1740
1744
  * Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
@@ -1742,7 +1746,7 @@ declare module '@polkadot/api-base/types/submittable' {
1742
1746
  * only be instantiated by permissioned entities. The same is true when uploading
1743
1747
  * through [`Self::instantiate_with_code`].
1744
1748
  **/
1745
- uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber) => SubmittableExtrinsic<ApiType>, [Bytes, Option<Compact<u128>>]>;
1749
+ uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, determinism: PalletContractsWasmDeterminism | 'Deterministic' | 'AllowIndeterminism' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<Compact<u128>>, PalletContractsWasmDeterminism]>;
1746
1750
  /**
1747
1751
  * Generic tx
1748
1752
  **/
@@ -1850,7 +1854,7 @@ declare module '@polkadot/api-base/types/submittable' {
1850
1854
  * Undelegate the voting power of the sending account for a particular class of polls.
1851
1855
  *
1852
1856
  * Tokens may be unlocked following once an amount of time consistent with the lock period
1853
- * of the conviction with which the delegation was issued.
1857
+ * of the conviction with which the delegation was issued has passed.
1854
1858
  *
1855
1859
  * The dispatch origin of this call must be _Signed_ and the signing account must be
1856
1860
  * currently delegating.
@@ -1864,7 +1868,7 @@ declare module '@polkadot/api-base/types/submittable' {
1864
1868
  **/
1865
1869
  undelegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
1866
1870
  /**
1867
- * Remove the lock caused prior voting/delegating which has expired within a particluar
1871
+ * Remove the lock caused by prior voting/delegating which has expired within a particular
1868
1872
  * class.
1869
1873
  *
1870
1874
  * The dispatch origin of this call must be _Signed_.
@@ -3616,6 +3620,45 @@ declare module '@polkadot/api-base/types/submittable' {
3616
3620
  } | {
3617
3621
  Address20: any;
3618
3622
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
3623
+ /**
3624
+ * Create a new delegation pool with a previously used pool id
3625
+ *
3626
+ * # Arguments
3627
+ *
3628
+ * same as `create` with the inclusion of
3629
+ * * `pool_id` - `A valid PoolId.
3630
+ **/
3631
+ createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | {
3632
+ Id: any;
3633
+ } | {
3634
+ Index: any;
3635
+ } | {
3636
+ Raw: any;
3637
+ } | {
3638
+ Address32: any;
3639
+ } | {
3640
+ Address20: any;
3641
+ } | string | Uint8Array, nominator: MultiAddress | {
3642
+ Id: any;
3643
+ } | {
3644
+ Index: any;
3645
+ } | {
3646
+ Raw: any;
3647
+ } | {
3648
+ Address32: any;
3649
+ } | {
3650
+ Address20: any;
3651
+ } | string | Uint8Array, stateToggler: MultiAddress | {
3652
+ Id: any;
3653
+ } | {
3654
+ Index: any;
3655
+ } | {
3656
+ Raw: any;
3657
+ } | {
3658
+ Address32: any;
3659
+ } | {
3660
+ Address20: any;
3661
+ } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
3619
3662
  /**
3620
3663
  * Stake funds with a pool. The amount to bond is transferred from the member to the
3621
3664
  * pools account and immediately increases the pools bond.
@@ -7034,13 +7077,13 @@ declare module '@polkadot/api-base/types/submittable' {
7034
7077
  /**
7035
7078
  * Send a batch of dispatch calls.
7036
7079
  *
7037
- * May be called from any origin.
7080
+ * May be called from any origin except `None`.
7038
7081
  *
7039
7082
  * - `calls`: The calls to be dispatched from the same origin. The number of call must not
7040
7083
  * exceed the constant: `batched_calls_limit` (available in constant metadata).
7041
7084
  *
7042
- * If origin is root then call are dispatch without checking origin filter. (This includes
7043
- * bypassing `frame_system::Config::BaseCallFilter`).
7085
+ * If origin is root then the calls are dispatched without checking origin filter. (This
7086
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
7044
7087
  *
7045
7088
  * # <weight>
7046
7089
  * - Complexity: O(C) where C is the number of calls to be batched.
@@ -7057,13 +7100,13 @@ declare module '@polkadot/api-base/types/submittable' {
7057
7100
  * Send a batch of dispatch calls and atomically execute them.
7058
7101
  * The whole transaction will rollback and fail if any of the calls failed.
7059
7102
  *
7060
- * May be called from any origin.
7103
+ * May be called from any origin except `None`.
7061
7104
  *
7062
7105
  * - `calls`: The calls to be dispatched from the same origin. The number of call must not
7063
7106
  * exceed the constant: `batched_calls_limit` (available in constant metadata).
7064
7107
  *
7065
- * If origin is root then call are dispatch without checking origin filter. (This includes
7066
- * bypassing `frame_system::Config::BaseCallFilter`).
7108
+ * If origin is root then the calls are dispatched without checking origin filter. (This
7109
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
7067
7110
  *
7068
7111
  * # <weight>
7069
7112
  * - Complexity: O(C) where C is the number of calls to be batched.
@@ -7097,13 +7140,13 @@ declare module '@polkadot/api-base/types/submittable' {
7097
7140
  * Send a batch of dispatch calls.
7098
7141
  * Unlike `batch`, it allows errors and won't interrupt.
7099
7142
  *
7100
- * May be called from any origin.
7143
+ * May be called from any origin except `None`.
7101
7144
  *
7102
7145
  * - `calls`: The calls to be dispatched from the same origin. The number of call must not
7103
7146
  * exceed the constant: `batched_calls_limit` (available in constant metadata).
7104
7147
  *
7105
- * If origin is root then call are dispatch without checking origin filter. (This includes
7106
- * bypassing `frame_system::Config::BaseCallFilter`).
7148
+ * If origin is root then the calls are dispatch without checking origin filter. (This
7149
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
7107
7150
  *
7108
7151
  * # <weight>
7109
7152
  * - Complexity: O(C) where C is the number of calls to be batched.