This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
From now on, @tenderly/hardhat-tenderly can work with ethers-v6 and @nomicfoundation/hardhat-ethers@3.0.0 packages.
This update is needed since there are new ways to deploy and wait for the deployed contract.
Basically, our automatic verification overrides the ethers property of the HardhatRuntimeEnvironment and adds custom logic for verification to it.
So now, we had to override the ethers.deployContract method to return our own TdlyContract which wrapped the ethers.Contract and its waitForDeployment() method.
Migrating from ethers-v5 and @nomiclabs/hardhat-ethers
Everything pretty much stays the same, except different names are involved.
From now on, @tenderly/hardhat-tenderly can work with ethers-v6 and @nomicfoundation/hardhat-ethers@3.0.0 packages.
This update is needed since there are new ways to deploy and wait for the deployed contract.
Basically, our automatic verification overrides the ethers property of the HardhatRuntimeEnvironment and adds custom logic for verification to it.
So now, we had to override the ethers.deployContract method to return our own TdlyContract which wrapped the ethers.Contract and its waitForDeployment() method.
Migrating from ethers-v5 and @nomiclabs/hardhat-ethers
Everything pretty much stays the same, except different names are involved.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@tenderly/hardhat-tenderly@2.0.0
Major Changes
#164
02952c4
Thanks @dule-git! - # Major@tenderly/hardhat-tenderly
update!From now on,
@tenderly/hardhat-tenderly
can work withethers-v6
and@nomicfoundation/hardhat-ethers@3.0.0
packages.This update is needed since there are new ways to deploy and wait for the deployed contract.
Basically, our automatic verification overrides the
ethers
property of theHardhatRuntimeEnvironment
and adds custom logic for verification to it.So now, we had to override the
ethers.deployContract
method to return our ownTdlyContract
which wrapped theethers.Contract
and itswaitForDeployment()
method.Migrating from
ethers-v5
and@nomiclabs/hardhat-ethers
Everything pretty much stays the same, except different names are involved.
Contract.deploy()
becomesethers.deploy('contract')
contract.deployed()
becomescontract.waitForDeployment()
You can check out our updated examples/contract-verification folder that has examples that work with the new package versions.
Patch Changes
02952c4
]:tenderly@0.7.0
Minor Changes
#164
02952c4
Thanks @dule-git! - # Major@tenderly/hardhat-tenderly
update!From now on,
@tenderly/hardhat-tenderly
can work withethers-v6
and@nomicfoundation/hardhat-ethers@3.0.0
packages.This update is needed since there are new ways to deploy and wait for the deployed contract.
Basically, our automatic verification overrides the
ethers
property of theHardhatRuntimeEnvironment
and adds custom logic for verification to it.So now, we had to override the
ethers.deployContract
method to return our ownTdlyContract
which wrapped theethers.Contract
and itswaitForDeployment()
method.Migrating from
ethers-v5
and@nomiclabs/hardhat-ethers
Everything pretty much stays the same, except different names are involved.
Contract.deploy()
becomesethers.deploy('contract')
contract.deployed()
becomescontract.waitForDeployment()
You can check out our updated examples/contract-verification folder that has examples that work with the new package versions.