diff --git a/configs/src/deployments/utils.ts b/configs/src/deployments/getters.ts similarity index 100% rename from configs/src/deployments/utils.ts rename to configs/src/deployments/getters.ts diff --git a/configs/src/deployments/index.ts b/configs/src/deployments/index.ts index 7016df7a..98551508 100644 --- a/configs/src/deployments/index.ts +++ b/configs/src/deployments/index.ts @@ -1,3 +1,3 @@ export * from './types'; -export * from './utils'; +export * from './getters'; export * from './contracts'; diff --git a/configs/src/deployments/deployments/arbitrum.json b/configs/src/deployments/json/arbitrum.json similarity index 100% rename from configs/src/deployments/deployments/arbitrum.json rename to configs/src/deployments/json/arbitrum.json diff --git a/configs/src/deployments/deployments/arbitrumSepolia.json b/configs/src/deployments/json/arbitrumSepolia.json similarity index 100% rename from configs/src/deployments/deployments/arbitrumSepolia.json rename to configs/src/deployments/json/arbitrumSepolia.json diff --git a/configs/src/deployments/deployments/baseGoerli.json b/configs/src/deployments/json/baseGoerli.json similarity index 100% rename from configs/src/deployments/deployments/baseGoerli.json rename to configs/src/deployments/json/baseGoerli.json diff --git a/configs/src/deployments/deployments/baseMainnet.json b/configs/src/deployments/json/baseMainnet.json similarity index 100% rename from configs/src/deployments/deployments/baseMainnet.json rename to configs/src/deployments/json/baseMainnet.json diff --git a/configs/src/deployments/deployments/baseSepolia.json b/configs/src/deployments/json/baseSepolia.json similarity index 100% rename from configs/src/deployments/deployments/baseSepolia.json rename to configs/src/deployments/json/baseSepolia.json diff --git a/configs/src/deployments/deployments/goerli.json b/configs/src/deployments/json/goerli.json similarity index 100% rename from configs/src/deployments/deployments/goerli.json rename to configs/src/deployments/json/goerli.json diff --git a/configs/src/deployments/deployments/mainnet.json b/configs/src/deployments/json/mainnet.json similarity index 100% rename from configs/src/deployments/deployments/mainnet.json rename to configs/src/deployments/json/mainnet.json diff --git a/configs/src/deployments/deployments/mumbai.json b/configs/src/deployments/json/mumbai.json similarity index 100% rename from configs/src/deployments/deployments/mumbai.json rename to configs/src/deployments/json/mumbai.json diff --git a/configs/src/deployments/deployments/polygon.json b/configs/src/deployments/json/polygon.json similarity index 100% rename from configs/src/deployments/deployments/polygon.json rename to configs/src/deployments/json/polygon.json diff --git a/configs/src/deployments/deployments/sepolia.json b/configs/src/deployments/json/sepolia.json similarity index 100% rename from configs/src/deployments/deployments/sepolia.json rename to configs/src/deployments/json/sepolia.json diff --git a/configs/src/networks/utils.ts b/configs/src/networks/getters.ts similarity index 100% rename from configs/src/networks/utils.ts rename to configs/src/networks/getters.ts diff --git a/configs/src/networks/types.ts b/configs/src/networks/types.ts index f4a37437..d6989923 100644 --- a/configs/src/networks/types.ts +++ b/configs/src/networks/types.ts @@ -32,6 +32,6 @@ export type NetworkAliases = { [index in SupportedAliases]?: string; }; -export type NetworkConfigs = { - [network in SupportedNetworks]: T; +export type NetworkConfigs = { + [network in SupportedNetworks]: NetworkConfig; }; diff --git a/configs/src/test/unit/networks.test.ts b/configs/src/test/unit/networks.test.ts index 53679965..4410e81f 100644 --- a/configs/src/test/unit/networks.test.ts +++ b/configs/src/test/unit/networks.test.ts @@ -11,7 +11,7 @@ import { getNetworkByChainId, getNetworkByNameOrAlias, getNetworkNameByAlias, -} from '../../networks/utils'; +} from '../../networks/getters'; describe('Deployments', () => { describe('getNetwork', () => {