chore(deps): update hardhat packages (major)#149
Conversation
package.json
Outdated
| "@graphprotocol/graph-ts": "0.38.0", | ||
| "@nomicfoundation/hardhat-foundry": "1.2.0", | ||
| "@nomicfoundation/hardhat-ignition-viem": "0.15.15", | ||
| "@nomicfoundation/hardhat-toolbox-viem": "4.1.1", | ||
| "@nomicfoundation/hardhat-ignition-viem": "3.0.4", | ||
| "@nomicfoundation/hardhat-toolbox-viem": "5.0.1", |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
3f85a37 to
15d263c
Compare
15d263c to
ba9fafb
Compare
b9ecefd to
9355f7b
Compare
9355f7b to
27f8aaa
Compare
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: Upgrading @nomicfoundation/hardhat-ignition-viem introduces an unmet peer dependency on @nomicfoundation/hardhat-ignition, causing an older, incompatible version to be used, which will lead to an import failure.
Severity: CRITICAL | Confidence: High
🔍 Detailed Analysis
The update of @nomicfoundation/hardhat-ignition-viem to version 3.0.6 changes its peer dependency requirement to @nomicfoundation/hardhat-ignition@^3.0.6. However, the project's package.json does not explicitly list @nomicfoundation/hardhat-ignition as a dependency, and the bun.lock file indicates that an incompatible version, 0.15.15, remains installed. This major version mismatch will cause the import of buildModule from @nomicfoundation/hardhat-ignition/modules in ignition/modules/main.ts to fail at runtime, as the module structure and API are likely different, leading to a crash when ignition scripts are executed.
💡 Suggested Fix
Add @nomicfoundation/hardhat-ignition@^3.0.6 as an explicit dependency to package.json to satisfy the peer dependency requirement of @nomicfoundation/hardhat-ignition-viem@3.0.6. Then, run the package manager to update the lockfile and install the correct version.
🤖 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 update of `@nomicfoundation/hardhat-ignition-viem` to version
`3.0.6` changes its peer dependency requirement to
`@nomicfoundation/hardhat-ignition@^3.0.6`. However, the project's `package.json` does
not explicitly list `@nomicfoundation/hardhat-ignition` as a dependency, and the
`bun.lock` file indicates that an incompatible version, `0.15.15`, remains installed.
This major version mismatch will cause the import of `buildModule` from
`@nomicfoundation/hardhat-ignition/modules` in `ignition/modules/main.ts` to fail at
runtime, as the module structure and API are likely different, leading to a crash when
ignition scripts are executed.
Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 6983593
9f887c0 to
0918c9d
Compare
f81a7ff to
a788b51
Compare
a788b51 to
94f0d41
Compare
49fff90 to
9a3ac9f
Compare
9a3ac9f to
54e1096
Compare
5f4669b to
2df0c41
Compare
219eccb to
1c25015
Compare
9bbaf0e to
e3ed722
Compare
e3ed722 to
50020ec
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
50020ec to
d53ba58
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
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.