Skip to content

chore(deps-dev): bump hardhat from 2.22.5 to 3.9.0#317

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hardhat-3.9.0
Open

chore(deps-dev): bump hardhat from 2.22.5 to 3.9.0#317
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hardhat-3.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 11, 2026

Copy link
Copy Markdown
Contributor

Bumps hardhat from 2.22.5 to 3.9.0.

Release notes

Sourced from hardhat's releases.

Hardhat v3.9.0

This release adds support for excluding files from test coverage instrumentation and reporting (i.e. npx hardhat test --coverage).

Changes

  • #8380 0fd498d Thanks @​kanej! - Added support for coverage.skipFiles, a list of globs of Solidity files to exclude from coverage instrumentation and reporting during a --coverage run.

  • #8383 1660f1e Thanks @​schaable! - Fixed an intermittent "Provider for provided chain type does not exist" error that could occur when multiple network connections were created concurrently.

  • #8371 287620e Thanks @​gultekinmakif! - Account overrides that share an address with the network's built-in genesis accounts are now correctly merged into a single genesis entry.

  • #8375 931a5f0 Thanks @​schaable! - Suppressed the solc initcode size warning for Solidity test contracts and when running under --coverage.

  • #8372 5f6aff2 Thanks @​gultekinmakif! - Improved validation for initialDate network configuration. Invalid Date objects and unparseable date strings are now rejected during config loading rather than causing a runtime error later.


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


Hardhat v3.8.0

This release includes two improvements: a warning is now printed if a plugin is imported in hardhat.config.ts but not included in the plugins array and node:test now more cleanly displays Solidity errors.

Changes

  • #8339 f21390f Thanks @​alcuadrado! - Added definePlugin, a new helper exported from hardhat/plugins. Plugin authors should wrap their plugin literal with it so the default export of their index module becomes:

    import type { HardhatPlugin } from "hardhat/types/plugins";
    import { definePlugin } from "hardhat/plugins";
    const hardhatPlugin: HardhatPlugin = definePlugin({
    id: "my-plugin",
    // ...
    });
    export default hardhatPlugin;

    definePlugin returns its argument unchanged and, as a side effect, registers the plugin's id in a process-wide registry of loaded plugins. Hardhat's CLI uses that registry to warn when a plugin is imported but missing from the user's plugins array.

  • #8339 19c6927 Thanks @​alcuadrado! - Hardhat now warns when a plugin is imported in your Hardhat config file but missing from the plugins array. The warning is printed to stderr after the runtime environment is created, listing the offending plugins and pointing the user at the fix.

    If your Hardhat config file is written in TypeScript, for the warning to be reliable your project's tsconfig.json must enable verbatimModuleSyntax: true. Without it, TypeScript deletes unused default-value imports, so an unused plugin can't be detected.

  • #8336 86bfe66 Thanks @​Wodann! - - Fixed default gas limit of Solidity test runner when a custom transaction gas cap (EIP-7825) or block gas limit is specified

    • Fixed process deadlock/hang when dropping a provider with interval mining and logging enabled
    • Print more detailed error descriptions for EVM, invariant fuzz, and cheatcode errors
  • #8345 9d5b96c Thanks @​alcuadrado! - Add .solidityStack property to the SolidityError exceptions generated by EDR

... (truncated)

Changelog

Sourced from hardhat's changelog.

3.9.0

Minor Changes

  • #8380 0fd498d Thanks @​kanej! - Added support for coverage.skipFiles, a list of globs of Solidity files to exclude from coverage instrumentation and reporting during a --coverage run.

Patch Changes

  • #8383 1660f1e Thanks @​schaable! - Fixed an intermittent "Provider for provided chain type does not exist" error that could occur when multiple network connections were created concurrently.

  • #8371 287620e Thanks @​gultekinmakif! - Account overrides that share an address with the network's built-in genesis accounts are now correctly merged into a single genesis entry.

  • #8375 931a5f0 Thanks @​schaable! - Suppressed the solc initcode size warning for Solidity test contracts and when running under --coverage.

  • #8372 5f6aff2 Thanks @​gultekinmakif! - Improved validation for initialDate network configuration. Invalid Date objects and unparseable date strings are now rejected during config loading rather than causing a runtime error later.

3.8.0

Minor Changes

  • #8339 f21390f Thanks @​alcuadrado! - Added definePlugin, a new helper exported from hardhat/plugins. Plugin authors should wrap their plugin literal with it so the default export of their index module becomes:

    import type { HardhatPlugin } from "hardhat/types/plugins";
    import { definePlugin } from "hardhat/plugins";
    const hardhatPlugin: HardhatPlugin = definePlugin({
    id: "my-plugin",
    // ...
    });
    export default hardhatPlugin;

    definePlugin returns its argument unchanged and, as a side effect, registers the plugin's id in a process-wide registry of loaded plugins. Hardhat's CLI uses that registry to warn when a plugin is imported but missing from the user's plugins array.

  • #8339 19c6927 Thanks @​alcuadrado! - Hardhat now warns when a plugin is imported in your Hardhat config file but missing from the plugins array. The warning is printed to stderr after the runtime environment is created, listing the offending plugins and pointing the user at the fix.

    If your Hardhat config file is written in TypeScript, for the warning to be reliable your project's tsconfig.json must enable verbatimModuleSyntax: true. Without it, TypeScript deletes unused default-value imports, so an unused plugin can't be detected.

Patch Changes

  • #8336 86bfe66 Thanks @​Wodann! - - Fixed default gas limit of Solidity test runner when a custom transaction gas cap (EIP-7825) or block gas limit is specified

    • Fixed process deadlock/hang when dropping a provider with interval mining and logging enabled
    • Print more detailed error descriptions for EVM, invariant fuzz, and cheatcode errors
  • #8345 9d5b96c Thanks @​alcuadrado! - Add .solidityStack property to the SolidityError exceptions generated by EDR

... (truncated)

Commits
  • 59c0787 Version Packages
  • 904a944 Merge pull request #8380 from NomicFoundation/feat/coverage-skip-files
  • 9602831 feat: skip instrumentation for coverage.skipFiles matches
  • ac16d41 Merge pull request #8371 from gultekinmakif/fix/genesis-state-merge
  • 84a0b5d test(network-manager): cover empty-list and new-entry paths for mergeGenesisS...
  • b96bf45 test(network-manager): cover mergeGenesisState with crafted address collisions
  • b089f07 fix(network-manager): favor user override over chain default in mergeGenesisS...
  • aea8440 refactor(network-manager): extract genesis-state merge loop to mergeGenesisState
  • f69ec6a fix(network-manager): call genesisState.set when merging an existing override
  • 75de11d test(network-manager): refactor test desc
  • 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 @github

dependabot Bot commented on behalf of github Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions

Copy link
Copy Markdown
Contributor

Drift Compliance: All test vectors passed GI threshold validation

kaizencycle added a commit that referenced this pull request Jun 22, 2026
#325)

## C-348 Unified Substrate PR

**Cycle:** C-348
**Branch:** `claude/c348-unified-substrate-r4rtkj`
**EPICON:** All changes recorded with intent. No consequential action
without ledger.

---

### Changes

#### 1. Canon Drift Fix (Closes #321)
- `cycle.json` advanced from C-338 → C-348
- `STATE/CYCLE.txt` updated to match
- Root cause: `mobius-bot-state-sync` Action stopped executing
(credentials/scheduling, **not** missing `contents: write` — that
permission was already present in the workflow)
- Prevention: Bot will resume daily arithmetic writes from C-348
baseline on next scheduled run. No Action changes were needed for
permissions.

#### 2. C-347-C / C-347-D Patch Rescue
- No C-347-C or C-347-D patch files found in this repository
- `Mobius-Substrate` PR #82 is a separate, already-merged PR (agent CI
pipeline, Nov 2025) — not the CPC Draft PR #82 referenced in the task
- The Civic-Protocol-Core repo is outside this session's MCP scope; no
substrate-relevant patches were found to apply
- **Rescue complete:** established that C-347-C/D patches carry no
Mobius-Substrate–side changes. The stranded `.patch` files in the repo
(`apps/eomm-api/`, `labs/lab4-proof/`,
`exports/mobius-browser-shell-c274/`) are for Browser Shell / EOMM-API,
not for the Substrate constitution layer.

#### 3. Dependency Updates (cherry-picked from Dependabot PRs)

| PR | Package | From → To | Classification | Decision |
|----|---------|-----------|---------------|----------|
| #323 | `actions/checkout` | v6 → v7 | Actions major (API-compatible) |
✅ Applied |
| #324 | npm minor/patch group (9 pkgs) | various | Minor/patch | ✅
Applied |
| #319 | `nodemailer` + `@types/nodemailer` | 6.10.1 → 8.0.11 | Major
(security advisories in v8.0.9) | ✅ Applied |
| #318 | `supertest` + `@types/supertest` | 6.3.4 → 7.2.2 | Major, dev
dep, no breaking API | ✅ Applied |
| #317 | `hardhat` | 2.22.5 → 3.9.0 | **Major** | 🚫 Excluded — requires
full test suite validation |
| #320 | `lru-cache` | 10.2.0 → 11.5.1 | **Major** (constructor sig
changed) | 🚫 Excluded — needs API review |

#### 4. State-Sync Action Audit
- `mobius-bot-state-sync.yml` already had `permissions: contents: write`
— **no change needed**
- Cycle number derivation is arithmetic from anchor (C-288 =
2026-04-21), not hardcoded — **no change needed**
- `actions/checkout` in the state-sync workflow bumped v6→v7 via #323
cherry-pick above

---

### Excluded / Deferred
- `hardhat` 3.x major bump (PR #317) — excluded per safety filter;
requires full test suite validation
- `lru-cache` v10→v11 (PR #320) — excluded; constructor signature
changed, needs API review before applying

---

### Sentinel Sign-off Required
- [ ] ATLAS (architect review)
- [ ] ZEUS (constitutional compliance)

### Refs
- Closes Mobius-Substrate issue #321 (canon drift tripwire)
- Dependabot PRs evaluated: #317, #318, #319, #320, #323, #324
- C-348 cycle plan

---
_Generated by [Claude
Code](https://claude.ai/code/session_01KPEEVF4C9K3D21RRwpoBd8)_
Bumps [hardhat](https://github.com/NomicFoundation/hardhat/tree/HEAD/packages/hardhat) from 2.22.5 to 3.9.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.9.0/packages/hardhat)

---
updated-dependencies:
- dependency-name: hardhat
  dependency-version: 3.9.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/hardhat-3.9.0 branch from 92e0e66 to 7c707cf Compare June 22, 2026 17:43
@github-actions

Copy link
Copy Markdown
Contributor

Drift Compliance: All test vectors passed GI threshold validation

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants