Skip to content

chore(deps): bump immutable, @nomicfoundation/hardhat-toolbox, @openzeppelin/hardhat-upgrades and hardhat in /e2e - #2674

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/e2e/multi-3b81b61168
Open

chore(deps): bump immutable, @nomicfoundation/hardhat-toolbox, @openzeppelin/hardhat-upgrades and hardhat in /e2e#2674
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/e2e/multi-3b81b61168

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 4, 2026

Copy link
Copy Markdown
Contributor

Removes immutable. It's no longer used after updating ancestor dependencies immutable, @nomicfoundation/hardhat-toolbox, @openzeppelin/hardhat-upgrades and hardhat. These dependencies need to be updated together.

Removes immutable

Updates @nomicfoundation/hardhat-toolbox from 4.0.0 to 7.0.0

Release notes

Sourced from @​nomicfoundation/hardhat-toolbox's releases.

@​nomicfoundation/hardhat-toolbox-viem@​5.0.7

Changes

  • #8339 00720e8 Thanks @​alcuadrado! - The plugin now uses definePlugin from hardhat/plugins in its index.ts, so it participates in Hardhat's new "imported but unused plugin" warning when omitted from a project's plugins array.

  • Updated dependencies:

    • hardhat@3.8.0

💡 The Nomic Foundation is hiring! Check our open positions.


@​nomicfoundation/hardhat-toolbox-viem@​5.0.6

Changes


💡 The Nomic Foundation is hiring! Check our open positions.


Changelog

Sourced from @​nomicfoundation/hardhat-toolbox's changelog.

7.0.0

Major Changes

  • 09ae6db: Deprecate the latest npm tag and redirect users to migrate to Hardhat 3 or to the hh2 tag.
Commits
  • 6372d08 Version Packages
  • a26e822 Remove the npm tags from the README.md files
  • 18bef56 Quote the package in the installation instructions of the readmes
  • e5025ae Update the formatting and quote the package in the installation instructions ...
  • ee34347 Update hardhat-toolbox
  • 7ade974 Version Packages
  • a7e4215 feat: bump minimum version of solidity-coverage to Osaka
  • e4ad0ad chore: update package metadata for provenance
  • f65ee74 Version Packages
  • a4f1e27 Hardhat 2 documentation links updated to reflect the domain change to v2.hard...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​nomicfoundation/hardhat-toolbox since your current version.


Updates @openzeppelin/hardhat-upgrades from 3.9.1 to 4.1.0

Release notes

Sourced from @​openzeppelin/hardhat-upgrades's releases.

@​openzeppelin/hardhat-upgrades@​4.1.0

  • Add a viem-based API at @openzeppelin/hardhat-upgrades/viem, following @nomicfoundation/hardhat-viem conventions: contracts are identified by name, addresses are typed as `0x${string}`, and the returned contract instances are viem contract instances. (#1279)
    • To use the viem-based API, install viem and @nomicfoundation/hardhat-viem, then import both the plugin (for your Hardhat config's plugins array) and the API (for your scripts) from @openzeppelin/hardhat-upgrades/viem. It supports wallet clients backed by local accounts, such as viem's privateKeyToAccount. The proxyFilesToBuild helper for Solidity tests is also exported from this entry point, so viem-only projects can configure npmFilesToBuild without importing the ethers-typed root entry.
    • The ethers-based API is unchanged. Import its plugin and API from @openzeppelin/hardhat-upgrades as before, or from the new @openzeppelin/hardhat-upgrades/ethers alias.
    • Potentially breaking changes: ethers and @nomicfoundation/hardhat-ethers are now optional peer dependencies, required only by the ethers-based API; viem-only projects no longer need them. If you use the ethers-based API, install them explicitly with npm install --save-dev @nomicfoundation/hardhat-ethers ethers. Previously they were required peer dependencies that package managers installed automatically.

@​openzeppelin/hardhat-upgrades@​4.0.2

  • Re-export @nomicfoundation/hardhat-ethers types so that TypeScript recognizes connection.ethers when only this plugin is registered. (#1275)

@​openzeppelin/hardhat-upgrades@​4.0.1

  • Update dependencies. (#1255)

@​openzeppelin/hardhat-upgrades@​4.0.0

  • Migrate to Hardhat 3 with ESM module structure and plugin hooks architecture. (#1241)

    Breaking Changes

    • Requires Hardhat 3: minimum hardhat@^3.6.0 required.
    • ESM-only: package converted to ESM; CommonJS is no longer supported.
    • API Changes:
      • No automatic hre.upgrades — call the upgrades(hre, connection) factory explicitly.
      • Factory functions (upgrades, defender) are async and require a network connection.
      • Network connection must be explicitly created: const connection = await hre.network.create(). Share one connection across operations.
      • ethers now comes from the connection (const { ethers } = connection), not hre.ethers.
    • Import Changes: import factory functions instead of a side-effect import.
      • Before: import '@openzeppelin/hardhat-upgrades'
      • After: import { upgrades, defender } from '@openzeppelin/hardhat-upgrades'

    Usage and Migration

    See the README for Hardhat 3 usage, the examples directory for sample projects, and the Migration Guide for Hardhat 2 to 3 migration steps.

    Changes

    • Migrated from extendEnvironment to Hardhat 3's HardhatPlugin with hookHandlers.
    • Converted package to ESM.
    • Etherscan verification requires @nomicfoundation/hardhat-verify@^3.0.10 (optional peer dependency).
    • Support Solidity tests in Hardhat 3 with @openzeppelin/foundry-upgrades.
    • Added example projects for Hardhat 3 (Transparent, UUPS, and Solidity-test scaffolds under packages/plugin-hardhat/examples/).
  • Updated dependencies [7f3e4c6, 668f70c]:

    • @​openzeppelin/upgrades-core@​1.45.0

@​openzeppelin/hardhat-upgrades@​4.0.0-alpha.0

Note ⚠️ This version is still in testing. Do not use it to deploy or upgrade production deployments.

  • Migrate to Hardhat 3 with ESM module structure and plugin hooks architecture. (#1194)

    Breaking Changes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​openzeppelin/hardhat-upgrades since your current version.

Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Updates hardhat from 2.26.3 to 3.15.0

Release notes

Sourced from hardhat's releases.

Hardhat v3.15.0

This release includes two highlights: improved Solidity Test compilation speed through a porting of our inline configuration parsing to Rust, and bumps of our default templates to Solidity 0.8.34.

Changes


💡 The Nomic Foundation is hiring! Check our open positions.


Hardhat v3.14.0

This is a small bug fix release, but includes a reworking of our EDR dependencies to be platform specific, reducing the install size of a Hardhat project's node_modules.

Changes

  • #8540 99306ea Thanks @​kanej! - EDR now uses platform specific optionalDependencies, reducing Hardhat's install size.

  • #8514 f7c6228 Thanks @​questfever! - Fixed Solidity resolver containment checks for paths whose names share a prefix with the project root, a package source-name root, or node_modules.

  • #8540 99306ea Thanks @​kanej! - Fixed missing Solidity test stack trace when setUp() fails and stack traces are collected with CollectStackTraces::Always.

  • #8500 54973b2 Thanks @​SnowingFox! - Fixed the format of fuzz test counterexamples: byte array values such as calldata, sender and address are now printed as hexadecimal strings (e.g. 0x3e2033b3...) instead of comma-separated byte lists.

  • #8522 8640b4b Thanks @​JasonColapietro! - Remove Holesky testnet (chain id 17000) as a supported chain as it has been shut down.

  • #8488 edd1069 Thanks @​ChristopherDedominici! - Stores gas snapshot cheatcode values as raw strings and calculates diffs using BigInt.


💡 The Nomic Foundation is hiring! Check our open positions.


Hardhat v3.13.0

This release adds two new features: a --tolerance option for --snapshot-check to allow for a small amount of drift between gas snapshots as you develop and default values for config variables in hardhat.config.ts, see the config docs for more details.

Changes

  • #8453 38b9f2d Thanks @​ChristopherDedominici! - Add a fallback value for configVariable.

  • #8487 7b7af19 Thanks @​ChristopherDedominici! - Added a --tolerance option to --snapshot-check in Solidity tests, allowing snapshot values to drift by a given percentage before the check fails.

  • #8486 2ccd059 Thanks @​Kropiunig! - Fixed the EDR network config validation rejecting mining.interval: 0, a valid value which disables interval mining.

  • #8490 22667f6 Thanks @​kanej! - Added detection and custom error for failed native binding loads (HHE27) of @nomicfoundation/edr or @nomicfoundation/solidity-analyzer.

  • #8454 47793de Thanks @​ChristopherDedominici! - Only collect Solidity test stack traces at verbosity level 5 (-vvvvv) and above, fixing excessive memory usage when running large test suites with -vvv/-vvvv.


💡 The Nomic Foundation is hiring! Check our open positions.

... (truncated)

Changelog

Sourced from hardhat's changelog.

3.15.0

Minor Changes

Patch Changes

3.14.0

Minor Changes

  • #8540 99306ea Thanks @​kanej! - EDR now uses platform specific optionalDependencies, reducing Hardhat's install size.

Patch Changes

  • #8514 f7c6228 Thanks @​questfever! - Fixed Solidity resolver containment checks for paths whose names share a prefix with the project root, a package source-name root, or node_modules.

  • #8540 99306ea Thanks @​kanej! - Fixed missing Solidity test stack trace when setUp() fails and stack traces are collected with CollectStackTraces::Always.

  • #8500 54973b2 Thanks @​SnowingFox! - Fixed the format of fuzz test counterexamples: byte array values such as calldata, sender and address are now printed as hexadecimal strings (e.g. 0x3e2033b3...) instead of comma-separated byte lists.

  • #8522 8640b4b Thanks @​JasonColapietro! - Remove Holesky testnet (chain id 17000) as a supported chain as it has been shut down.

  • #8488 edd1069 Thanks @​ChristopherDedominici! - Stores gas snapshot cheatcode values as raw strings and calculates diffs using BigInt.

3.13.0

Minor Changes

Patch Changes

  • #8486 2ccd059 Thanks @​Kropiunig! - Fixed the EDR network config validation rejecting mining.interval: 0, a valid value which disables interval mining.

  • #8490 22667f6 Thanks @​kanej! - Added detection and custom error for failed native binding loads (HHE27) of @nomicfoundation/edr or @nomicfoundation/solidity-analyzer.

  • #8454 47793de Thanks @​ChristopherDedominici! - Only collect Solidity test stack traces at verbosity level 5 (-vvvvv) and above, fixing excessive memory usage when running large test suites with -vvv/-vvvv.

3.12.0

Minor Changes

... (truncated)

Commits
  • 25c1aef Version Packages
  • 62ea17f fix(hardhat): allow hyphens in build-info compiler-type ids
  • 85732e4 refactor(hardhat-slang-solx): rename the compiler type to slang-solx
  • 26b3d5f feat: bump EDR to 0.19.0
  • 6547d41 chore: bump the templates to solc 0.8.34
  • f53d6e7 chore: bump forge-std to v1.16.2
  • 3075549 update edr
  • ca1f6b8 Merge branch 'main' of github.com:NomicFoundation/hardhat into popescuoctavia...
  • e829113 Version Packages
  • ce66950 undo unused changes
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for hardhat 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 show <dependency name> 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.

…eppelin/hardhat-upgrades and hardhat

Removes [immutable](https://github.com/immutable-js/immutable-js). It's no longer used after updating ancestor dependencies [immutable](https://github.com/immutable-js/immutable-js), [@nomicfoundation/hardhat-toolbox](https://github.com/NomicFoundation/hardhat/tree/HEAD/packages/hardhat-toolbox), [@openzeppelin/hardhat-upgrades](https://github.com/OpenZeppelin/openzeppelin-upgrades) and [hardhat](https://github.com/NomicFoundation/hardhat/tree/HEAD/packages/hardhat). These dependencies need to be updated together.


Removes `immutable`

Updates `@nomicfoundation/hardhat-toolbox` from 4.0.0 to 7.0.0
- [Release notes](https://github.com/NomicFoundation/hardhat/releases)
- [Changelog](https://github.com/NomicFoundation/hardhat/blob/@nomicfoundation/hardhat-toolbox@7.0.0/packages/hardhat-toolbox/CHANGELOG.md)
- [Commits](https://github.com/NomicFoundation/hardhat/commits/@nomicfoundation/hardhat-toolbox@7.0.0/packages/hardhat-toolbox)

Updates `@openzeppelin/hardhat-upgrades` from 3.9.1 to 4.1.0
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-upgrades/releases)
- [Commits](https://github.com/OpenZeppelin/openzeppelin-upgrades/compare/@openzeppelin/hardhat-upgrades@3.9.1...@openzeppelin/hardhat-upgrades@4.1.0)

Updates `hardhat` from 2.26.3 to 3.15.0
- [Release notes](https://github.com/NomicFoundation/hardhat/releases)
- [Changelog](https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat/CHANGELOG.md)
- [Commits](https://github.com/NomicFoundation/hardhat/commits/hardhat@3.15.0/packages/hardhat)

---
updated-dependencies:
- dependency-name: immutable
  dependency-version:
  dependency-type: indirect
- dependency-name: "@nomicfoundation/hardhat-toolbox"
  dependency-version: 7.0.0
  dependency-type: direct:development
- dependency-name: "@openzeppelin/hardhat-upgrades"
  dependency-version: 4.1.0
  dependency-type: direct:development
- dependency-name: hardhat
  dependency-version: 3.15.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 4, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner September 4, 2026 06:56
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 4, 2026
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

cargo-vet: already fully vetted with cargo vet --locked.

No audits needed.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

🧾 cargo-vet automated audit summary

CI did not commit anything. Review the patch locally and create the final signed commit yourself.

Apply the patch locally

The patch artifact is attached to this workflow run as a zip archive. Download it, extract auto-vet.patch, review the result, then create your signed commit.

Preferred: GitHub CLI

git checkout <pr-branch>
gh run download 33846477790 -n dependabot-auto-vet-patch-pr-2674
git apply --index auto-vet.patch
git status
git commit -S -m "chore(vet): apply automated audits"
git push

Fallback: direct artifact download

git checkout <pr-branch>
curl -L \
  -H "Authorization: Bearer <github-token>" \
  -o auto-vet-artifact.zip \
  https://github.com/cloudwalk/stratus/actions/runs/33846477790/artifacts/9926758494
unzip -p auto-vet-artifact.zip vet/auto-vet.patch > auto-vet.patch
git apply --index auto-vet.patch
git status
git commit -S -m "chore(vet): apply automated audits"
git push

@cloudwalk-review-agent cloudwalk-review-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⛔ Blocking: Hardhat 2 → 3 is a breaking migration — this PR breaks all E2E CI

This Dependabot multi-bump moves hardhat 2.26.3 → 3.15.0, @nomicfoundation/hardhat-toolbox 4.0.0 → 7.0.0, and @openzeppelin/hardhat-upgrades 3.9.1 → 4.1.0, but only touches package.json + lockfile. Hardhat 3 is ESM-only and has breaking config/plugin changes, and the e2e project has not been migrated. All four E2E suites fail at the Run e2e tests step on this PR's CI (run 33846477901) with:

Hardhat only supports ESM projects.
Please make sure you have `"type": "module"` in your package.json.

Confirmed from the job logs (e.g. E2E Admin Password, job 100939379125). What a valid migration would require (none of it is in this PR):

  • "type": "module" in e2e/package.json and tsconfig.json moved off "module": "commonjs".
  • hardhat.config.ts rewritten for HH3: plugin registration via the plugins config array instead of side-effect imports; import "@openzeppelin/hardhat-upgrades" is no longer valid in 4.x (async upgrades(hre, connection) factory instead).
  • hardhat-toolbox@7.0.0 is a deprecation-redirect meta-package with zero dependencies — it no longer pulls in the plugins the config imports directly (chai, @typechain/hardhat) nor the ones the tests rely on transitively (@nomicfoundation/hardhat-network-helpers, @nomicfoundation/hardhat-chai-matchers, @nomicfoundation/hardhat-ethers). Verified against the new lockfile: chai, @typechain/hardhat, network-helpers, and chai-matchers are all absent from the tree, while hardhat.config.ts does import chai, { expect } from "chai" and import "@typechain/hardhat".

Recommendation: close this PR and do the Hardhat 3 migration as a dedicated change (or rework this one to include the migration + green CI). A lockfile-only bump cannot pass here.

Note: the removal of the immutable override/package is fine on its own — nothing in e2e sources imports it; it was only a transitive security pin (of Hardhat 2's tree, which no longer needs it).

Comment thread e2e/package.json
"axios": "1.15.2",
"ethers": "6.15.0",
"hardhat": "2.26.3",
"hardhat": "3.15.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: hardhat@3.15.0 is ESM-only, but this project is CommonJS (no "type": "module"", tsconfig module: commonjs). CI on this PR fails every E2E suite at Run e2e tests with Hardhat only supports ESM projects. Please make sure you have "type": "module" in your package.json. Hardhat 2→3 also requires config/plugin migration, so this can't land as a lockfile-only bump.

Comment thread e2e/package.json
"devDependencies": {
"@nomicfoundation/hardhat-toolbox": "4.0.0",
"@openzeppelin/hardhat-upgrades": "3.9.1",
"@nomicfoundation/hardhat-toolbox": "7.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nomicfoundation/hardhat-toolbox@7.0.0 is a deprecation-redirect meta-package with no dependencies (it just points users at the HH2→HH3 migration). Toolbox 4.x used to transitively provide chai, @typechain/hardhat, @nomicfoundation/hardhat-network-helpers, @nomicfoundation/hardhat-chai-matchers, and @nomicfoundation/hardhat-ethers — all absent from the new lockfile, while hardhat.config.ts directly imports chai and @typechain/hardhat. The plugins the test suite uses need to be installed explicitly after the migration.

Comment thread e2e/package.json
"@nomicfoundation/hardhat-toolbox": "4.0.0",
"@openzeppelin/hardhat-upgrades": "3.9.1",
"@nomicfoundation/hardhat-toolbox": "7.0.0",
"@openzeppelin/hardhat-upgrades": "4.1.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@openzeppelin/hardhat-upgrades@4.x requires hardhat@^3.6.0 and changes the import contract: the side-effect import "@openzeppelin/hardhat-upgrades"" in hardhat.config.ts no longer registers hre.upgrades; the plugin must be registered in the HH3 plugins array and the API used via the async upgrades(hre, connection) factory. Part of the same HH3 migration this PR needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants