Bump metadata (#2297)
* Bump metadata * Deps * Regen * Update sig for new signed extensions
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
"@polkadot/util": "^2.10.1",
|
||||
"@polkadot/util-crypto": "^2.10.1",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
"bn.js": "^5.1.1",
|
||||
"bn.js": "^5.1.2",
|
||||
"memoizee": "^0.4.14",
|
||||
"rxjs": "^6.5.5"
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ import { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/t
|
||||
import { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
|
||||
import { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
|
||||
import { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
|
||||
import { BabeAuthorityWeight, BabeBlockWeight, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondary, RawBabePreDigestSecondaryTo159, RawBabePreDigestTo159, SlotNumber, VrfData, VrfProof } from '@polkadot/types/interfaces/babe';
|
||||
import { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondary, RawBabePreDigestSecondaryTo159, RawBabePreDigestTo159, SlotNumber, VrfData, VrfProof } from '@polkadot/types/interfaces/babe';
|
||||
import { AccountData, BalanceLock, BalanceLockTo212, Reasons, ReleasesBalances, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';
|
||||
import { BlockHash } from '@polkadot/types/interfaces/chain';
|
||||
import { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
|
||||
@@ -15,8 +15,8 @@ import { EthereumAddress, StatementKind } from '@polkadot/types/interfaces/claim
|
||||
import { MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
|
||||
import { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
|
||||
import { AliveContractInfo, CodeHash, ContractCallRequest, ContractExecResult, ContractExecResultSuccess, ContractInfo, ContractStorageKey, Gas, PrefabWasmModule, PrefabWasmModuleReserved, Schedule, ScheduleTo212, SeedOf, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
|
||||
import { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
|
||||
import { ApprovalFlag, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
|
||||
import { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, ReleasesDemocracy, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
|
||||
import { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
|
||||
import { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
|
||||
import { Account, Log, Vicinity } from '@polkadot/types/interfaces/evm';
|
||||
import { EcdsaSignature, Ed25519Signature, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV1, ExtrinsicPayloadV2, ExtrinsicPayloadV3, ExtrinsicPayloadV4, ExtrinsicSignatureV1, ExtrinsicSignatureV2, ExtrinsicSignatureV3, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV1, ExtrinsicV2, ExtrinsicV3, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';
|
||||
@@ -302,6 +302,9 @@ declare module '@polkadot/types/types/registry' {
|
||||
RawAuraPreDigest: RawAuraPreDigest;
|
||||
'Option<RawAuraPreDigest>': Option<RawAuraPreDigest>;
|
||||
'Vec<RawAuraPreDigest>': Vec<RawAuraPreDigest>;
|
||||
AllowedSlots: AllowedSlots;
|
||||
'Option<AllowedSlots>': Option<AllowedSlots>;
|
||||
'Vec<AllowedSlots>': Vec<AllowedSlots>;
|
||||
BabeAuthorityWeight: BabeAuthorityWeight;
|
||||
'Compact<BabeAuthorityWeight>': Compact<BabeAuthorityWeight>;
|
||||
'Option<BabeAuthorityWeight>': Option<BabeAuthorityWeight>;
|
||||
@@ -323,6 +326,12 @@ declare module '@polkadot/types/types/registry' {
|
||||
EpochAuthorship: EpochAuthorship;
|
||||
'Option<EpochAuthorship>': Option<EpochAuthorship>;
|
||||
'Vec<EpochAuthorship>': Vec<EpochAuthorship>;
|
||||
NextConfigDescriptor: NextConfigDescriptor;
|
||||
'Option<NextConfigDescriptor>': Option<NextConfigDescriptor>;
|
||||
'Vec<NextConfigDescriptor>': Vec<NextConfigDescriptor>;
|
||||
NextConfigDescriptorV1: NextConfigDescriptorV1;
|
||||
'Option<NextConfigDescriptorV1>': Option<NextConfigDescriptorV1>;
|
||||
'Vec<NextConfigDescriptorV1>': Vec<NextConfigDescriptorV1>;
|
||||
Randomness: Randomness;
|
||||
'Option<Randomness>': Option<Randomness>;
|
||||
'Vec<Randomness>': Vec<Randomness>;
|
||||
@@ -494,6 +503,9 @@ declare module '@polkadot/types/types/registry' {
|
||||
ReferendumStatus: ReferendumStatus;
|
||||
'Option<ReferendumStatus>': Option<ReferendumStatus>;
|
||||
'Vec<ReferendumStatus>': Vec<ReferendumStatus>;
|
||||
ReleasesDemocracy: ReleasesDemocracy;
|
||||
'Option<ReleasesDemocracy>': Option<ReleasesDemocracy>;
|
||||
'Vec<ReleasesDemocracy>': Vec<ReleasesDemocracy>;
|
||||
Tally: Tally;
|
||||
'Option<Tally>': Option<Tally>;
|
||||
'Vec<Tally>': Vec<Tally>;
|
||||
@@ -513,6 +525,12 @@ declare module '@polkadot/types/types/registry' {
|
||||
'Compact<ApprovalFlag>': Compact<ApprovalFlag>;
|
||||
'Option<ApprovalFlag>': Option<ApprovalFlag>;
|
||||
'Vec<ApprovalFlag>': Vec<ApprovalFlag>;
|
||||
DefunctVoter: DefunctVoter;
|
||||
'Option<DefunctVoter>': Option<DefunctVoter>;
|
||||
'Vec<DefunctVoter>': Vec<DefunctVoter>;
|
||||
Renouncing: Renouncing;
|
||||
'Option<Renouncing>': Option<Renouncing>;
|
||||
'Vec<Renouncing>': Vec<Renouncing>;
|
||||
SetIndex: SetIndex;
|
||||
'Compact<SetIndex>': Compact<SetIndex>;
|
||||
'Option<SetIndex>': Option<SetIndex>;
|
||||
|
||||
@@ -16,6 +16,9 @@ export default {
|
||||
}
|
||||
},
|
||||
types: {
|
||||
AllowedSlots: {
|
||||
_enum: ['PrimarySlots', 'PrimaryAndSecondaryPlainSlots', 'PrimaryAndSecondaryVRFSlots']
|
||||
},
|
||||
BabeAuthorityWeight: 'u64',
|
||||
BabeBlockWeight: 'u32',
|
||||
MaybeRandomness: 'Option<Randomness>',
|
||||
@@ -26,6 +29,16 @@ export default {
|
||||
primary: 'Vec<u64>',
|
||||
secondary: 'Vec<u64>'
|
||||
},
|
||||
NextConfigDescriptor: {
|
||||
_enum: {
|
||||
V0: 'Null',
|
||||
V1: 'NextConfigDescriptorV1'
|
||||
}
|
||||
},
|
||||
NextConfigDescriptorV1: {
|
||||
c: '(u64, u64)',
|
||||
allowedSlots: 'AllowedSlots'
|
||||
},
|
||||
Randomness: 'Hash',
|
||||
RawBabePreDigest: {
|
||||
_enum: {
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
import { ITuple } from '@polkadot/types/types';
|
||||
import { Enum, Option, Struct, U8aFixed, Vec } from '@polkadot/types/codec';
|
||||
import { u32, u64 } from '@polkadot/types/primitive';
|
||||
import { Hash } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
/** @name AllowedSlots */
|
||||
export interface AllowedSlots extends Enum {
|
||||
readonly isPrimarySlots: boolean;
|
||||
readonly isPrimaryAndSecondaryPlainSlots: boolean;
|
||||
readonly isPrimaryAndSecondaryVrfSlots: boolean;
|
||||
}
|
||||
|
||||
/** @name BabeAuthorityWeight */
|
||||
export interface BabeAuthorityWeight extends u64 {}
|
||||
|
||||
@@ -26,6 +34,19 @@ export interface MaybeRandomness extends Option<Randomness> {}
|
||||
/** @name MaybeVrf */
|
||||
export interface MaybeVrf extends Option<VrfData> {}
|
||||
|
||||
/** @name NextConfigDescriptor */
|
||||
export interface NextConfigDescriptor extends Enum {
|
||||
readonly isV0: boolean;
|
||||
readonly isV1: boolean;
|
||||
readonly asV1: NextConfigDescriptorV1;
|
||||
}
|
||||
|
||||
/** @name NextConfigDescriptorV1 */
|
||||
export interface NextConfigDescriptorV1 extends Struct {
|
||||
readonly c: ITuple<[u64, u64]>;
|
||||
readonly allowedSlots: AllowedSlots;
|
||||
}
|
||||
|
||||
/** @name Randomness */
|
||||
export interface Randomness extends Hash {}
|
||||
|
||||
|
||||
@@ -96,6 +96,9 @@ export default {
|
||||
delay: 'BlockNumber',
|
||||
tally: 'Tally'
|
||||
},
|
||||
ReleasesDemocracy: {
|
||||
_enum: ['V1']
|
||||
},
|
||||
Tally: {
|
||||
ayes: 'Balance',
|
||||
nays: 'Balance',
|
||||
|
||||
@@ -112,6 +112,11 @@ export interface ReferendumStatus extends Struct {
|
||||
readonly tally: Tally;
|
||||
}
|
||||
|
||||
/** @name ReleasesDemocracy */
|
||||
export interface ReleasesDemocracy extends Enum {
|
||||
readonly isV1: boolean;
|
||||
}
|
||||
|
||||
/** @name Tally */
|
||||
export interface Tally extends Struct {
|
||||
readonly ayes: Balance;
|
||||
|
||||
@@ -11,6 +11,18 @@ export default {
|
||||
rpc: {},
|
||||
types: {
|
||||
ApprovalFlag: 'u32',
|
||||
DefunctVoter: {
|
||||
who: 'AccountId',
|
||||
voteCount: 'Compact<u32>',
|
||||
candidateCount: 'Compact<u32>'
|
||||
},
|
||||
Renouncing: {
|
||||
_enum: {
|
||||
Member: 'Null',
|
||||
RunnerUp: 'Null',
|
||||
Candidate: 'Compact<u32>'
|
||||
}
|
||||
},
|
||||
SetIndex: 'u32',
|
||||
Vote: 'GenericVote',
|
||||
VoteIndex: 'u32',
|
||||
|
||||
@@ -1,14 +1,29 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
import { Enum, Struct } from '@polkadot/types/codec';
|
||||
import { Compact, Enum, Struct } from '@polkadot/types/codec';
|
||||
import { GenericVote } from '@polkadot/types/generic';
|
||||
import { u32 } from '@polkadot/types/primitive';
|
||||
import { Balance } from '@polkadot/types/interfaces/runtime';
|
||||
import { AccountId, Balance } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
/** @name ApprovalFlag */
|
||||
export interface ApprovalFlag extends u32 {}
|
||||
|
||||
/** @name DefunctVoter */
|
||||
export interface DefunctVoter extends Struct {
|
||||
readonly who: AccountId;
|
||||
readonly voteCount: Compact<u32>;
|
||||
readonly candidateCount: Compact<u32>;
|
||||
}
|
||||
|
||||
/** @name Renouncing */
|
||||
export interface Renouncing extends Enum {
|
||||
readonly isMember: boolean;
|
||||
readonly isRunnerUp: boolean;
|
||||
readonly isCandidate: boolean;
|
||||
readonly asCandidate: Compact<u32>;
|
||||
}
|
||||
|
||||
/** @name SetIndex */
|
||||
export interface SetIndex extends u32 {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user