Skip to content

deps(contracts)(deps-dev): bump hardhat from 2.28.6 to 3.4.0 in /packages/contracts#46

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/packages/contracts/hardhat-3.4.0
Closed

deps(contracts)(deps-dev): bump hardhat from 2.28.6 to 3.4.0 in /packages/contracts#46
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/packages/contracts/hardhat-3.4.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 20, 2026

Bumps hardhat from 2.28.6 to 3.4.0.

Release notes

Sourced from hardhat's releases.

Hardhat v3.4.0

This is a large release in preparation of the first stable version of Hardhat 3!

Please read the list of changes below, the user migration guide, and if you are a plugin author, the plugins migration guide.

Highlights

New NetworkManager methods

We deprecated the network.connect() method as it was a common source of confusion. It still works, but will eventually be removed.

Instead, you can use the new methods network.create() and network.getOrCreate().

Unified compilation of contracts and Solidity tests

Previously, Hardhat 3 compiled your contracts and your Solidity tests independently. Starting with this version, they are built together, leading to faster compilation times and smaller compilation artifacts.

You can opt into the older behavior with the new splitTestsCompilation field in your solidity config. This is mainly useful if you rely on plugins that don't yet support unified compilation yet, or if your setup depends on test artifacts being isolated from contract artifacts.

Simulated networks now return the JSON-RPC code 3 on execution errors

If you run an in-process simulated network, or hardhat node, revert errors in JSON-RPC responses now use code 3 instead of the code used previously (-32603 or no code at all). This change aligns Hardhat's behavior with the rest of the tooling ecosystem.

This should only improve the error messages that you see, and doesn't require any update, unless you are manually interacting with JSON-RPC responses.

Proxies support in the --gas-stats feature

Hardhat now classifies gas stat entries based on both the implementation contract and the proxy (or proxies) in front of it. For example, a proxy forwarding to a Vault contract is now reported as gas spent in Vault via the proxy.

Previously, that same call would have reported all the gas under the proxy, hiding which implementation actually did the work.

The Hardhat version is now included in the BuildInfo files of production builds

If you compile your project with the production Build Profile, a new toolVersions field containing the Hardhat version will be added to your Build Info files. This can help you reproduce your builds in the future.

You can enable this functionality in other build profiles with the flag toolVersionsInBuildInfo.

Smaller Build Info output files by using a better default output selector

Building your contracts with this version of Hardhat will lead to a significantly smaller artifacts/ folder, in some cases around 50% smaller.

User migration guide

To update to this new version of Hardhat, please follow this guide.

Replace network.connect() with network.create().

Replace network.connect(...) calls with network.create(...). Everything else keeps working as expected.

Build ids may change even when bytecode is identical

... (truncated)

Changelog

Sourced from hardhat's changelog.

3.4.0

Minor Changes

  • #8116 88787e1 Thanks @​kanej! - Add getOrCreate to the network API

  • #8127 353cf86 Thanks @​alcuadrado! - Make the split of contracts and solidity tests compilation optional, and controlled with a new splitTestsCompilation config field.

Patch Changes

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [hardhat](https://github.com/NomicFoundation/hardhat/tree/HEAD/packages/hardhat) from 2.28.6 to 3.4.0.
- [Release notes](https://github.com/NomicFoundation/hardhat/releases)
- [Changelog](https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat/CHANGELOG.md)
- [Commits](https://github.com/NomicFoundation/hardhat/commits/hardhat@3.4.0/packages/hardhat)

---
updated-dependencies:
- dependency-name: hardhat
  dependency-version: 3.4.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Apr 20, 2026

Labels

The following labels could not be found: contracts, dependencies, npm. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions
Copy link
Copy Markdown

PR Change Summary

Metric Count
Files changed 1
Lines added +1
Lines removed -1

@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Apr 27, 2026

Superseded by #48.

@dependabot dependabot Bot closed this Apr 27, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/packages/contracts/hardhat-3.4.0 branch April 27, 2026 20:03
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.

0 participants