From b2a7c453c4519cf0ac953000965b8631d2bb2f88 Mon Sep 17 00:00:00 2001 From: Jaco Date: Thu, 17 Feb 2022 11:19:24 +0100 Subject: [PATCH] Align grandpa_proveFinality with Substrate (#4573) --- CHANGELOG.md | 1 + .../types/src/interfaces/grandpa/definitions.ts | 15 +++------------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 940ca193a7..9bb287caa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Changes: +- Align `grandpa_proveFinality` with Substrate - Kusama 9160 upgrade block diff --git a/packages/types/src/interfaces/grandpa/definitions.ts b/packages/types/src/interfaces/grandpa/definitions.ts index 970f22a59e..e41d6956ad 100644 --- a/packages/types/src/interfaces/grandpa/definitions.ts +++ b/packages/types/src/interfaces/grandpa/definitions.ts @@ -9,20 +9,11 @@ import type { Definitions } from '../../types'; export default { rpc: { proveFinality: { - description: 'Prove finality for the range (begin; end] hash.', + description: 'Prove finality for the given block number, returning the Justification for the last block in the set.', params: [ { - name: 'begin', - type: 'BlockHash' - }, - { - name: 'end', - type: 'BlockHash' - }, - { - name: 'authoritiesSetId', - type: 'u64', - isOptional: true + name: 'blockNumber', + type: 'BlockNumber' } ], type: 'Option'