Skip to content

Commit 3afe5ea

Browse files
api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 12.2.1
1 parent 564580c commit 3afe5ea

File tree

28 files changed

+1078
-917
lines changed

28 files changed

+1078
-917
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## master
44

5+
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 12.2.1
56
- hw-{ledger, ledger-transports}, keyring, networks, util, util-crypto, x-{bigint, fetch, global, randomvalues, textdecoder, textencoder, ws} 13.0.2
67
- hw-{ledger, ledger-transports}, keyring, networks, util, util-crypto, x-{bigint, fetch, global, randomvalues, textdecoder, textencoder, ws} 13.0.1
78
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 12.1.1

api-augment/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22

3-
export const packageInfo = { name: '@polkadot/api-augment', path: new URL(import.meta.url).pathname, type: 'deno', version: '12.1.1' };
3+
export const packageInfo = { name: '@polkadot/api-augment', path: new URL(import.meta.url).pathname, type: 'deno', version: '12.2.1' };

api-augment/substrate/consts.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,19 +1626,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
16261626
* The period during which an approved treasury spend has to be claimed.
16271627
**/
16281628
payoutPeriod: u32 & AugmentedConst<ApiType>;
1629-
/**
1630-
* Fraction of a proposal's value that should be bonded in order to place the proposal.
1631-
* An accepted proposal gets these back. A rejected proposal does not.
1632-
**/
1633-
proposalBond: Permill & AugmentedConst<ApiType>;
1634-
/**
1635-
* Maximum amount of funds that should be placed in a deposit for making a proposal.
1636-
**/
1637-
proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
1638-
/**
1639-
* Minimum amount of funds that should be placed in a deposit for making a proposal.
1640-
**/
1641-
proposalBondMinimum: u128 & AugmentedConst<ApiType>;
16421629
/**
16431630
* Period between successive spends.
16441631
**/

api-augment/substrate/errors.ts

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
311311
* The asset is not live, and likely being destroyed.
312312
**/
313313
AssetNotLive: AugmentedError<ApiType>;
314+
/**
315+
* The asset ID must be equal to the [`NextAssetId`].
316+
**/
317+
BadAssetId: AugmentedError<ApiType>;
314318
/**
315319
* Invalid metadata given.
316320
**/
@@ -2076,6 +2080,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
20762080
* The asset is not live, and likely being destroyed.
20772081
**/
20782082
AssetNotLive: AugmentedError<ApiType>;
2083+
/**
2084+
* The asset ID must be equal to the [`NextAssetId`].
2085+
**/
2086+
BadAssetId: AugmentedError<ApiType>;
20792087
/**
20802088
* Invalid metadata given.
20812089
**/
@@ -2161,6 +2169,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
21612169
* Preimage has already been noted on-chain.
21622170
**/
21632171
AlreadyNoted: AugmentedError<ApiType>;
2172+
/**
2173+
* No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
2174+
**/
2175+
NoCost: AugmentedError<ApiType>;
21642176
/**
21652177
* The user is not authorized to perform this action.
21662178
**/
@@ -2273,6 +2285,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
22732285
* The new member to exchange is the same as the old member
22742286
**/
22752287
SameMember: AugmentedError<ApiType>;
2288+
/**
2289+
* The max member count for the rank has been reached.
2290+
**/
2291+
TooManyMembers: AugmentedError<ApiType>;
22762292
/**
22772293
* Generic error
22782294
**/
@@ -3179,10 +3195,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
31793195
* amount to be spent.
31803196
**/
31813197
InsufficientPermission: AugmentedError<ApiType>;
3182-
/**
3183-
* Proposer's balance is too low.
3184-
**/
3185-
InsufficientProposersBalance: AugmentedError<ApiType>;
31863198
/**
31873199
* No proposal, bounty or spend at that index.
31883200
**/

api-augment/substrate/events.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { ApiTypes, AugmentedEvent } from 'https://deno.land/x/polkadot/api-
66
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from 'https://deno.land/x/polkadot/types-codec/mod.ts';
77
import type { ITuple } from 'https://deno.land/x/polkadot/types-codec/types/index.ts';
88
import type { AccountId32, H256, Perbill, Permill, Perquintill } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts';
9-
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from 'https://deno.land/x/polkadot/types/lookup.ts';
9+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from 'https://deno.land/x/polkadot/types/lookup.ts';
1010

1111
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
1212

@@ -687,7 +687,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
687687
/**
688688
* Parameters for the pallet have changed.
689689
**/
690-
ParamsChanged: AugmentedEvent<ApiType, [params: PalletCoreFellowshipParamsType], { params: PalletCoreFellowshipParamsType }>;
690+
ParamsChanged: AugmentedEvent<ApiType, [params: PalletCoreFellowshipParamsTypeU128], { params: PalletCoreFellowshipParamsTypeU128 }>;
691691
/**
692692
* Member has been promoted to the given rank.
693693
**/
@@ -930,6 +930,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
930930
[key: string]: AugmentedEvent<ApiType>;
931931
};
932932
glutton: {
933+
/**
934+
* The block length limit has been updated.
935+
**/
936+
BlockLengthLimitSet: AugmentedEvent<ApiType, [blockLength: u64], { blockLength: u64 }>;
933937
/**
934938
* The computation limit has been updated.
935939
**/
@@ -2419,14 +2423,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
24192423
* A payment failed and can be retried.
24202424
**/
24212425
PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: Null], { index: u32, paymentId: Null }>;
2422-
/**
2423-
* New proposal.
2424-
**/
2425-
Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], { proposalIndex: u32 }>;
2426-
/**
2427-
* A proposal was rejected; funds were slashed.
2428-
**/
2429-
Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], { proposalIndex: u32, slashed: u128 }>;
24302426
/**
24312427
* Spending has finished; this is the amount that rolls over until next spend.
24322428
**/

0 commit comments

Comments
 (0)