Skip to content

Commit 21cf396

Browse files
authored
Merge pull request #126 from threshold-network/upgrade-hardhat-deploy
Upgrade `hardhat-deploy` to latest version (`^0.11.15`) We want to upgrade `hardhat-deploy` dependency to latest version. Previously used version is not working correctly with a `@nomiclabs/hardhat-etherscan` plugin which we plan to use in the near future. Apart from updating `package.lock` and `yarn.lock`, we had to change how we store the Etherscan key in Hardhat config file, because the syntax for that got changed in the newer versions of `hardhat-deploy`.
2 parents 5b4ac56 + 55f26c2 commit 21cf396

File tree

4 files changed

+797
-332
lines changed

4 files changed

+797
-332
lines changed

hardhat.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,10 @@ const config: HardhatUserConfig = {
8888
username: "thesis",
8989
project: "thesis/threshold-network",
9090
},
91-
etherscan: {
92-
apiKey: process.env.ETHERSCAN_API_KEY,
91+
verify: {
92+
etherscan: {
93+
apiKey: process.env.ETHERSCAN_API_KEY,
94+
},
9395
},
9496
external: {
9597
contracts: [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"ethers": "^5.5.3",
4949
"hardhat": "^2.8.3",
5050
"hardhat-contract-sizer": "^2.5.0",
51-
"hardhat-deploy": "^0.9.27",
51+
"hardhat-deploy": "^0.11.15",
5252
"hardhat-gas-reporter": "^1.0.6",
5353
"prettier": "^2.3.2",
5454
"prettier-plugin-sh": "^0.7.1",

0 commit comments

Comments
 (0)