Open 0xemrekaya opened 8 months ago
Description: This Pull Request includes the following changes to use the new deploy features of Hardhat v2.0.0^:
deployContract()
getContractFactory()
deploy()
address
target
In Hardhat v2.0.0^, a number of changes were made to the deploy process. So, the old code was not working, I updated it with the new version.
BTW the old code has a error:
If you need more information about Hardhat v2.0.0^ check this guides: https://hardhat.org/hardhat-runner/docs/guides/deploying
Description: This Pull Request includes the following changes to use the new deploy features of Hardhat v2.0.0^:
deployContract()
function is used instead of the oldgetContractFactory()
anddeploy()
functions.getContractFactory()
anddeploy()
functions are deprecated.address
is deprecated, instead usetarget
.In Hardhat v2.0.0^, a number of changes were made to the deploy process. So, the old code was not working, I updated it with the new version.
BTW the old code has a error:
If you need more information about Hardhat v2.0.0^ check this guides: https://hardhat.org/hardhat-runner/docs/guides/deploying