diff --git a/utils/deploy.ts b/utils/deploy.ts index 2477dcf..66158c3 100644 --- a/utils/deploy.ts +++ b/utils/deploy.ts @@ -14,7 +14,7 @@ export const getChainId = async (hre: HardhatRuntimeEnvironment): Promise { diff --git a/utils/env.ts b/utils/env.ts index bd2bf1d..4476051 100644 --- a/utils/env.ts +++ b/utils/env.ts @@ -62,7 +62,7 @@ export function getEtherscanAPIKeys(networks: string[]): { [network: string]: st if (!networkApiKey) { console.warn(`No etherscan api key for ${network}`); } else { - apiKeys[network] = networkApiKey; + apiKeys[network == 'ethereum' ? 'mainnet' : network] = networkApiKey; } }); return apiKeys;