From a5d4a4a9af814ca7076f52e9762842d2d9e0f8ed Mon Sep 17 00:00:00 2001 From: Alessandro Manfredi Date: Fri, 13 Oct 2023 07:39:25 +0200 Subject: [PATCH] refactor(hardhat.config.js): changes string concatenation when infura is used --- packages/evm/hardhat.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/evm/hardhat.config.ts b/packages/evm/hardhat.config.ts index 0cb2e008..f6284ee7 100644 --- a/packages/evm/hardhat.config.ts +++ b/packages/evm/hardhat.config.ts @@ -54,7 +54,7 @@ function getChainConfig(chain: keyof typeof chainIds): NetworkUserConfig { jsonRpcUrl = "https://rpc.chiadochain.net/" break default: - jsonRpcUrl = "https://" + chain + ".infura.io/v3/" + infuraApiKey + jsonRpcUrl = `https://${chain}.infura.io/v3/${infuraApiKey}` } }