From ade8c2630ca10c5bb437b9f0220c5b54388a5e0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Molina=20Colmenero?= Date: Mon, 30 Oct 2023 16:00:17 +0100 Subject: [PATCH] feat: add watr's spec (#9996) --- packages/apps-config/src/api/spec/watr.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 packages/apps-config/src/api/spec/watr.ts diff --git a/packages/apps-config/src/api/spec/watr.ts b/packages/apps-config/src/api/spec/watr.ts new file mode 100644 index 000000000000..f6e17ba63646 --- /dev/null +++ b/packages/apps-config/src/api/spec/watr.ts @@ -0,0 +1,22 @@ +// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { OverrideBundleDefinition } from '@polkadot/types/types'; + +// structs need to be in order +/* eslint-disable sort-keys */ + +const definitions: OverrideBundleDefinition = { + types: [ + { + // on all versions + minmax: [0, undefined], + types: { + Address: 'AccountId', + LookupSource: 'AccountId' + } + } + ] +}; + +export default definitions;