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/cli-stop-builtin-options-at-separator.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/close-json-rpc-websockets.md

This file was deleted.

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

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-estimate-gas-fork-hardfork.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-fork-chain-id-fee-params.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-fuzz-assume-rejects-not-runs.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-fuzz-failing-run-logs.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-fuzz-failure-persist-file-removed.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-fuzz-failure-persistence.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-fuzz-max-test-rejects-zero.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/edr-fuzz-parallel-workers.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-fuzz-vm-random-seed.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/edr-solidity-0.8.38-coverage.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ethers-signer-send-transaction-reject.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fs-write-mode-option.md

This file was deleted.

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

This file was deleted.

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

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/keystore-file-permissions.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/no-contracts-recompiled-every-build.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/templates-solc-0-8-39.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/update-ignition-core-immer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/validate-paths-tests-mocha.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/validate-paths-tests-nodejs.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/validate-paths-tests-solidity.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.22.0",
"hardhat": "workspace:^3.23.0",
"mocha": "^12.0.0",
"permit2": "uniswap/permit2#cc56ad0f3439c502c246fc5cfcc3db92bb8b7219",
"prettier": "3.9.10",
Expand Down
9 changes: 9 additions & 0 deletions packages/hardhat-ethers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @nomicfoundation/hardhat-ethers

## 4.2.3

### Patch Changes

- [#8826](https://github.com/NomicFoundation/hardhat/pull/8826) [`be15e1f`](https://github.com/NomicFoundation/hardhat/commit/be15e1f07d3408c39a04b3e59662fffcfa43411b) Thanks [@ChristopherDedominici](https://github.com/ChristopherDedominici)! - Fixed `HardhatEthersSigner.sendTransaction` hanging forever instead of rejecting when fetching the sent transaction fails.

- Updated dependencies:
- @nomicfoundation/hardhat-utils@5.2.0

## 4.2.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/hardhat-ethers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomicfoundation/hardhat-ethers",
"version": "4.2.2",
"version": "4.2.3",
"description": "Hardhat plugin for ethers",
"homepage": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-ethers",
"repository": {
Expand Down Expand Up @@ -58,7 +58,7 @@
},
"dependencies": {
"@nomicfoundation/hardhat-errors": "workspace:^3.1.0",
"@nomicfoundation/hardhat-utils": "workspace:^5.0.0",
"@nomicfoundation/hardhat-utils": "workspace:^5.2.0",
"@nomicfoundation/hardhat-zod-utils": "workspace:^3.0.5",
"ethereum-cryptography": "^3.0.0",
"ethers": "^6.14.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/hardhat-keystore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @nomicfoundation/hardhat-keystore

## 3.1.3

### Patch Changes

- [#8834](https://github.com/NomicFoundation/hardhat/pull/8834) [`f19f42e`](https://github.com/NomicFoundation/hardhat/commit/f19f42ef793972599278fe6cc446f4e4dbdc296b) Thanks [@AliBaig-xD](https://github.com/AliBaig-xD)! - Restricted newly written keystore and development password files to the current user. Files written by earlier versions keep their existing permissions until they are written again. If you share a keystore with other OS users (for example a CI service account or a container running as a different user), they lose read access once the file is rewritten.

- Updated dependencies:
- @nomicfoundation/hardhat-utils@5.2.0

## 3.1.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/hardhat-keystore/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomicfoundation/hardhat-keystore",
"version": "3.1.2",
"version": "3.1.3",
"description": "A module for managing keystore files that store a map from IDs to encrypted string values.",
"homepage": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-keystore",
"repository": {
Expand Down Expand Up @@ -58,7 +58,7 @@
"@noble/ciphers": "2.4.0",
"@noble/hashes": "2.4.0",
"@nomicfoundation/hardhat-errors": "workspace:^3.0.15",
"@nomicfoundation/hardhat-utils": "workspace:^5.0.0",
"@nomicfoundation/hardhat-utils": "workspace:^5.2.0",
"@nomicfoundation/hardhat-zod-utils": "workspace:^3.0.5",
"zod": "^3.23.8"
},
Expand Down
9 changes: 9 additions & 0 deletions packages/hardhat-ledger/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @nomicfoundation/hardhat-ledger

## 3.1.2

### Patch Changes

- [#8843](https://github.com/NomicFoundation/hardhat/pull/8843) [`1f080e4`](https://github.com/NomicFoundation/hardhat/commit/1f080e4dcc0e0ca582ef4fd7f113d3ad0b8965f2) Thanks [@aelmanaa](https://github.com/aelmanaa)! - Fixed `data: "0x"` being parsed as one zero byte when an older `@nomicfoundation/hardhat-zod-utils` was installed, by requiring 3.0.9 or later ([#8790](https://github.com/NomicFoundation/hardhat/issues/8790)).

- Updated dependencies:
- @nomicfoundation/hardhat-utils@5.2.0

## 3.1.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/hardhat-ledger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomicfoundation/hardhat-ledger",
"version": "3.1.1",
"version": "3.1.2",
"description": "Hardhat plugin for the Ledger hardware wallet",
"homepage": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-ledger",
"repository": {
Expand Down Expand Up @@ -65,7 +65,7 @@
"@ledgerhq/hw-transport-node-hid": "^6.29.12",
"@ledgerhq/types-live": "^6.85.0",
"@nomicfoundation/hardhat-errors": "workspace:^3.0.15",
"@nomicfoundation/hardhat-utils": "workspace:^5.0.0",
"@nomicfoundation/hardhat-utils": "workspace:^5.2.0",
"@nomicfoundation/hardhat-zod-utils": "workspace:^3.0.9",
"micro-eth-signer": "^0.14.0",
"node-gyp": "^12.1.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/hardhat-mocha/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @nomicfoundation/hardhat-mocha

## 4.0.2

### Patch Changes

- [#8836](https://github.com/NomicFoundation/hardhat/pull/8836) [`7a57fa3`](https://github.com/NomicFoundation/hardhat/commit/7a57fa3dff0c11c8d162c45d9ba14e405055d287) Thanks [@Iamsohungrynow](https://github.com/Iamsohungrynow)! - Fixed `paths.tests.mocha` not being validated, so a value that isn't a string is now reported as an `HHE15` config error.

- Updated dependencies:
- @nomicfoundation/hardhat-utils@5.2.0

## 4.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/hardhat-mocha/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomicfoundation/hardhat-mocha",
"version": "4.0.1",
"version": "4.0.2",
"description": "A mocha test runner",
"homepage": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-mocha",
"repository": {
Expand Down Expand Up @@ -58,7 +58,7 @@
},
"dependencies": {
"@nomicfoundation/hardhat-errors": "workspace:^3.1.0",
"@nomicfoundation/hardhat-utils": "workspace:^5.0.0",
"@nomicfoundation/hardhat-utils": "workspace:^5.2.0",
"@nomicfoundation/hardhat-zod-utils": "workspace:^3.0.5",
"tsx": "^4.23.1",
"zod": "^3.23.8"
Expand Down
9 changes: 9 additions & 0 deletions packages/hardhat-node-test-runner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @nomicfoundation/hardhat-node-test-runner

## 3.1.3

### Patch Changes

- [#8836](https://github.com/NomicFoundation/hardhat/pull/8836) [`7a57fa3`](https://github.com/NomicFoundation/hardhat/commit/7a57fa3dff0c11c8d162c45d9ba14e405055d287) Thanks [@Iamsohungrynow](https://github.com/Iamsohungrynow)! - Fixed `paths.tests.nodejs` not being validated, so a value that isn't a string is now reported as an `HHE15` config error.

- Updated dependencies:
- @nomicfoundation/hardhat-utils@5.2.0

## 3.1.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/hardhat-node-test-runner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomicfoundation/hardhat-node-test-runner",
"version": "3.1.2",
"version": "3.1.3",
"description": "A node:test runner",
"homepage": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-node-test-runner",
"repository": {
Expand Down Expand Up @@ -56,7 +56,7 @@
"dependencies": {
"@nomicfoundation/hardhat-errors": "workspace:^3.0.15",
"@nomicfoundation/hardhat-node-test-reporter": "workspace:^3.1.0",
"@nomicfoundation/hardhat-utils": "workspace:^5.1.0",
"@nomicfoundation/hardhat-utils": "workspace:^5.2.0",
"@nomicfoundation/hardhat-zod-utils": "workspace:^3.0.5",
"zod": "^3.23.8"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-slang/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"dependencies": {
"@nomicfoundation/hardhat-errors": "workspace:^3.1.4",
"@nomicfoundation/hardhat-utils": "workspace:^5.1.1",
"@nomicfoundation/hardhat-utils": "workspace:^5.2.0",
"@nomicfoundation/hardhat-zod-utils": "workspace:^3.0.8",
"zod": "^3.23.8"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/hardhat-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @nomicfoundation/hardhat-utils

## 5.2.0

### Minor Changes

- [#8834](https://github.com/NomicFoundation/hardhat/pull/8834) [`1f60b03`](https://github.com/NomicFoundation/hardhat/commit/1f60b034572b424e319f1d22bbb7e58afa4d4066) Thanks [@AliBaig-xD](https://github.com/AliBaig-xD)! - Added a `mode` option to `writeUtf8File` and `writeJsonFile` to set file permissions; the `flag` argument of `writeUtf8File` moved into an options object.

## 5.1.2

### 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.2",
"version": "5.2.0",
"description": "Utilities for Hardhat and its plugins",
"homepage": "https://github.com/NomicFoundation/hardhat/tree/main/packages/hardhat-utils",
"repository": {
Expand Down
43 changes: 43 additions & 0 deletions packages/hardhat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# hardhat

## 3.23.0

### Minor Changes

- [#8879](https://github.com/NomicFoundation/hardhat/pull/8879) [`130d561`](https://github.com/NomicFoundation/hardhat/commit/130d561d93c8b5a7521248848d982ae80909ddb3) - Thanks @popescuoctavian! BREAKING CHANGE: Removed the `failurePersistFile` Solidity fuzz option, and setting it is now a config error. When `failurePersistDir` is set, failures are persisted under `failures`.

- [#8879](https://github.com/NomicFoundation/hardhat/pull/8879) [`130d561`](https://github.com/NomicFoundation/hardhat/commit/130d561d93c8b5a7521248848d982ae80909ddb3) - Thanks @popescuoctavian! BREAKING CHANGE: `maxTestRejects: 0` now disables the `vm.assume` reject limit in Solidity fuzz tests, instead of failing on the first rejected input, and requires a fuzz `timeout`.

- [#8879](https://github.com/NomicFoundation/hardhat/pull/8879) [`130d561`](https://github.com/NomicFoundation/hardhat/commit/130d561d93c8b5a7521248848d982ae80909ddb3) - Thanks @popescuoctavian! Support parallel workers for Solidity fuzz tests.

- [#8856](https://github.com/NomicFoundation/hardhat/pull/8856) [`382a84b`](https://github.com/NomicFoundation/hardhat/commit/382a84b5362a3908644a7c80608a2800bf305e3d) Thanks [@ChristopherDedominici](https://github.com/ChristopherDedominici)! - The project templates have been updated to Solidity 0.8.39.

### Patch Changes

- [#8866](https://github.com/NomicFoundation/hardhat/pull/8866) [`3a4f851`](https://github.com/NomicFoundation/hardhat/commit/3a4f85177391be038db0498567747c156eb91918) Thanks [@hehuanlu](https://github.com/hehuanlu)! - Fixed built-in CLI options after `--` being interpreted by Hardhat instead of being passed to a task as positional arguments.

- [#8847](https://github.com/NomicFoundation/hardhat/pull/8847) [`047d824`](https://github.com/NomicFoundation/hardhat/commit/047d8243a6c9d3c6b4159dc20691977ad3adb2fa) Thanks [@unixglo](https://github.com/unixglo)! - Fixed JSON-RPC server shutdown hanging when WebSocket clients remain connected.

- [#8879](https://github.com/NomicFoundation/hardhat/pull/8879) [`130d561`](https://github.com/NomicFoundation/hardhat/commit/130d561d93c8b5a7521248848d982ae80909ddb3) Thanks [@kanej](https://github.com/kanej)! - Upgraded EDR to v0.26.0.

- [#8879](https://github.com/NomicFoundation/hardhat/pull/8879) [`130d561`](https://github.com/NomicFoundation/hardhat/commit/130d561d93c8b5a7521248848d982ae80909ddb3) - Thanks @anaPerezGhiglia! Fixed `eth_estimateGas` over-estimating at historical blocks on forked chains whose hardfork differs from the configured one.

- [#8879](https://github.com/NomicFoundation/hardhat/pull/8879) [`130d561`](https://github.com/NomicFoundation/hardhat/commit/130d561d93c8b5a7521248848d982ae80909ddb3) - Thanks @anaPerezGhiglia! Fixed blocks mined on a fork using default blob and base fee parameters instead of the forked chain's when the configured `chainId` differs from the remote chain's.

- [#8879](https://github.com/NomicFoundation/hardhat/pull/8879) [`130d561`](https://github.com/NomicFoundation/hardhat/commit/130d561d93c8b5a7521248848d982ae80909ddb3) - Thanks @popescuoctavian! Changed Solidity fuzz inputs rejected by `vm.assume` to no longer count towards `runs`.

- [#8879](https://github.com/NomicFoundation/hardhat/pull/8879) [`130d561`](https://github.com/NomicFoundation/hardhat/commit/130d561d93c8b5a7521248848d982ae80909ddb3) - Thanks @popescuoctavian! Changed Solidity fuzz tests to report the logs of the failing run even without `showLogs`.

- [#8879](https://github.com/NomicFoundation/hardhat/pull/8879) [`130d561`](https://github.com/NomicFoundation/hardhat/commit/130d561d93c8b5a7521248848d982ae80909ddb3) - Thanks @popescuoctavian! Changed Solidity fuzz failures to persist as one JSON counterexample per test, which is replayed first on the next run.

- [#8879](https://github.com/NomicFoundation/hardhat/pull/8879) [`130d561`](https://github.com/NomicFoundation/hardhat/commit/130d561d93c8b5a7521248848d982ae80909ddb3) - Thanks @popescuoctavian! Fixed the `vm.random*` cheatcodes repeating the same sequence in every fuzz run under a fixed `seed`.

- [#8879](https://github.com/NomicFoundation/hardhat/pull/8879) [`130d561`](https://github.com/NomicFoundation/hardhat/commit/130d561d93c8b5a7521248848d982ae80909ddb3) - Thanks @nebasuke! Added coverage support for Solidity 0.8.36, 0.8.37 and 0.8.38.

- [#8843](https://github.com/NomicFoundation/hardhat/pull/8843) [`1f080e4`](https://github.com/NomicFoundation/hardhat/commit/1f080e4dcc0e0ca582ef4fd7f113d3ad0b8965f2) Thanks [@aelmanaa](https://github.com/aelmanaa)! - Fixed local accounts signing `"0x"` data and messages as the byte `0x00` when an older `@nomicfoundation/hardhat-zod-utils` was installed ([#8790](https://github.com/NomicFoundation/hardhat/issues/8790)).

- [#8861](https://github.com/NomicFoundation/hardhat/pull/8861) [`07daa72`](https://github.com/NomicFoundation/hardhat/commit/07daa72ef9e3c21d89a4d6886ed65f392cc5aee7) Thanks [@WillXing](https://github.com/WillXing)! - Fixed Solidity files that define no contract, like a file with only a pragma, being recompiled on every build.

- [#8836](https://github.com/NomicFoundation/hardhat/pull/8836) [`7a57fa3`](https://github.com/NomicFoundation/hardhat/commit/7a57fa3dff0c11c8d162c45d9ba14e405055d287) Thanks [@Iamsohungrynow](https://github.com/Iamsohungrynow)! - Fixed `paths.tests.solidity` not being validated, so a value that isn't a string is now reported as an `HHE15` config error.

- Updated dependencies:
- @nomicfoundation/hardhat-utils@5.2.0

## 3.22.0

### Minor Changes
Expand Down
Loading
Loading