CHANGELOG & small strict adjustments (#1940)

This commit is contained in:
Jaco Greeff
2020-02-25 09:44:13 +01:00
committed by GitHub
parent 015ade79e6
commit dcf053633b
12 changed files with 34 additions and 36 deletions
+13 -13
View File
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable @typescript-eslint/no-empty-interface */
import { Codec } from '@polkadot/types/types';
@@ -12,7 +12,7 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
export interface Constants {
[index: string]: ModuleConstants;
babe: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
/**
* The number of **slots** that an epoch takes. We couple sessions to
* epochs, i.e. we start a new session once the new epoch begins.
@@ -28,7 +28,7 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
expectedBlockTime: AugmentedConst<Moment>;
};
timestamp: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
/**
* The minimum period between blocks. Beware that this is different to the *expected* period
* that the block production apparatus provides. Your chosen consensus system will generally
@@ -38,14 +38,14 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
minimumPeriod: AugmentedConst<Moment>;
};
balances: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
/**
* The minimum amount required to keep an account open.
**/
existentialDeposit: AugmentedConst<Balance>;
};
transactionPayment: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
/**
* The fee to be paid for making a transaction; the base.
**/
@@ -56,7 +56,7 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
transactionByteFee: AugmentedConst<BalanceOf>;
};
staking: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
/**
* Number of sessions per era.
**/
@@ -67,7 +67,7 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
bondingDuration: AugmentedConst<EraIndex>;
};
session: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
/**
* Used as first key for `NextKeys` and `KeyOwner` to put all the data into the same branch
* of the trie.
@@ -75,7 +75,7 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
dedupKeyPrefix: AugmentedConst<Bytes>;
};
democracy: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
/**
* The minimum period of locking and the period between a proposal being approved and enacted.
* It should generally be a little more than the unstake period to ensure that
@@ -109,7 +109,7 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
preimageByteDeposit: AugmentedConst<BalanceOf>;
};
elections: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
candidacyBond: AugmentedConst<BalanceOf>;
votingBond: AugmentedConst<BalanceOf>;
desiredMembers: AugmentedConst<u32>;
@@ -117,7 +117,7 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
termDuration: AugmentedConst<BlockNumber>;
};
finalityTracker: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
/**
* The number of recent samples to keep from this chain. Default is 101.
**/
@@ -128,7 +128,7 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
reportLatency: AugmentedConst<BlockNumber>;
};
treasury: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
/**
* Fraction of a proposal's value that should be bonded in order to place the proposal.
* An accepted proposal gets these back. A rejected proposal does not.
@@ -164,7 +164,7 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
tipReportDepositPerByte: AugmentedConst<BalanceOf>;
};
contracts: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
/**
* Number of block delay an extrinsic claim surcharge has.
* When claim surcharge is called by an extrinsic the rent is checked
@@ -237,7 +237,7 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
blockGasLimit: AugmentedConst<Gas>;
};
society: {
[index: string]: Codec;
[index: string]: AugmentedConst<object & Codec>;
/**
* The minimum amount of a deposit required for a bid to be made.
**/
+1 -1
View File
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable @typescript-eslint/no-empty-interface */
import { AnyNumber, ITuple } from '@polkadot/types/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable @typescript-eslint/no-empty-interface */
import { AnyNumber, Codec, IExtrinsic } from '@polkadot/types/types';
+2 -3
View File
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable @typescript-eslint/no-empty-interface */
import { AnyNumber, ITuple } from '@polkadot/types/types';
@@ -17,8 +17,7 @@ import { SocietyJudgement } from '@polkadot/types/interfaces/society';
import { EraIndex, RewardDestination, ValidatorPrefs } from '@polkadot/types/interfaces/staking';
import { Key } from '@polkadot/types/interfaces/system';
import { Timepoint } from '@polkadot/types/interfaces/utility';
import { SubmittableExtrinsic } from '@polkadot/api/submittable/types';
import { ApiTypes } from '@polkadot/api/types';
import { ApiTypes, SubmittableExtrinsic } from '@polkadot/api/types';
declare module '@polkadot/api/types/submittable' {
export interface AugmentedSubmittables<ApiType> {