update types spec for polkafoundry (#5075)
Co-authored-by: chuoikhungbo <quanvantruong73@gmail.cp>
This commit is contained in:
parent
6c25212081
commit
74f22b1163
@ -54,6 +54,7 @@ import plasm from './plasm';
|
||||
import plasmParachain from './plasm-parachain';
|
||||
import polkabtc from './polkabtc';
|
||||
import polkadex from './polkadex';
|
||||
import polkafoundry from './polkafoundry';
|
||||
import realis from './realis';
|
||||
import riochain from './riochain';
|
||||
import robonomics from './robonomics';
|
||||
@ -144,6 +145,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
'phoenix-parachain': phoenix,
|
||||
plasm,
|
||||
'plasm-parachain': plasmParachain,
|
||||
polkafoundry,
|
||||
realis,
|
||||
'riochain-runtime': riochain,
|
||||
robonomics,
|
||||
|
||||
21
packages/apps-config/src/api/spec/polkafoundry.ts
Normal file
21
packages/apps-config/src/api/spec/polkafoundry.ts
Normal file
@ -0,0 +1,21 @@
|
||||
// Copyright 2017-2021 @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: {
|
||||
RelayChainAccountId: 'H256'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
Loading…
Reference in New Issue
Block a user