From fa17cfb149293174cb85814612218d9e91f11504 Mon Sep 17 00:00:00 2001 From: Aleksandr Krupenkin Date: Fri, 7 Jan 2022 20:17:19 +0300 Subject: [PATCH] Fix Robonomics types (#6800) --- .../apps-config/src/api/spec/robonomics.ts | 31 +------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/packages/apps-config/src/api/spec/robonomics.ts b/packages/apps-config/src/api/spec/robonomics.ts index efc61cd4c6..569e205405 100644 --- a/packages/apps-config/src/api/spec/robonomics.ts +++ b/packages/apps-config/src/api/spec/robonomics.ts @@ -12,9 +12,6 @@ const definitions: OverrideBundleDefinition = { // on all versions minmax: [0, undefined], types: { - Address: 'AccountId', - LookupSource: 'AccountId', - Lighthouse: 'H160', Record: 'Vec', Technics: 'Vec', Economics: '{}', @@ -33,33 +30,7 @@ const definitions: OverrideBundleDefinition = { promisee_signature: 'MultiSignature', promisor_signature: 'MultiSignature' }, - LiabilityIndex: 'u32', - ValidationFunctionParams: { - max_code_size: 'u32', - relay_chain_height: 'u32', - code_upgrade_allowed: 'Option' - }, - ChainId: { - _enum: { - RelayChain: null, - Parachain: 'ParaId' - } - }, - XCurrencyId: { - chain_id: 'ChainId', - currency_id: 'Bytes' - }, - CurrencyIdOf: 'CurrencyId', - CurrencyId: { - _enum: { - Token: 'TokenSymbol' - } - }, - TokenSymbol: { - _enum: ['ACA', 'AUSD', 'DOT', 'XBTC', 'LDOT', 'RENBTC', 'SDN', 'PLM', 'XRT'] - }, - AmountOf: 'Amount', - Amount: 'i128' + LiabilityIndex: 'u32' } } ]