This version of Hardhat Toolbox bumps the versions of hardhat-verify and typechain. This is a new major because the new versions of those peer dependencies are not compatible with the previous ones, but you can consider this a low-risk upgrade.
Hardhat Toolbox v3.0.0: ethers v6, bigints and more!
This new major version of Hardhat Toolbox is based on ethers v6 and uses new versions of the hardhat-ethers, hardhat-chai-matchers and typechain plugins.
Using in a new project
Nothing has changed in how you use the Toolbox for a new project: if you initialize one with the latest version of Hardhat, then this version of the Toolbox will be used. Check our Setting up a project guide for the complete instructions.
Upgrading an existing project
To use this new version of the Toolbox in an existing project, you need to upgrade the Toolbox and its relevant peer dependencies.
If you are using npm 7 or later, you just need to upgrade the Toolbox and npm will handle the rest:
npm install @nomicfoundation/hardhat-toolbox@3
If you are using yarn or an older version of npm, you’ll need to manually upgrade all the relevant packages and remove the ones that are no longer needed:
Ethers v6 has several changes with respect to v5. These are some of them, but check their migration guide for the full details.
Native bigints
One of the most important changes in v6 is that now native bigints are used instead of BigNumber objects. For example, checking if an address has a positive amount of tokens is done like this in v5:
This version was pushed to npm by kanej, a new releaser for @nomicfoundation/hardhat-toolbox since your current version.
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 show 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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/chainstacklabs/developer-hub-content/network/alerts).
Bumps ws to 7.5.10 and updates ancestor dependency @nomicfoundation/hardhat-toolbox. These dependencies need to be updated together.
Updates
ws
from 7.4.6 to 7.5.10Release notes
Sourced from ws's releases.
... (truncated)
Commits
d962d70
[dist] 7.5.1022c2876
[security] Fix crash when the Upgrade header cannot be read (#2231)8a78f87
[dist] 7.5.90435e6e
[security] Fix same host check for ws+unix: redirects4271f07
[dist] 7.5.8dc1781b
[security] Drop sensitive headers when following insecure redirects2758ed3
[fix] Abort the handshake if the Upgrade header is invalida370613
[dist] 7.5.71f72e2e
[security] Drop sensitive headers when following redirects (#2013)8ecd890
[dist] 7.5.6Updates
@nomicfoundation/hardhat-toolbox
from 2.0.2 to 5.0.0Release notes
Sourced from
@nomicfoundation/hardhat-toolbox
's releases.... (truncated)
Commits
a3ada90
Version Packages3ee20fc
chore: bump edr version to 0.3.10f0f470
test: fix assert.isDefined issue6694140
chore: loosen typescript peer dep for viem toolbox49f4ffe
chore: bump the version of Ignition in toolboxes90c3f41
Add default tab for new combinationac43eec
remove ignition-core as peer dep4da8ba6
update boilerplate docs137ee9a
docs: revert the change to project setup779c167
docs: clarify module file in deploying guideMaintainer changes
This version was pushed to npm by kanej, a new releaser for
@nomicfoundation/hardhat-toolbox
since your current version.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 show