Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #165

Merged
merged 2 commits into from
Nov 13, 2023
Merged

Version Packages #165

merged 2 commits into from
Nov 13, 2023

Conversation

github-actions[bot]
Copy link
Contributor

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 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.

    Contract.deploy() becomes ethers.deploy('contract')

    contract.deployed() becomes contract.waitForDeployment()

    You can check out our updated examples/contract-verification folder that has examples that work with the new package versions.

Patch Changes

  • Updated dependencies [02952c4]:
    • tenderly@0.7.0

tenderly@0.7.0

Minor Changes

  • #164 02952c4 Thanks @dule-git! - # Major @tenderly/hardhat-tenderly update!

    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.

    Contract.deploy() becomes ethers.deploy('contract')

    contract.deployed() becomes contract.waitForDeployment()

    You can check out our updated examples/contract-verification folder that has examples that work with the new package versions.

@dule-git dule-git merged commit 934b970 into master Nov 13, 2023
@dule-git dule-git deleted the changeset-release/master branch November 13, 2023 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant