Skip to content

Commit 14808c7

Browse files
committed
u
1 parent 6530b16 commit 14808c7

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

src/interfaces/augment-api-consts.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import '@polkadot/api-base/types/consts';
88
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
99
import type { u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
1010
import type { Codec } from '@polkadot/types-codec/types';
11+
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
1112

1213
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
1314

@@ -42,12 +43,12 @@ declare module '@polkadot/api-base/types/consts' {
4243
balances: {
4344
/**
4445
* The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
45-
*
46+
*
4647
* If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
4748
* this pallet. However, you do so at your own risk: this will open up a major DoS vector.
4849
* In case you have multiple sources of provider references, you may also get unexpected
4950
* behaviour if you set this to zero.
50-
*
51+
*
5152
* Bottom line: Do yourself a favour and make it at least one!
5253
**/
5354
existentialDeposit: u128 & AugmentedConst<ApiType>;
@@ -108,7 +109,7 @@ declare module '@polkadot/api-base/types/consts' {
108109
maxAuthorities: u32 & AugmentedConst<ApiType>;
109110
/**
110111
* The maximum number of entries to keep in the set id to session index mapping.
111-
*
112+
*
112113
* Since the `SetIdSession` map is only used for validating equivocations this
113114
* value should relate to the bonding duration of whatever staking system is
114115
* being used (if any). If equivocation handling is not enabled then this value
@@ -123,7 +124,7 @@ declare module '@polkadot/api-base/types/consts' {
123124
imOnline: {
124125
/**
125126
* A configuration for base priority of unsigned transactions.
126-
*
127+
*
127128
* This is exposed so that it can be tuned for particular runtime, when
128129
* multiple pallets send unsigned transactions.
129130
**/
@@ -170,7 +171,7 @@ declare module '@polkadot/api-base/types/consts' {
170171
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
171172
/**
172173
* The maximum number of scheduled calls in the queue for a single block.
173-
*
174+
*
174175
* NOTE:
175176
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
176177
* higher limit under `runtime-benchmarks` feature.
@@ -200,7 +201,7 @@ declare module '@polkadot/api-base/types/consts' {
200201
dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
201202
/**
202203
* The designated SS58 prefix of this chain.
203-
*
204+
*
204205
* This replaces the "ss58Format" property declared in the chain spec. Reason is
205206
* that the runtime should know about the prefix in order to make use of it as
206207
* an identifier of the chain.
@@ -232,21 +233,21 @@ declare module '@polkadot/api-base/types/consts' {
232233
/**
233234
* A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
234235
* `priority`
235-
*
236+
*
236237
* This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
237238
* added to a tip component in regular `priority` calculations.
238239
* It means that a `Normal` transaction can front-run a similarly-sized `Operational`
239240
* extrinsic (with no tip), by including a tip value greater than the virtual tip.
240-
*
241+
*
241242
* ```rust,ignore
242243
* // For `Normal`
243244
* let priority = priority_calc(tip);
244-
*
245+
*
245246
* // For `Operational`
246247
* let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
247248
* let priority = priority_calc(tip + virtual_tip);
248249
* ```
249-
*
250+
*
250251
* Note that since we use `final_fee` the multiplier applies also to the regular `tip`
251252
* sent with the transaction. So, not only does the transaction get a priority bump based
252253
* on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`

src/interfaces/augment-api-events.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
99
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, i32, u128, u16, u32, u64 } from '@polkadot/types-codec';
1010
import type { ITuple } from '@polkadot/types-codec/types';
1111
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
12+
import type { FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, FunctionlandFulaChallengeState, FunctionlandFulaManifestAvailable, FunctionlandFulaManifestWithPoolId, FunctionlandFulaStorerData, PalletImOnlineSr25519AppSr25519Public, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError, SugarfungeMarketRateBalance } from '@polkadot/types/lookup';
1213

1314
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
1415

src/interfaces/augment-api-query.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/
99
import type { Bytes, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u32, u64 } from '@polkadot/types-codec';
1010
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
1111
import type { AccountId32, Call, H256 } from '@polkadot/types/interfaces/runtime';
12+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, FulaPoolPool, FulaPoolPoolRequest, FulaPoolUser, FunctionlandFulaChallenge, FunctionlandFulaClaimData, FunctionlandFulaManifest, FunctionlandFulaManifestStorageData, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletCollectiveVotes, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletSchedulerScheduled, PalletTransactionPaymentReleases, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SugarfungeAssetAsset, SugarfungeAssetClass, SugarfungeBagBag, SugarfungeBagBagClass, SugarfungeBundleBundle, SugarfungeMarketAssetRate, SugarfungeMarketMarket, SugarfungeRuntimeOpaqueSessionKeys } from '@polkadot/types/lookup';
1213
import type { Observable } from '@polkadot/types/types';
1314

1415
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;

src/interfaces/augment-api-tx.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
99
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, i32, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
1010
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
1111
import type { AccountId32, Call, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';
12+
import type { PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight, SugarfungeMarketAssetRate, SugarfungeRuntimeOpaqueSessionKeys, SugarfungeRuntimeOriginCaller } from '@polkadot/types/lookup';
1213

1314
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
1415
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;

0 commit comments

Comments
 (0)