Forráskód Böngészése

test: switch back to https instead of websocket for infura URL

Paul Razvan Berg 3 éve
szülő
commit
0408edf57e
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      hardhat.config.ts

+ 1 - 1
hardhat.config.ts

@@ -38,7 +38,7 @@ const chainIds = {
 };
 
 function getChainConfig(network: keyof typeof chainIds): NetworkUserConfig {
-  const url: string = "wss://" + network + ".infura.io/ws/v3/" + infuraApiKey;
+  const url: string = "https://" + network + ".infura.io/v3/" + infuraApiKey;
   return {
     accounts: {
       count: 10,