Closed RayLvv closed 1 year ago
Maybe that's because ethers compatibility problem, I'm using following package:
"dependencies": {
"@aragon/osx": "^1.3.0-rc0.3",
"@aragon/osx-ethers": "^1.3.0-rc0.3",
"@aragon/sdk-client": "^1.14.0",
"@aragon/sdk-client-common": "^1.6.0",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
"@nomicfoundation/hardhat-ethers": "^3.0.0",
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
"@nomicfoundation/hardhat-toolbox": "^3.0.0",
"@nomicfoundation/hardhat-verify": "^1.0.0",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@openzeppelin/hardhat-upgrades": "^2.3.1",
"@typechain/ethers-v6": "^0.4.0",
"@typechain/hardhat": "^8.0.0",
"@types/mocha": ">=9.1.0",
"@types/node": "^20.8.3",
"ethers": "5.7.2",
"hardhat": "^2.18.0",
"hardhat-gas-reporter": "^1.0.8",
"ipfs-http-client": "53.0.1",
"solidity-coverage": "^0.8.1",
"ts-node": ">=8.0.0",
"typechain": "^8.2.0",
"typescript": ">=4.5.0"
},
The current versions of the Hardhat Upgrades plugin requires ethers v6.
You can update your existing project to use ethers v6 according to Hardhat Toolbox v3's release notes.
Here occurs an error when I call
upgrades.deployProxy
function:Following error occured: