diff --git a/.mocharc.json b/.mocharc.json index 7e2d927..91ce63c 100644 --- a/.mocharc.json +++ b/.mocharc.json @@ -1,5 +1,5 @@ { "require": "ts-node/register/files", "ignore": ["test/fixture-projects/**/*"], - "timeout": 50000 + "timeout": 100000 } diff --git a/test/fixture-projects/rinkeby-kovan-project-with-constructor/.gitignore b/test/fixture-projects/goerli-sepolia-project-with-constructor/.gitignore similarity index 100% rename from test/fixture-projects/rinkeby-kovan-project-with-constructor/.gitignore rename to test/fixture-projects/goerli-sepolia-project-with-constructor/.gitignore diff --git a/test/fixture-projects/rinkeby-kovan-project-with-constructor/contracts/ERC20Mock.sol b/test/fixture-projects/goerli-sepolia-project-with-constructor/contracts/ERC20Mock.sol similarity index 100% rename from test/fixture-projects/rinkeby-kovan-project-with-constructor/contracts/ERC20Mock.sol rename to test/fixture-projects/goerli-sepolia-project-with-constructor/contracts/ERC20Mock.sol diff --git a/test/fixture-projects/rinkeby-kovan-project-with-constructor/contracts/imported/Context.sol b/test/fixture-projects/goerli-sepolia-project-with-constructor/contracts/imported/Context.sol similarity index 100% rename from test/fixture-projects/rinkeby-kovan-project-with-constructor/contracts/imported/Context.sol rename to test/fixture-projects/goerli-sepolia-project-with-constructor/contracts/imported/Context.sol diff --git a/test/fixture-projects/rinkeby-kovan-project-with-constructor/contracts/imported/ERC20.sol b/test/fixture-projects/goerli-sepolia-project-with-constructor/contracts/imported/ERC20.sol similarity index 100% rename from test/fixture-projects/rinkeby-kovan-project-with-constructor/contracts/imported/ERC20.sol rename to test/fixture-projects/goerli-sepolia-project-with-constructor/contracts/imported/ERC20.sol diff --git a/test/fixture-projects/rinkeby-kovan-project-with-constructor/contracts/imported/IERC20.sol b/test/fixture-projects/goerli-sepolia-project-with-constructor/contracts/imported/IERC20.sol similarity index 100% rename from test/fixture-projects/rinkeby-kovan-project-with-constructor/contracts/imported/IERC20.sol rename to test/fixture-projects/goerli-sepolia-project-with-constructor/contracts/imported/IERC20.sol diff --git a/test/fixture-projects/rinkeby-kovan-project-with-constructor/contracts/imported/IERC20Metadata.sol b/test/fixture-projects/goerli-sepolia-project-with-constructor/contracts/imported/IERC20Metadata.sol similarity index 100% rename from test/fixture-projects/rinkeby-kovan-project-with-constructor/contracts/imported/IERC20Metadata.sol rename to test/fixture-projects/goerli-sepolia-project-with-constructor/contracts/imported/IERC20Metadata.sol diff --git a/test/fixture-projects/rinkeby-kovan-project-with-constructor/deploy-args.ts b/test/fixture-projects/goerli-sepolia-project-with-constructor/deploy-args.ts similarity index 100% rename from test/fixture-projects/rinkeby-kovan-project-with-constructor/deploy-args.ts rename to test/fixture-projects/goerli-sepolia-project-with-constructor/deploy-args.ts diff --git a/test/fixture-projects/rinkeby-kovan-project-with-constructor/hardhat.config.ts b/test/fixture-projects/goerli-sepolia-project-with-constructor/hardhat.config.ts similarity index 85% rename from test/fixture-projects/rinkeby-kovan-project-with-constructor/hardhat.config.ts rename to test/fixture-projects/goerli-sepolia-project-with-constructor/hardhat.config.ts index 04b9a17..dfd619c 100644 --- a/test/fixture-projects/rinkeby-kovan-project-with-constructor/hardhat.config.ts +++ b/test/fixture-projects/goerli-sepolia-project-with-constructor/hardhat.config.ts @@ -31,11 +31,11 @@ const config: HardhatUserConfig = { // Just a testing private key with some Rinkeby & Kovan ether :-D - there is nothing to be gained however by stealing it ;-) signer: "0xe1904817e407877ea09135933f39121aa68ed0d9729d301084c544204171d100", - networks: ["rinkeby", "kovan"], + networks: ["goerli", "sepolia"], // A free Infura API key :-D - there is nothing to be gained however by stealing it ;-) rpcUrls: [ - "https://rinkeby.infura.io/v3/a6a7e3934ce44d54a27a256079a3b8a2", - "https://kovan.infura.io/v3/a6a7e3934ce44d54a27a256079a3b8a2", + "https://goerli.infura.io/v3/a6a7e3934ce44d54a27a256079a3b8a2", + "https://rpc.sepolia.org", ], gasLimit: 1.2 * 10 ** 6, }, diff --git a/test/xdeploy_rinkeby_kovan_with_constructor.test.ts b/test/xdeploy_goerli_sepolia_with_constructor.test.ts similarity index 98% rename from test/xdeploy_rinkeby_kovan_with_constructor.test.ts rename to test/xdeploy_goerli_sepolia_with_constructor.test.ts index f1a68df..f7f4de6 100644 --- a/test/xdeploy_rinkeby_kovan_with_constructor.test.ts +++ b/test/xdeploy_goerli_sepolia_with_constructor.test.ts @@ -2,9 +2,9 @@ import { useEnvironment } from "./helpers"; import { assert, expect } from "chai"; import { NomicLabsHardhatPluginError } from "hardhat/plugins"; -describe("Plugin test xdeploy on Rinkeby and Kovan with constructor", function () { +describe("Plugin test xdeploy on Goerli and Sepolia with constructor", function () { describe("Hardhat Runtime Environment (HRE) extension", function () { - useEnvironment("rinkeby-kovan-project-with-constructor"); + useEnvironment("goerli-sepolia-project-with-constructor"); it("calling xdeploy successfully", async function () { return this.hre.run("xdeploy"); });