Skip to content

Commit

Permalink
fix: @nomicfoundation/hardhat-ethers vs @nomiclabs/hardhat-ethers
Browse files Browse the repository at this point in the history
@openzeppelin/hardhat-upgrades needs @nomicfoundation/hardhat-ethers to avoid clashes
with @nomiclabs/[email protected] we fix this in package.json
  • Loading branch information
adjisb committed Dec 6, 2023
1 parent ade7e7c commit 5c5f118
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
2 changes: 1 addition & 1 deletion packages/deploy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@nomicfoundation/hardhat-chai-matchers": "1",
"@nomicfoundation/hardhat-ethers": "^3.0.0",
"@nomicfoundation/hardhat-ethers": "npm:@nomiclabs/[email protected]",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@nomicfoundation/hardhat-verify": "^1.1.0",
"@nomiclabs/hardhat-ethers": "^2.2.3",
Expand Down
25 changes: 6 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1306,16 +1306,13 @@ __metadata:
languageName: node
linkType: hard

"@nomicfoundation/hardhat-ethers@npm:^3.0.0":
version: 3.0.5
resolution: "@nomicfoundation/hardhat-ethers@npm:3.0.5"
dependencies:
debug: ^4.1.1
lodash.isequal: ^4.5.0
"@nomicfoundation/hardhat-ethers@npm:@nomiclabs/[email protected], @nomiclabs/hardhat-ethers@npm:^2.2.3":
version: 2.2.3
resolution: "@nomiclabs/hardhat-ethers@npm:2.2.3"
peerDependencies:
ethers: ^6.1.0
ethers: ^5.0.0
hardhat: ^2.0.0
checksum: 34b092dfec68f8d8673c96af717660327edc814bc5c9cdb5bc1f82d5bde2b18bc9b9d3499a632784a3d4f2505ac174217e55d31b546b7eaa77a5bb30b3c80bb4
checksum: 72321317e55eb510306e04c42353c5f7ceb42d086fc76cc740120da6e1635b7ad5bbf23a8d6b02bd590754adcf646618933111624085ab249b1ff3482e773226
languageName: node
linkType: hard

Expand Down Expand Up @@ -1523,16 +1520,6 @@ __metadata:
languageName: node
linkType: hard

"@nomiclabs/hardhat-ethers@npm:^2.2.3":
version: 2.2.3
resolution: "@nomiclabs/hardhat-ethers@npm:2.2.3"
peerDependencies:
ethers: ^5.0.0
hardhat: ^2.0.0
checksum: 72321317e55eb510306e04c42353c5f7ceb42d086fc76cc740120da6e1635b7ad5bbf23a8d6b02bd590754adcf646618933111624085ab249b1ff3482e773226
languageName: node
linkType: hard

"@nomiclabs/hardhat-ethers@npm:[email protected]":
version: 0.3.0-beta.7
resolution: "hardhat-deploy-ethers@npm:0.3.0-beta.7"
Expand Down Expand Up @@ -2418,7 +2405,7 @@ __metadata:
"@ethersproject/abi": ^5.7.0
"@ethersproject/providers": ^5.7.2
"@nomicfoundation/hardhat-chai-matchers": 1
"@nomicfoundation/hardhat-ethers": ^3.0.0
"@nomicfoundation/hardhat-ethers": "npm:@nomiclabs/[email protected]"
"@nomicfoundation/hardhat-network-helpers": ^1.0.8
"@nomicfoundation/hardhat-verify": ^1.1.0
"@nomiclabs/hardhat-ethers": ^2.2.3
Expand Down

0 comments on commit 5c5f118

Please sign in to comment.