Skip to content

Commit 8b16cac

Browse files
No longer support Ropsten and Rinkeby testnets
Both testnets are soon to be deprecated (https://blog.ethereum.org/2022/06/21/testnet-deprecation). We've transisioned to using Goerli testnet instead and we no longer need to have any code relating to Ropsten/Rinkeby.
1 parent e3ba353 commit 8b16cac

File tree

3 files changed

+0
-23
lines changed

3 files changed

+0
-23
lines changed

deploy/00_resolve_nucypher_staking_escrow.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
2626
} else if (
2727
// TODO: For testnets currently we deploy a stub contract. We should consider
2828
// switching to an actual contract.
29-
hre.network.name !== "ropsten" &&
3029
hre.network.name !== "goerli" &&
3130
(!hre.network.tags.allowStubs ||
3231
(hre.network.config as HardhatNetworkConfig)?.forking?.enabled)

deploy/00_resolve_nucypher_token.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
2121
} else if (
2222
// TODO: For testnets currently we deploy a stub contract. We should consider
2323
// switching to an actual contract.
24-
hre.network.name !== "ropsten" &&
2524
hre.network.name !== "goerli" &&
2625
(!hre.network.tags.allowStubs ||
2726
(hre.network.config as HardhatNetworkConfig)?.forking?.enabled)

hardhat.config.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,6 @@ const config: HardhatUserConfig = {
5757
: undefined,
5858
tags: ["etherscan", "tenderly"],
5959
},
60-
rinkeby: {
61-
url: process.env.CHAIN_API_URL || "",
62-
chainId: 4,
63-
accounts: process.env.CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY
64-
? [process.env.CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY]
65-
: undefined,
66-
tags: ["tenderly"],
67-
},
68-
ropsten: {
69-
url: process.env.CHAIN_API_URL || "",
70-
chainId: 3,
71-
accounts: process.env.CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY
72-
? [
73-
process.env.CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY,
74-
process.env.KEEP_CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY,
75-
]
76-
: undefined,
77-
tags: ["tenderly"],
78-
},
7960
mainnet: {
8061
url: process.env.CHAIN_API_URL || "",
8162
chainId: 1,
@@ -111,7 +92,6 @@ const config: HardhatUserConfig = {
11192
// with `yarn link` command, uncomment the line below to use the linked
11293
// dependencies.
11394
// development: ["external/npm/@keep-network/keep-core/artifacts"],
114-
ropsten: ["external/npm/@keep-network/keep-core/artifacts"],
11595
goerli: ["external/npm/@keep-network/keep-core/artifacts"],
11696
mainnet: ["./external/mainnet"],
11797
},
@@ -127,7 +107,6 @@ const config: HardhatUserConfig = {
127107
},
128108
keepRegistryKeeper: {
129109
default: 1, // same as the deployer
130-
ropsten: "0x923C5Dbf353e99394A21Aa7B67F3327Ca111C67D",
131110
goerli: "0x68ad60CC5e8f3B7cC53beaB321cf0e6036962dBc",
132111
},
133112
},

0 commit comments

Comments
 (0)