diff --git a/hardhat.config.ts b/hardhat.config.ts index 1941d1c..6f2cb7b 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -23,7 +23,7 @@ task("accounts", "Prints the list of accounts", async (taskArgs, hre) => { // Go to https://hardhat.org/config/ to learn more const config: HardhatUserConfig = { - defaultNetwork: "polygonFork", + defaultNetwork: "hardhat", solidity: { version: "0.8.4", settings: { @@ -48,18 +48,12 @@ const config: HardhatUserConfig = { ? [process.env.MUMBAI_PRIVATE_KEY] : [], }, - polygonFork: { + hardhat: { forking: { url: process.env.POLYGON_URL || "", blockNumber: 25276448, }, }, - mumbaiFork: { - forking: { - url: process.env.MUMBAI_URL || "", - blockNumber: 25276448, - }, - }, }, }; diff --git a/test/index.ts b/test/index.ts index f2808f7..e3568b6 100644 --- a/test/index.ts +++ b/test/index.ts @@ -33,8 +33,7 @@ describe("Offset Helper", function () { beforeEach(async function () { /** - * if we are forking Mumbai (which I chose to do for performance, so I can test & iterate faster) - * we impersonate my Mumbai account (I have TCO2, BCT & MATIC on it at the blockNumber I chose) + * if we are forking we impersonate my account */ if (network.name === "hardhat") { await network.provider.request({