Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Comments

chore(deps-dev): bump hardhat from 2.0.11 to 2.3.0#181

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/hardhat-2.3.0
Closed

chore(deps-dev): bump hardhat from 2.0.11 to 2.3.0#181
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/hardhat-2.3.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 1, 2021

Bumps hardhat from 2.0.11 to 2.3.0.

Release notes

Sourced from hardhat's releases.

Hardhat v2.3.0

This release adds support for the debug_traceTransaction RPC method, along with some other minor changes.

debug_traceTransaction

The debug_traceTransaction method receives the hash of a transaction and returns a low-level structure that describes how the EVM executed that transaction. This is mainly useful for higher-level tools, and it's a major step towards letting Brownie integrate with Hardhat.

debug_traceTransaction can be used both in local and fork modes. This means that you can use it with any transaction in mainnet, even if the node you are using doesn't support this method. If you use an archive node, you can trace any historical transaction after the Spurious Dragon fork (2016).

You can read more about this method here, but notice that Hardhat doesn't support the tracer and timeout options.

Return hash of a failed transaction

When a sent transaction fails, the JSON-RPC node will include its hash in the response. This is another component needed to better integrate Brownie with Hardhat, but it's also useful for any tool that wants to leverage it. The JSON response of a failed transaction now looks like this:

{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32603,
    "message": "Error: VM Exception while processing transaction: revert failed",
    "data": {
      "txHash": "0x03a5b783cfd268687f95b741c92ae7e2e7dc611535d6b4f2a8d291df410c33cc"
    }
  }
}

Other changes

This release also includes two minor improvements (thanks to @​Bidon15 for these contributions!):

  • When you run Hardhat with the --verbose flag, the output will include the path to the hardhat config file that was loaded. This is useful when you are trying to initialize a project, but Hardhat detects a config file in an upper directory. Issue: #1443, PR: #1454.
  • There was a bug in the error message shown when a library was missing. Issue: #1401, PR: #1405.

Hardhat v2.2.1

This release fixes a bug where a contract's code was not being properly removed after a selfdestruct (#1415).

Hardhat v2.2.0: Berlin support

Hardhat v2.2.0, which includes support for the new Berlin hard fork, has been released.

This version also includes some small fixes, most notably, it fixed some problems when downloading solc on MacOS.

Known issues

To workaround a recently discovered bug in @ethereumjs/vm, this release saves the EVM state in a non-standard way which can't produce valid state roots.

What this means in practice is that the state root in block headers is not valid. If your tests don't depend on it, they should work correctly.

... (truncated)

Commits
  • b47cba5 Bump hardhat-core to 2.3.0
  • f1a85e7 Merge pull request #1454 from Bidon15/prj-logging
  • 0088424 Merge pull request #1328 from nomiclabs/debug-trace-transaction
  • 0a7e145 Merge branch 'master' into prj-logging
  • 0b44fc4 Merge pull request #1432 from nomiclabs/fix-env-variables-check
  • 17fa5bb Merge pull request #1433 from nomiclabs/repo-cleanup
  • 6ca1177 Merge branch 'master' into fix-env-variables-check
  • 54d3669 Upgrade tests to run on Berlin
  • 641bd72 Fix how the gas cost of calls is computed after Berlin
  • dbfed47 Make blockNumber optional in debug_tt test script
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 1, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 1, 2021

Superseded by #204.

@dependabot dependabot bot closed this Jul 1, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/hardhat-2.3.0 branch July 1, 2021 08:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants