Skip to content

Commit

Permalink
Remove docker and test networks
Browse files Browse the repository at this point in the history
  • Loading branch information
timjrobinson committed Jun 27, 2023
1 parent 9d4378b commit 1b1d758
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 299 deletions.
27 changes: 0 additions & 27 deletions src/lib/config/docker/contracts.ts

This file was deleted.

101 changes: 0 additions & 101 deletions src/lib/config/docker/index.ts

This file was deleted.

21 changes: 0 additions & 21 deletions src/lib/config/docker/tokens.ts

This file was deleted.

8 changes: 1 addition & 7 deletions src/lib/config/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import { Config } from './types';

import arbitrum from './arbitrum';
import docker from './docker';
import goerli from './goerli';
import gnosisChain from './gnosis-chain';
import mainnet from './mainnet';
import optimism from './optimism';
import polygon from './polygon';
import gnosisChain from './gnosis-chain';
import zkevm from './zkevm';
import test from './test';

// We don't import Network from sdk to avoid extra bundle size when loading app (while the SDK is not tree-shakable)
export enum Network {
Expand All @@ -34,10 +32,6 @@ const config: Record<Network | number, Config> = {
[Network.OPTIMISM]: optimism,
[Network.GNOSIS]: gnosisChain,
[Network.ZKEVM]: zkevm,
// @ts-ignore
12345: test,
// @ts-ignore
17: docker,
};

export default config;
134 changes: 0 additions & 134 deletions src/lib/config/test/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/lib/config/test/keys.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/lib/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export interface Keys {

export interface Config {
key: string;
chainId: Network | 12345 | 17;
chainId: Network;
chainName: string;
name: string;
shortName: string;
Expand Down

0 comments on commit 1b1d758

Please sign in to comment.