chore(deps): update hardhat packages (major)#222
Conversation
package.json
Outdated
| "@nomicfoundation/hardhat-toolbox-viem": "4.1.1", | ||
| "@nomicfoundation/hardhat-ignition-viem": "3.0.4", | ||
| "@nomicfoundation/hardhat-toolbox-viem": "5.0.1", | ||
| "@nomiclabs/hardhat-solhint": "4.1.0", |
There was a problem hiding this comment.
Bug: Hardhat v3 upgrade breaks @nomiclabs/hardhat-solhint due to peer dependency mismatch and API incompatibility.
Severity: CRITICAL | Confidence: 1.00
🔍 Detailed Analysis
The @nomiclabs/hardhat-solhint plugin, version 4.1.0, has a peer dependency on Hardhat v2 (^2.26.0). This pull request upgrades Hardhat to v3.0.11, which is a major version change and a complete rewrite. When the Hardhat configuration attempts to load this plugin, it will encounter a peer dependency violation or a runtime initialization failure due to incompatible APIs, preventing Hardhat commands from executing.
💡 Suggested Fix
Update @nomiclabs/hardhat-solhint to a version compatible with Hardhat v3, or remove it if no compatible version exists.
🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: package.json#L43
Potential issue: The `@nomiclabs/hardhat-solhint` plugin, version 4.1.0, has a peer
dependency on Hardhat v2 (`^2.26.0`). This pull request upgrades Hardhat to v3.0.11,
which is a major version change and a complete rewrite. When the Hardhat configuration
attempts to load this plugin, it will encounter a peer dependency violation or a runtime
initialization failure due to incompatible APIs, preventing Hardhat commands from
executing.
Did we get this right? 👍 / 👎 to inform future reviews.
package.json
Outdated
| @@ -38,12 +38,12 @@ | |||
| "@graphprotocol/graph-cli": "0.96.0", | |||
| "@graphprotocol/graph-ts": "0.38.0", | |||
| "@nomicfoundation/hardhat-foundry": "1.2.0", | |||
There was a problem hiding this comment.
Bug: Missing direct dependency for @nomicfoundation/hardhat-ignition causes version mismatch with new Ignition packages.
Severity: CRITICAL | Confidence: 1.00
🔍 Detailed Analysis
The pull request introduces @nomicfoundation/hardhat-ignition-viem@3.0.4 and @nomicfoundation/hardhat-toolbox-viem@5.0.1 as direct dependencies. Both packages have a peer dependency on @nomicfoundation/hardhat-ignition (specifically ^3.0.2 and ^3.0.0 respectively). However, @nomicfoundation/hardhat-ignition is not added as a direct dependency, and the bun.lock file only contains an older version (0.15.15). This mismatch will cause import failures when ignition/modules/main.ts attempts to import { buildModule } from "@nomicfoundation/hardhat-ignition/modules";, leading to deployment failures.
💡 Suggested Fix
Add @nomicfoundation/hardhat-ignition as a direct dependency with a version compatible with ^3.0.2 (e.g., ^3.0.2).
🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: package.json#L40
Potential issue: The pull request introduces
`@nomicfoundation/hardhat-ignition-viem@3.0.4` and
`@nomicfoundation/hardhat-toolbox-viem@5.0.1` as direct dependencies. Both packages have
a peer dependency on `@nomicfoundation/hardhat-ignition` (specifically `^3.0.2` and
`^3.0.0` respectively). However, `@nomicfoundation/hardhat-ignition` is not added as a
direct dependency, and the `bun.lock` file only contains an older version (`0.15.15`).
This mismatch will cause import failures when `ignition/modules/main.ts` attempts to
`import { buildModule } from "@nomicfoundation/hardhat-ignition/modules";`, leading to
deployment failures.
Did we get this right? 👍 / 👎 to inform future reviews.
3d7d7d4 to
f02e311
Compare
f02e311 to
ac066af
Compare
3c722d6 to
6b67ea5
Compare
6b67ea5 to
0686a6b
Compare
0f9bd1d to
126be76
Compare
56730db to
b17c017
Compare
b17c017 to
39833d2
Compare
416b12c to
0aa9340
Compare
0aa9340 to
62e38e6
Compare
b0c6389 to
10b76d2
Compare
613ce5c to
e562389
Compare
3916175 to
157dd84
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
157dd84 to
98e0814
Compare
This PR contains the following updates:
1.2.0→3.0.00.15.16→3.1.14.1.1→5.0.34.1.0→5.0.02.27.1→3.3.0Release Notes
NomicFoundation/hardhat (@nomicfoundation/hardhat-foundry)
v3.0.0Compare Source
Major Changes
4cd63e9: Introduce the@nomicfoundation/hardhat-foundryplugin for Hardhat 3v1.2.1Compare Source
NomicFoundation/hardhat (@nomicfoundation/hardhat-ignition-viem)
v3.1.1Compare Source
Changes
#8088
23c0d36Thanks @alcuadrado! - Optimize imports.Updated dependencies:
v3.1.0Compare Source
Minor Changes
481b221Thanks @manuelwedler! - Added support for verifying on all enabled verification services (e.g. Sourcify) (#7538).Patch Changes
v3.0.9Compare Source
Patch Changes
2cbf218: Fix an issue that prevented the verification of contracts using FQNs (#8014)13918b4: Add support for custom chains not in viem's built-in chain list, thanks @daanporon! (#7763)v3.0.8Compare Source
Patch Changes
6674b00: Bumphardhat-utilsmajorv3.0.7Compare Source
Patch Changes
2bc18b2: Bumpedviemversion across all packages 7861.v3.0.6Compare Source
Patch Changes
dac916b: Expose ignition retry loop variables in user config (Hardhat v3) (#7303)v3.0.5Compare Source
Patch Changes
d1c1803: Make@nomicfoundation/hardhat-ignition's UI work well with other plugins, like Ledger's.v3.0.4Compare Source
Patch Changes
843c1ae: Fixed a bug preventing Ignition from using thehre.config.ignitionsettings when deploying via script (#7641)558ac5b: Update installation and config instructionsv3.0.3Compare Source
Patch Changes
bebf87c: Added support for Linea network verification, thanks @kyzooghost (#7357)v3.0.2Compare Source
Patch Changes
ddefbff: Added guard to stop multiple simultaneous calls toignition.deploy(...)at once (#6440)v3.0.1Compare Source
Patch Changes
86cecc7: Fix the type guard to includem.encodeFunctionCallin those that do not submit transactions, thanks @radik878 (#7264)v3.0.0Compare Source
Major Changes
29cc141: First release of Hardhat 3!NomicFoundation/hardhat (@nomicfoundation/hardhat-toolbox-viem)
v5.0.3Compare Source
Patch Changes
13918b4: Add support for custom chains not in viem's built-in chain list, thanks @daanporon! (#7763)v5.0.2Compare Source
Patch Changes
2bc18b2: Bumpedviemversion across all packages 7861.v5.0.1Compare Source
Patch Changes
558ac5b: Update installation and config instructionsv5.0.0Compare Source
Major Changes
29cc141: First release of Hardhat 3!v4.1.2Compare Source
This release is a small bump to the version of
solidity-coverageto include changes for the Osaka transaction gas limit.Changes
a7e4215: Update solidity-coverage minimum version to include Osaka changesNomicFoundation/hardhat (@nomiclabs/hardhat-solhint)
v5.0.0Compare Source
v4.1.2Compare Source
v4.1.1Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.