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'