Skip to content

Commit

Permalink
fix: add support for AuraUnincludedSegmentApi (#5891)
Browse files Browse the repository at this point in the history
* added AuraUnincludedSegmentApi

* linting
  • Loading branch information
bee344 committed May 27, 2024
1 parent 2ef84c5 commit d04cc7b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions packages/types/src/interfaces/cumulus/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit d04cc7b

Please sign in to comment.