From 62bd4b54fbefa9d42dc80f98f9b013c472bb20bc Mon Sep 17 00:00:00 2001 From: Masterdubs Date: Sat, 19 Mar 2022 17:05:37 +0400 Subject: [PATCH] Add KSI and SDX bridge type (#7185) * Add KSI and SDX bridge type * fix to comply with lint --- packages/apps-config/src/api/spec/kusari.ts | 9 +++++++++ packages/apps-config/src/api/spec/swapdex.ts | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/packages/apps-config/src/api/spec/kusari.ts b/packages/apps-config/src/api/spec/kusari.ts index d0ae435c7f..1fe1974325 100644 --- a/packages/apps-config/src/api/spec/kusari.ts +++ b/packages/apps-config/src/api/spec/kusari.ts @@ -64,6 +64,15 @@ const definitions: OverrideBundleDefinition = { metadata: 'Vec', owner: 'AccountId', class_data: 'ClassData' + }, + 'bridge::ChainId': 'u8', + ChainId: 'u8', + ResourceId: '[u8; 32]', + DepositNonce: 'u64', + ProposalVotes: { + votes_for: 'Vec', + votes_against: 'Vec', + status: 'enum' } } } diff --git a/packages/apps-config/src/api/spec/swapdex.ts b/packages/apps-config/src/api/spec/swapdex.ts index d0ae435c7f..1fe1974325 100644 --- a/packages/apps-config/src/api/spec/swapdex.ts +++ b/packages/apps-config/src/api/spec/swapdex.ts @@ -64,6 +64,15 @@ const definitions: OverrideBundleDefinition = { metadata: 'Vec', owner: 'AccountId', class_data: 'ClassData' + }, + 'bridge::ChainId': 'u8', + ChainId: 'u8', + ResourceId: '[u8; 32]', + DepositNonce: 'u64', + ProposalVotes: { + votes_for: 'Vec', + votes_against: 'Vec', + status: 'enum' } } }