This new version of Hardhat includes a new option when initializing a project: you can now start a project that uses Viem instead of ethers. To learn more about this, check our announcement.
This version also makes a small change to the logs shown during compilation: now the targeted EVM version (or versions) is shown.
Hardhat v2.18.0
This version of Hardhat adds support for scoped tasks.
You can now create scopes to group multiple tasks that are related in some way:
Thanks to @zemse, who kickstarted the work on this!
Hardhat v2.17.4
This version of Hardhat adds support for the debug_traceCall method.
Besides that, Hardhat projects are now initialized with npx hardhat init instead of npx hardhat. The latter command still works but it will produce a warning. See NomicFoundation/hardhat#2594 for the rationale behind this change.
Hardhat v2.17.3
This version of Hardhat changes the default evmVersion to paris for solc versions newer than or equal to 0.8.20.
Starting from version 0.8.20, solc changed the default target EVM version to Shanghai. Among other things, this meant that the generated bytecode could (and most likely would) contain the new PUSH0 opcode.
Up until this point, Hardhat always delegated to solc the decision of which EVM version to target. But there are two things that are different today: many users develop for non-mainnet chains, and not every chain has adopted the Shanghai hardfork yet. This means it's possible that you develop a contract which works locally (Hardhat's default hardfork is still Shanghai, because we follow the current mainnet hardfork) but that then doesn't work after deploying it.
If you are sure you are going to deploy in a network that supports the Shanghai hardfork, you can change the target EVM like this:
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/solana-labs/move/network/alerts).
Bumps undici to 5.26.3 and updates ancestor dependency hardhat. These dependencies need to be updated together.
Updates
undici
from 4.16.0 to 5.26.3Release notes
Sourced from undici's releases.
... (truncated)
Commits
227b9be
5.26.35351f1f
include esbuild script in files12a6218
Bumped v5.26.2e041de3
Merge pull request from GHSA-wqq4-5wpv-mx2gc8c80b1
5.26.17bcb80c
Fix node detection omfg (#2341)69ea7b9
hopefully this fixes it for good (#2338)4006aaf
Bumped v5.26.0df97958
fix: 🐛 fix process http2 header (#2332)b9d8368
fix: 🏷️ add allowH2 to BuildOptions (#2334)Updates
hardhat
from 2.9.3 to 2.18.1Release notes
Sourced from hardhat's releases.
... (truncated)
Commits
b2a551f
Merge pull request #4466 from NomicFoundation/hh-viem-fixes9357a00
Fix sample project script02911f1
Merge pull request #4450 from NomicFoundation/changeset-release/main8d5e744
Version Packages03b97fe
Merge pull request #4457 from NomicFoundation/hardhat-viem968c903
Update packages/hardhat-viem/README.md4c5839e
Capitalize Viem and other changes197f72b
Update packages/hardhat-toolbox-viem/README.md3c6f654
Use relative links in docs8130898
Add link to toolboxDependabot 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