From d04cc7b9400eec501cf1e3eca99c8ccace5d114e Mon Sep 17 00:00:00 2001 From: Alberto Nicolas Penayo <74352651+bee344@users.noreply.github.com> Date: Mon, 27 May 2024 11:19:37 -0300 Subject: [PATCH] fix: add support for `AuraUnincludedSegmentApi` (#5891) * added AuraUnincludedSegmentApi * linting --- .../types/src/interfaces/cumulus/runtime.ts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/packages/types/src/interfaces/cumulus/runtime.ts b/packages/types/src/interfaces/cumulus/runtime.ts index be8e8a63b6..92188c2a85 100644 --- a/packages/types/src/interfaces/cumulus/runtime.ts +++ b/packages/types/src/interfaces/cumulus/runtime.ts @@ -4,6 +4,27 @@ import type { DefinitionsCall } from '../../types/index.js'; export const runtime: DefinitionsCall = { + AuraUnincludedSegmentApi: [ + { + methods: { + can_build_upon: { + description: 'Whether it is legal to extend the chain', + params: [ + { + name: 'includedHash', + type: 'BlockHash' + }, + { + name: 'slot', + type: 'Slot' + } + ], + type: 'bool' + } + }, + version: 1 + } + ], CollectCollationInfo: [ { methods: {