Add AssetHub to types-support and test generation (#6022)
* Add AssetHub to types-support and test generation * lint
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// Copyright 2017-2024 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import assetHubKusamaData from '@polkadot/types-support/metadata/v15/asset-hub-kusama-hex';
|
||||
import assetHubPolkadotData from '@polkadot/types-support/metadata/v15/asset-hub-polkadot-hex';
|
||||
import kusamaData from '@polkadot/types-support/metadata/v15/kusama-hex';
|
||||
import polkadotData from '@polkadot/types-support/metadata/v15/polkadot-hex';
|
||||
import substrateData from '@polkadot/types-support/metadata/v15/substrate-hex';
|
||||
@@ -8,6 +10,12 @@ import substrateData from '@polkadot/types-support/metadata/v15/substrate-hex';
|
||||
import { testMeta } from '../util/testUtil.js';
|
||||
|
||||
testMeta(15, {
|
||||
'asset-hub-kusama': {
|
||||
data: assetHubKusamaData
|
||||
},
|
||||
'asset-hub-polkadot': {
|
||||
data: assetHubPolkadotData
|
||||
},
|
||||
kusama: {
|
||||
data: kusamaData
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user