Add support for grandpa_proveFinality RPC (#2633)
* Add support for grandpa_proveFinality RPC * CHANGELOG
This commit is contained in:
@@ -8,6 +8,25 @@ import { Definitions } from '../../types';
|
||||
|
||||
export default {
|
||||
rpc: {
|
||||
proveFinality: {
|
||||
description: 'Prove finality for the range (begin; end] hash.',
|
||||
params: [
|
||||
{
|
||||
name: 'begin',
|
||||
type: 'BlockHash'
|
||||
},
|
||||
{
|
||||
name: 'end',
|
||||
type: 'BlockHash'
|
||||
},
|
||||
{
|
||||
name: 'authoritiesSetId',
|
||||
type: 'u64',
|
||||
isOptional: true
|
||||
}
|
||||
],
|
||||
type: 'Option<EncodedFinalityProofs>'
|
||||
},
|
||||
roundState: {
|
||||
description: 'Returns the state of the current best round state as well as the ongoing background rounds',
|
||||
params: [],
|
||||
@@ -28,6 +47,7 @@ export default {
|
||||
AuthorityIndex: 'u64',
|
||||
AuthorityList: 'Vec<NextAuthority>',
|
||||
AuthorityWeight: 'u64',
|
||||
EncodedFinalityProofs: 'Bytes',
|
||||
GrandpaEquivocation: {
|
||||
_enum: {
|
||||
Prevote: 'GrandpaEquivocationValue',
|
||||
|
||||
Reference in New Issue
Block a user