Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/abi-bytes-type-leading-zeros.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/abi-encoding-error-any-kind.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/abi-signature-parser.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/connect-attempt-timeout.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/coverage-no-compile.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-0.25.1.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-amsterdam-eip-2780-creation-value.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-amsterdam-eip-7843-slot-cheatcodes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-amsterdam-eip-8037-trace-gas-dimensions.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/edr-amsterdam-eip-8038.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-call-trace-memory.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-fork-slotnum.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-is-isolate-mode-cheatcode.md

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-solidity-test-fork-hardfork.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-state-gas-tracer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/empty-byte-array-truncation.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gas-snapshot-crlf.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hhe11-init-template.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ignition-non-tty-output.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ignition-visualize-path-spaces.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/node-fork-cli-config-headers.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/retry-solc-list-download.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/solidity-test-include-traces.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/verify-hardhat-utils-floor.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/zod-utils-hardhat-utils-floor.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/example-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"chai": "^6.2.2",
"ethers": "^6.14.0",
"forge-std": "foundry-rs/forge-std#v1.17.0",
"hardhat": "workspace:^3.21.0",
"hardhat": "workspace:^3.22.0",
"mocha": "^12.0.0",
"permit2": "uniswap/permit2#cc56ad0f3439c502c246fc5cfcc3db92bb8b7219",
"prettier": "3.9.10",
Expand Down
8 changes: 8 additions & 0 deletions packages/hardhat-errors/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @nomicfoundation/hardhat-errors

## 3.1.5

### Patch Changes

- [#8800](https://github.com/NomicFoundation/hardhat/pull/8800) [`4ae2908`](https://github.com/NomicFoundation/hardhat/commit/4ae2908b6fdcdcf95aa58b9f4af59877798c6a90) Thanks [@aelmanaa](https://github.com/aelmanaa)! - Running with the `--coverage` flag when no contracts are instrumented (i.e. `--no-compile`) now throws an error ([#8796](https://github.com/NomicFoundation/hardhat/issues/8796)).

- [#8801](https://github.com/NomicFoundation/hardhat/pull/8801) [`a06ebbe`](https://github.com/NomicFoundation/hardhat/commit/a06ebbe9a60ca5a7ef4dab28f1f5f663256e0a02) Thanks [@aelmanaa](https://github.com/aelmanaa)! - Updated the `HHE11` error to suggest `--init --template <name>` when running `--init` without an interactive shell ([#8797](https://github.com/NomicFoundation/hardhat/issues/8797)).

## 3.1.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-errors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomicfoundation/hardhat-errors",
"version": "3.1.4",
"version": "3.1.5",
"description": "The different errors that Hardhat can throw",
"homepage": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-errors",
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions packages/hardhat-ignition/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 3.1.10

### Patch Changes

- [#8802](https://github.com/NomicFoundation/hardhat/pull/8802) [`1bf2e7b`](https://github.com/NomicFoundation/hardhat/commit/1bf2e7b317e259c326f841c10b0f1a8bd24fa3d7) Thanks [@aelmanaa](https://github.com/aelmanaa)! - Fixed `ignition deploy` reprinting every batch on each update when its output isn't a terminal ([#8798](https://github.com/NomicFoundation/hardhat/issues/8798)).

- [#8837](https://github.com/NomicFoundation/hardhat/pull/8837) [`295e175`](https://github.com/NomicFoundation/hardhat/commit/295e17531facb70741647a070ea443e0036cf888) Thanks [@Iamsohungrynow](https://github.com/Iamsohungrynow)! - Fixed `ignition visualize` not opening the report when the project path contains spaces.

## 3.1.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-ignition/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomicfoundation/hardhat-ignition",
"version": "3.1.9",
"version": "3.1.10",
"description": "Hardhat Ignition is a declarative system for deploying smart contracts on Ethereum. It enables you to define smart contract instances you want to deploy, and any operation you want to run on them. By taking over the deployment and execution, Hardhat Ignition lets you focus on your project instead of getting caught up in the deployment details.",
"homepage": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-ignition",
"repository": {
Expand Down
14 changes: 14 additions & 0 deletions packages/hardhat-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @nomicfoundation/hardhat-utils

## 5.1.2

### Patch Changes

- [#8748](https://github.com/NomicFoundation/hardhat/pull/8748) [`e2c81c4`](https://github.com/NomicFoundation/hardhat/commit/e2c81c4e8a2ddb951e525f8f91811b7911e5e2e7) Thanks [@ChristopherDedominici](https://github.com/ChristopherDedominici)! - Fixed `encodeAbiParameters` accepting the invalid types `bytes01` to `bytes09` as `bytes1` to `bytes9`.

- [#8755](https://github.com/NomicFoundation/hardhat/pull/8755) [`5c2887e`](https://github.com/NomicFoundation/hardhat/commit/5c2887ea05a2881b6196218493183927850c934e) Thanks [@ChristopherDedominici](https://github.com/ChristopherDedominici)! - Made the `kind` argument of `isAbiEncodingError` optional, so it can check for an ABI encoding error of any kind.

- [#8748](https://github.com/NomicFoundation/hardhat/pull/8748) [`cd4987c`](https://github.com/NomicFoundation/hardhat/commit/cd4987c947b1ce8f1a5da63b8b8e5f65950a2606) Thanks [@ChristopherDedominici](https://github.com/ChristopherDedominici)! - Added functions to parse human-readable ABI signatures and parameters, and compute their selectors and event topics.

- [#8712](https://github.com/NomicFoundation/hardhat/pull/8712) [`665c386`](https://github.com/NomicFoundation/hardhat/commit/665c386fc8f62c77e47d180ef31d41cfef5dc04d) Thanks [@schaable](https://github.com/schaable)! - Improved the reliability of network requests on slow or unstable connections.

- [#8838](https://github.com/NomicFoundation/hardhat/pull/8838) [`9d453de`](https://github.com/NomicFoundation/hardhat/commit/9d453de8770f394b966e4592dee22c79fb98f0b2) Thanks [@zjuncal](https://github.com/zjuncal)! - Fixed `setLengthLeft` returning the whole byte array instead of an empty array when truncating to a length of `0`.

## 5.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomicfoundation/hardhat-utils",
"version": "5.1.1",
"version": "5.1.2",
"description": "Utilities for Hardhat and its plugins",
"homepage": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-utils",
"repository": {
Expand Down
6 changes: 6 additions & 0 deletions packages/hardhat-verify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @nomicfoundation/hardhat-verify

## 3.1.5

### Patch Changes

- [#8791](https://github.com/NomicFoundation/hardhat/pull/8791) [`98c2d83`](https://github.com/NomicFoundation/hardhat/commit/98c2d831dc9161c66fdbe998334e8fb590434b1c) Thanks [@aelmanaa](https://github.com/aelmanaa)! - Fixed an empty `bytes` constructor argument being encoded as one zero byte when an older `@nomicfoundation/hardhat-utils` was installed, by requiring 5.1.1 or later.

## 3.1.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-verify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomicfoundation/hardhat-verify",
"version": "3.1.4",
"version": "3.1.5",
"description": "Hardhat plugin for verifying contracts",
"homepage": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-verify",
"repository": {
Expand Down
6 changes: 6 additions & 0 deletions packages/hardhat-zod-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @nomicfoundation/hardhat-zod-utils

## 3.0.9

### Patch Changes

- [#8791](https://github.com/NomicFoundation/hardhat/pull/8791) [`98c2d83`](https://github.com/NomicFoundation/hardhat/commit/98c2d831dc9161c66fdbe998334e8fb590434b1c) Thanks [@aelmanaa](https://github.com/aelmanaa)! - Fixed `rpcData` parsing `0x` as a zero byte when an older `@nomicfoundation/hardhat-utils` was installed, by requiring 5.1.1 or later.

## 3.0.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-zod-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomicfoundation/hardhat-zod-utils",
"version": "3.0.8",
"version": "3.0.9",
"description": "Utilities to use Zod to validate Hardhat plugins' config",
"homepage": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-zod-utils",
"repository": {
Expand Down
38 changes: 38 additions & 0 deletions packages/hardhat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# hardhat

## 3.22.0

### Minor Changes

- [#8832](https://github.com/NomicFoundation/hardhat/pull/8832) [`4f6bcf5`](https://github.com/NomicFoundation/hardhat/commit/4f6bcf56b17fe7fa04af7cbdde6dc526da1e9663) - Thanks @anaPerezGhiglia! Changed the experimental EIP-2780 support in the Amsterdam hardfork: contract-creation transactions no longer pay a value charge.

- [#8832](https://github.com/NomicFoundation/hardhat/pull/8832) [`4f6bcf5`](https://github.com/NomicFoundation/hardhat/commit/4f6bcf56b17fe7fa04af7cbdde6dc526da1e9663) - Thanks @popescuoctavian! Added the `rollSlot(uint64)` and `getSlotNumber()` cheatcodes, which set and read `block.slotnum` (EIP-7843) in Solidity tests without changing the block number or timestamp; both revert on EVM versions before Amsterdam.

- [#8832](https://github.com/NomicFoundation/hardhat/pull/8832) [`4f6bcf5`](https://github.com/NomicFoundation/hardhat/commit/4f6bcf56b17fe7fa04af7cbdde6dc526da1e9663) - Thanks @anaPerezGhiglia! Added the EIP-8037 gas dimensions to `debug_traceTransaction` and `debug_traceCall` from the Amsterdam hardfork: the default tracer's top-level frame and the `callTracer`'s root call frame report `executionGasUsed`, `stateGasUsed` and `gasRefund`, and each `structLogs` entry reports `stateGasReservoir`, plus a signed `stateGasCost` on the steps that charge or refill state gas.

- [#8832](https://github.com/NomicFoundation/hardhat/pull/8832) [`4f6bcf5`](https://github.com/NomicFoundation/hardhat/commit/4f6bcf56b17fe7fa04af7cbdde6dc526da1e9663) - Thanks @anaPerezGhiglia! Added experimental EIP-8038 support to the Amsterdam hardfork: state-access operations are repriced.

- [#8832](https://github.com/NomicFoundation/hardhat/pull/8832) [`4f6bcf5`](https://github.com/NomicFoundation/hardhat/commit/4f6bcf56b17fe7fa04af7cbdde6dc526da1e9663) - Thanks @popescuoctavian! Added the `isIsolateMode()` cheatcode, which returns whether the running Solidity test is run with `isolate`.

- [#8832](https://github.com/NomicFoundation/hardhat/pull/8832) [`4f6bcf5`](https://github.com/NomicFoundation/hardhat/commit/4f6bcf56b17fe7fa04af7cbdde6dc526da1e9663) - Thanks @anaPerezGhiglia! Added the `stateGasTracer` to `debug_traceTransaction` and `debug_traceCall`, which reports a transaction's gas in both EIP-8037 dimensions on every hardfork, with zero state gas before Amsterdam.

### Patch Changes

- [#8800](https://github.com/NomicFoundation/hardhat/pull/8800) [`4ae2908`](https://github.com/NomicFoundation/hardhat/commit/4ae2908b6fdcdcf95aa58b9f4af59877798c6a90) Thanks [@aelmanaa](https://github.com/aelmanaa)! - Running with the `--coverage` flag when no contracts are instrumented (i.e. `--no-compile`) now throws an error ([#8796](https://github.com/NomicFoundation/hardhat/issues/8796)).

- [#8832](https://github.com/NomicFoundation/hardhat/pull/8832) [`4f6bcf5`](https://github.com/NomicFoundation/hardhat/commit/4f6bcf56b17fe7fa04af7cbdde6dc526da1e9663) Thanks [@kanej](https://github.com/kanej)! - Upgraded EDR to v0.25.1.

- [#8832](https://github.com/NomicFoundation/hardhat/pull/8832) [`4f6bcf5`](https://github.com/NomicFoundation/hardhat/commit/4f6bcf56b17fe7fa04af7cbdde6dc526da1e9663) - Thanks @anaPerezGhiglia! Reduced the memory simulated networks use to record the call traces of executed transactions and calls.

- [#8832](https://github.com/NomicFoundation/hardhat/pull/8832) [`4f6bcf5`](https://github.com/NomicFoundation/hardhat/commit/4f6bcf56b17fe7fa04af7cbdde6dc526da1e9663) - Thanks @popescuoctavian! Fixed `block.slotnum` returning 0 in forked Solidity tests instead of the forked block's slot number.

- [#8832](https://github.com/NomicFoundation/hardhat/pull/8832) [`4f6bcf5`](https://github.com/NomicFoundation/hardhat/commit/4f6bcf56b17fe7fa04af7cbdde6dc526da1e9663) - Thanks @anaPerezGhiglia! Fixed missing EIP-8037 state gas for repeated contract deployments in Solidity tests on the Amsterdam hardfork.

- [#8832](https://github.com/NomicFoundation/hardhat/pull/8832) [`4f6bcf5`](https://github.com/NomicFoundation/hardhat/commit/4f6bcf56b17fe7fa04af7cbdde6dc526da1e9663) - Thanks @popescuoctavian! Fixed Solidity tests switching to the default hardfork after `vm.createSelectFork`, `vm.selectFork` or `vm.rollFork`, instead of keeping the configured hardfork or inline `evm_version`.

- [#8787](https://github.com/NomicFoundation/hardhat/pull/8787) [`4aa8b87`](https://github.com/NomicFoundation/hardhat/commit/4aa8b87c3cd1cf7f3cb93df9c41513c415e2cb50) Thanks [@Revinand](https://github.com/Revinand)! - Fixed `--snapshot-check` failing with `HHE803` when `.gas-snapshot` has CRLF line endings, as in Windows checkouts.

- [#8812](https://github.com/NomicFoundation/hardhat/pull/8812) [`c47ee42`](https://github.com/NomicFoundation/hardhat/commit/c47ee4230f18990ffeff595047cf9065f19408f9) Thanks [@AliBaig-xD](https://github.com/AliBaig-xD)! - Fixed `hardhat node --fork` sending the configured forking `httpHeaders` to the URL passed on the command line.

- [#8712](https://github.com/NomicFoundation/hardhat/pull/8712) [`81fc983`](https://github.com/NomicFoundation/hardhat/commit/81fc98396a5635d0d491c320506c29302dd5b677) Thanks [@schaable](https://github.com/schaable)! - Fixed `HHE905` errors on brief network failures by retrying the solc version list download.

- [#8824](https://github.com/NomicFoundation/hardhat/pull/8824) [`197263c`](https://github.com/NomicFoundation/hardhat/commit/197263c756104c3e3a7e66992e04f605da297094) Thanks [@aelmanaa](https://github.com/aelmanaa)! - Added a hidden `includeTraces` option to `test solidity` so plugins can collect call traces regardless of the verbosity ([#8737](https://github.com/NomicFoundation/hardhat/issues/8737)).

## 3.21.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hardhat",
"version": "3.21.2",
"version": "3.22.0",
"description": "Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.",
"homepage": "https://hardhat.org",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "A TypeScript Hardhat project using Node Test Runner and Viem",
"type": "module",
"devDependencies": {
"hardhat": "workspace:^3.21.0",
"hardhat": "workspace:^3.22.0",
"@nomicfoundation/hardhat-toolbox-viem": "workspace:^5.0.7",
"@nomicfoundation/hardhat-ignition": "workspace:^3.1.8",
"@types/node": "^22.8.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat/templates/02-mocha-ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "A TypeScript Hardhat project using Mocha and Ethers.js",
"type": "module",
"devDependencies": {
"hardhat": "workspace:^3.21.0",
"hardhat": "workspace:^3.22.0",
"@nomicfoundation/hardhat-toolbox-mocha-ethers": "workspace:^4.0.0",
"@nomicfoundation/hardhat-ethers": "workspace:^4.2.0",
"@nomicfoundation/hardhat-ignition": "workspace:^3.1.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat/templates/03-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "A minimal Hardhat project",
"type": "module",
"devDependencies": {
"hardhat": "workspace:^3.21.0",
"hardhat": "workspace:^3.22.0",
"@types/node": "^22.8.5",
"typescript": "~6.0.3"
}
Expand Down
Loading
Loading