diff --git a/chains/internal/2_mantra-dukong-internal.json b/chains/testnet/2_mantra-dukong-internal.json similarity index 100% rename from chains/internal/2_mantra-dukong-internal.json rename to chains/testnet/2_mantra-dukong-internal.json diff --git a/chains/internal/3_mantra-dukong-sandbox.json b/chains/testnet/3_mantra-dukong-sandbox.json similarity index 100% rename from chains/internal/3_mantra-dukong-sandbox.json rename to chains/testnet/3_mantra-dukong-sandbox.json diff --git a/chains/internal/5_mantra-internal.json b/chains/testnet/5_mantra-internal.json similarity index 100% rename from chains/internal/5_mantra-internal.json rename to chains/testnet/5_mantra-internal.json diff --git a/src/stores/useDashboard.ts b/src/stores/useDashboard.ts index e3eaf6a835..e3544ce662 100644 --- a/src/stores/useDashboard.ts +++ b/src/stores/useDashboard.ts @@ -347,14 +347,12 @@ export const useDashboard = defineStore('dashboard', { }, async loadingFromLocal() { let testnets: Record = {}; - let internals: Record = {}; if (window.location.hostname.search('.int.') > -1 || window.location.hostname.search('localhost') > -1) { testnets = import.meta.glob('../../chains/testnet/*.json', { eager: true }); - internals = import.meta.glob('../../chains/internal/*.json', { eager: true }); } const mainnets: Record = import.meta.glob('../../chains/mainnet/*.json', { eager: true }); - const source = { ...mainnets, ...testnets, ...internals }; + const source = { ...mainnets, ...testnets }; Object.values(source).forEach((x: LocalConfig) => { this.chains[x.chain_name] = fromLocal(x); @@ -366,7 +364,6 @@ export const useDashboard = defineStore('dashboard', { async loadLocalConfig(network: NetworkType) { const config: Record = {}; let testnets: Record = {}; - let internals: Record = {}; if ( window.location.hostname.search('.int.') > -1 || window.location.hostname.search('localhost') > -1 || @@ -376,13 +373,10 @@ export const useDashboard = defineStore('dashboard', { testnets = import.meta.glob('../../chains/testnet/*.json', { eager: true, }); - internals = import.meta.glob('../../chains/internal/*.json', { - eager: true, - }); } const mainnets: Record = import.meta.glob('../../chains/mainnet/*.json', { eager: true }); - const source = { ...mainnets, ...testnets, ...internals }; + const source = { ...mainnets, ...testnets }; Object.values(source).forEach((x: LocalConfig) => { config[x.chain_name] = fromLocal(x);