Skip to content

Commit

Permalink
Removed hardhat-local-networks-config plugin
Browse files Browse the repository at this point in the history
After an update in `deepmerge` library, `hardhat-local-networks-config`
stopped working and that lead to our system tests to fail with a
mysterious `TypeError: config.chains.has is not a function` error.

Until the problem is not fixed in `hardhat-local-networks-config`, the
plugin is removed. It was here for convenience and all tests are passing
without it.

See NomicFoundation/hardhat#2630
  • Loading branch information
pdyraga committed May 3, 2022
1 parent 707b0f1 commit f633520
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 56 deletions.
28 changes: 0 additions & 28 deletions .hardhat/networks_TEMPLATE.ts

This file was deleted.

1 change: 0 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { HardhatUserConfig } from "hardhat/config"

import "@keep-network/hardhat-helpers"
import "@keep-network/hardhat-local-networks-config"
import "@nomiclabs/hardhat-waffle"
import "@openzeppelin/hardhat-upgrades"
import "@tenderly/hardhat-tenderly"
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
},
"devDependencies": {
"@keep-network/hardhat-helpers": "^0.4.1-pre.2",
"@keep-network/hardhat-local-networks-config": "^0.1.0-pre.4",
"@keep-network/prettier-config-keep": "github:keep-network/prettier-config-keep#d6ec02e",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
Expand All @@ -50,7 +49,6 @@
"hardhat-contract-sizer": "^2.1.1",
"hardhat-deploy": "^0.9.4",
"hardhat-gas-reporter": "^1.0.4",
"hardhat-local-networks-config-plugin": "^0.0.6",
"prettier": "^2.3.2",
"prettier-plugin-sh": "^0.7.1",
"prettier-plugin-solidity": "^1.0.0-beta.14 ",
Expand Down
25 changes: 0 additions & 25 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -569,14 +569,6 @@
resolved "https://registry.yarnpkg.com/@keep-network/hardhat-helpers/-/hardhat-helpers-0.4.1-pre.2.tgz#4c03b7bf52d28378383dbcbd94d9fd3dc3bfbf70"
integrity sha512-Mkgy4yD3ZVvyDshejFLTJU2+APX0w1RL9CFDH5P8ulhlzuSfwr07oo7VO2Bqw4WUuM879Rmfnmy1Ffwn/tnzyQ==

"@keep-network/hardhat-local-networks-config@^0.1.0-pre.4":
version "0.1.0-pre.4"
resolved "https://registry.yarnpkg.com/@keep-network/hardhat-local-networks-config/-/hardhat-local-networks-config-0.1.0-pre.4.tgz#cc0c8ac1f5e30f33378e7451f696ab17d504ab86"
integrity sha512-HSQv1xXMUoJCJKrjDJg2Afxj5VmCxEshWZUGNxk1d6D5p5+GBpakb/m6COwMkdwa6cVIcZqUMEBEAnf0fKLWog==
dependencies:
deepmerge "^4.2.2"
untildify "^4.0.0"

"@keep-network/keep-core@>1.8.0-dev <1.8.0-pre":
version "1.8.0-dev.5"
resolved "https://registry.yarnpkg.com/@keep-network/keep-core/-/keep-core-1.8.0-dev.5.tgz#8b4d08ec437f29c94723ee54fcf76456ba5408c3"
Expand Down Expand Up @@ -3051,11 +3043,6 @@ deep-is@^0.1.3, deep-is@~0.1.3:
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831"
integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==

deepmerge@^4.2.2:
version "4.2.2"
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955"
integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==

defer-to-connect@^1.0.1:
version "1.1.3"
resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591"
Expand Down Expand Up @@ -4930,13 +4917,6 @@ hardhat-gas-reporter@^1.0.4:
eth-gas-reporter "^0.2.24"
sha1 "^1.1.1"

hardhat-local-networks-config-plugin@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/hardhat-local-networks-config-plugin/-/hardhat-local-networks-config-plugin-0.0.6.tgz#bffa9706026f07fc5f7fccf0ad65009b2617868f"
integrity sha512-Ala+n7+KtAKXakDAyR4GhgTvgalnP2OK8mte9cqvV47AJIQWCdtBAKeGdAdUvsGyvGVTW1f6mYK2PJQyEmOE5w==
dependencies:
deepmerge "^4.2.2"

hardhat@^2.6.8:
version "2.8.4"
resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.8.4.tgz#b12cc8b8ea578fc6cefbcd9683d558adc302152d"
Expand Down Expand Up @@ -9137,11 +9117,6 @@ unset-value@^1.0.0:
has-value "^0.3.1"
isobject "^3.0.0"

untildify@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b"
integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==

uri-js@^4.2.2:
version "4.4.1"
resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e"
Expand Down

0 comments on commit f633520

Please sign in to comment.