Skip to content

Commit

Permalink
Add support for ParachainHost v11
Browse files Browse the repository at this point in the history
  • Loading branch information
TarikGul committed May 28, 2024
1 parent dd9123f commit b763b7e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions packages/types/src/interfaces/parachains/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,32 @@ const PH_V10: DefinitionsCallEntry['methods'] = {
}
};

const PH_V11: DefinitionsCallEntry['methods'] = {
claim_queue: {
description: 'Claim queue',
params: [],
type: 'BTreeMap<CoreIndex, Vec<u32>>'
}
};

export const runtime: DefinitionsCall = {
ParachainHost: [
{
methods: {
...PH_V1_TO_V2,
...PH_V2_TO_V3,
...PH_V3,
...PH_V4,
...PH_V5,
...PH_V6,
...PH_V7,
...PH_V8,
...PH_V9,
...PH_V10,
...PH_V11
},
version: 11
},
{
methods: {
...PH_V1_TO_V2,
Expand Down

0 comments on commit b763b7e

Please sign in to comment.