Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove docker and test network configs #3584

Merged
merged 1 commit into from
Jun 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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