Add types for beresheet runtime (#5576)

* Add types for beresheet runtime

* Import beresheet types to spec listing
This commit is contained in:
Raymond Zhong 2021-06-17 21:59:44 -07:00 committed by GitHub
parent f6447f407c
commit aa373cd4ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,11 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { OverrideBundleDefinition } from '@polkadot/types/types';
import { spec } from '@edgeware/node-types';
// There is no separate types bundle for testnet at this time
const beresheet = spec.typesBundle.spec?.edgeware as OverrideBundleDefinition;
export default beresheet;

View File

@ -6,6 +6,7 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types';
import acala from './acala';
import apron from './apron';
import aresParachain from './ares-parachain';
import beresheet from './beresheet';
import bifrost from './bifrost';
import bifrostParachain from './bifrost-parachain';
import bitcountry from './bitcountry';
@ -109,6 +110,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
apron,
'ares-parachain': aresParachain,
basilisk: hydrate,
beresheet,
bifrost: bifrost,
'bifrost-parachain': bifrostParachain,
'bitcountry-node': bitcountry,