From eaf72cea581b9bedbbdc67f66964bfaf7673c692 Mon Sep 17 00:00:00 2001 From: Noisekit Date: Fri, 11 Aug 2023 14:53:27 +0800 Subject: [PATCH] Fix Infura URL for optimism mainnet --- utils/common-config/hardhat.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/common-config/hardhat.config.ts b/utils/common-config/hardhat.config.ts index c35e73ae43..7db95c17a8 100644 --- a/utils/common-config/hardhat.config.ts +++ b/utils/common-config/hardhat.config.ts @@ -59,7 +59,7 @@ const config = { ['optimistic-mainnet']: { url: process.env.NETWORK_ENDPOINT || - `https://optimism.infura.io/v3/${process.env.INFURA_API_KEY}`, + `https://optimism-mainnet.infura.io/v3/${process.env.INFURA_API_KEY}`, accounts: process.env.DEPLOYER_PRIVATE_KEY ? [process.env.DEPLOYER_PRIVATE_KEY] : [], chainId: 10, },