Add support for grandpa_proveFinality RPC (#2633)
* Add support for grandpa_proveFinality RPC * CHANGELOG
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
Changes:
|
Changes:
|
||||||
|
|
||||||
- Add bounty type definitions from treasury
|
- Add bounty type definitions from treasury
|
||||||
|
- Add support for `grandpa_proveFinality` RPC
|
||||||
|
|
||||||
|
|
||||||
## 1.34.1 Sep 21, 2020
|
## 1.34.1 Sep 21, 2020
|
||||||
|
|||||||
@@ -8,6 +8,25 @@ import { Definitions } from '../../types';
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
rpc: {
|
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: {
|
roundState: {
|
||||||
description: 'Returns the state of the current best round state as well as the ongoing background rounds',
|
description: 'Returns the state of the current best round state as well as the ongoing background rounds',
|
||||||
params: [],
|
params: [],
|
||||||
@@ -28,6 +47,7 @@ export default {
|
|||||||
AuthorityIndex: 'u64',
|
AuthorityIndex: 'u64',
|
||||||
AuthorityList: 'Vec<NextAuthority>',
|
AuthorityList: 'Vec<NextAuthority>',
|
||||||
AuthorityWeight: 'u64',
|
AuthorityWeight: 'u64',
|
||||||
|
EncodedFinalityProofs: 'Bytes',
|
||||||
GrandpaEquivocation: {
|
GrandpaEquivocation: {
|
||||||
_enum: {
|
_enum: {
|
||||||
Prevote: 'GrandpaEquivocationValue',
|
Prevote: 'GrandpaEquivocationValue',
|
||||||
|
|||||||
Reference in New Issue
Block a user