contracts
contracts copied to clipboard
Bump hardhat from 2.19.1 to 2.21.0
Bumps hardhat from 2.19.1 to 2.21.0.
Release notes
Sourced from hardhat's releases.
Hardhat v2.21.0 — Introducing EDR
This version of Hardhat marks the debut of EDR (Ethereum Development Runtime), our new Rust-based runtime that is a complete rewrite of the original TypeScript-based Hardhat Network. This release lays a new long-term foundation for Hardhat's evolution over the coming year.
There are no functional changes, but there are some performance improvements across the board, which we’ll continue to expand in future updates.
Given the significance of this internal change, there’s a possibility of bugs. If you encounter any problems specific to this version, please report them by opening an issue. You should be able to downgrade to v2.20.1 without losing functionality if needed.
solidity-coverage out-of-memory issues
The
solidity-coverageplugin works by heavily instrumenting the code, which sometimes causes OOM (out-of-memory) issues. This new version of Hardhat can, in certain cases, make those problems more likely.If you run into this, you can fix it by using Node.js’s
--max-old-space-sizeflag:NODE_OPTIONS="--max-old-space-size=8192" npx hardhat coverageDropping support for Node.js v16
As part of this release, we are dropping support for Node.js v16. This version of Node.js reached its end-of-life in September of last year. You can learn more about our support guarantees here.
Hardhat v2.20.1
This release fixes a bug when
hardhat_setStorageAtwas used in untouched addresses.Hardhat v2.20.0 — Cancun
This release adds support for the upcoming
cancunhardfork. This hardfork is not enabled by default; if you want to use it, then you have to enable it in your Hardhat config:module.exports = { networks: { hardhat: { hardfork: "cancun", }, }, }Keep in mind that blob transactions are not supported yet. If you need this, please upvote or comment on this issue.
In addition, this release adds support for solc 0.8.24.
Hardhat v2.19.5
This release includes the following changes:
- Notify users when a new Hardhat version is available
- Fixed a bug during project initialization when using yarn or pnpm
- Fixed a race condition that occurred when multiple Hardhat processes ran a compilation at the same time
- Added a fix to prevent submitting transactions with 0 priority fee (thanks
@itsdevbear!)Hardhat v2.19.4
This release changes our telemetry to anonymously report the consent response.
... (truncated)
Commits
2b0563bVersion Packages9b0f366edr-0.2.088b8741Merge pull request #4902 from NomicFoundation/post-release-cleanup8a45de9Merge pull request #4949 from NomicFoundation/edr/fix-provider-error-object5abd444Use Options's .copied instead of .cloned88c4597Merge branch 'main' into edr/fix-provider-error-object379d31aMerge pull request #4954 from NomicFoundation/edr/fix-ooma5f0a7eDon't run async event handlers if there are no listenerse59d054Make sendRawTx test work on forkse4247f0Put data and transactionHash as top-level error fields- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)