Enhanced integration & optimized testing

This commit is contained in:
PedroCailleret
2023-02-14 18:40:02 -03:00
parent 4c8016080d
commit 8310e013f6
40 changed files with 1516 additions and 649 deletions

View File

@@ -34,7 +34,7 @@ const chainIds = {
hardhat: 31337,
mainnet: 1,
sepolia: 11155111,
goerli : 5,
goerli: 5,
"polygon-mumbai": 80001,
};
@@ -44,8 +44,10 @@ function getChainConfig(
let jsonRpcUrl: string;
switch (chain) {
case "polygon-mumbai":
jsonRpcUrl = "https://polygon-mumbai.g.alchemy.com/v2/" + alchemyApiKey;
break;
jsonRpcUrl =
"https://polygon-mumbai.g.alchemy.com/v2/" +
alchemyApiKey;
break;
default:
jsonRpcUrl =
"https://" + chain + ".infura.io/v3/" + infuraApiKey;
@@ -138,4 +140,4 @@ const config: HardhatUserConfig = {
},
};
export default config;
export default config;