Add manual seal RPCs (#1894)
* Add manual seal RPCs * yarn build:interfaces
This commit is contained in:
@@ -14,6 +14,7 @@ import { AliveContractInfo, CodeHash, ContractCallRequest, ContractExecResult, C
|
||||
import { Conviction, PropIndex, Proposal, ReferendumIndex, ReferendumInfo } from '@polkadot/types/interfaces/democracy';
|
||||
import { AccountInfo, Amount, AssetOf, InherentOfflineReport, LockPeriods, NewAccountOutcome, OpaqueKey, SessionKey } from '@polkadot/types/interfaces/deprecated';
|
||||
import { ApprovalFlag, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
|
||||
import { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
|
||||
import { Account, Log } from '@polkadot/types/interfaces/evm';
|
||||
import { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset';
|
||||
import { AuthorityIndex, AuthorityList, AuthorityWeight, NextAuthority, PendingPause, PendingResume, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa';
|
||||
@@ -547,6 +548,12 @@ export interface InterfaceRegistry {
|
||||
VoteThreshold: VoteThreshold;
|
||||
'Option<VoteThreshold>': Option<VoteThreshold>;
|
||||
'Vec<VoteThreshold>': Vec<VoteThreshold>;
|
||||
CreatedBlock: CreatedBlock;
|
||||
'Option<CreatedBlock>': Option<CreatedBlock>;
|
||||
'Vec<CreatedBlock>': Vec<CreatedBlock>;
|
||||
ImportedAux: ImportedAux;
|
||||
'Option<ImportedAux>': Option<ImportedAux>;
|
||||
'Vec<ImportedAux>': Vec<ImportedAux>;
|
||||
Account: Account;
|
||||
'Option<Account>': Option<Account>;
|
||||
'Vec<Account>': Vec<Account>;
|
||||
|
||||
@@ -16,6 +16,7 @@ export { default as contracts } from './contracts/definitions';
|
||||
export { default as democracy } from './democracy/definitions';
|
||||
export { default as deprecated } from './deprecated/definitions';
|
||||
export { default as elections } from './elections/definitions';
|
||||
export { default as engine } from './engine/definitions';
|
||||
export { default as evm } from './evm/definitions';
|
||||
export { default as genericAsset } from './genericAsset/definitions';
|
||||
export { default as grandpa } from './grandpa/definitions';
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
// Copyright 2017-2020 @polkadot/types authors & contributors
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
export default {
|
||||
types: {
|
||||
CreatedBlock: {
|
||||
hash: 'BlockHash',
|
||||
aux: 'ImportedAux'
|
||||
},
|
||||
ImportedAux: {
|
||||
headerOnly: 'bool',
|
||||
clearJustificationRequests: 'bool',
|
||||
needsJustification: 'bool',
|
||||
badJustification: 'bool',
|
||||
needsFinalityProof: 'bool',
|
||||
isNewBest: 'bool'
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,4 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable @typescript-eslint/no-empty-interface */
|
||||
|
||||
export * from './types';
|
||||
@@ -0,0 +1,22 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable @typescript-eslint/no-empty-interface */
|
||||
|
||||
import { Struct } from '@polkadot/types/codec';
|
||||
import { bool } from '@polkadot/types/primitive';
|
||||
import { BlockHash } from '@polkadot/types/interfaces/rpc';
|
||||
|
||||
/** @name CreatedBlock */
|
||||
export interface CreatedBlock extends Struct {
|
||||
readonly hash: BlockHash;
|
||||
readonly aux: ImportedAux;
|
||||
}
|
||||
|
||||
/** @name ImportedAux */
|
||||
export interface ImportedAux extends Struct {
|
||||
readonly headerOnly: bool;
|
||||
readonly clearJustificationRequests: bool;
|
||||
readonly needsJustification: bool;
|
||||
readonly badJustification: bool;
|
||||
readonly needsFinalityProof: bool;
|
||||
readonly isNewBest: bool;
|
||||
}
|
||||
@@ -12,6 +12,7 @@ export * from './contracts/types';
|
||||
export * from './democracy/types';
|
||||
export * from './deprecated/types';
|
||||
export * from './elections/types';
|
||||
export * from './engine/types';
|
||||
export * from './evm/types';
|
||||
export * from './genericAsset/types';
|
||||
export * from './grandpa/types';
|
||||
|
||||
Reference in New Issue
Block a user