-
Notifications
You must be signed in to change notification settings - Fork 2
chore(deps): update hardhat packages #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 2 files
e392e86 to
870a354
Compare
| }, | ||
| "devDependencies": { | ||
| "@nomicfoundation/hardhat-ethers": "3.1.2", | ||
| "@nomicfoundation/hardhat-ethers": "3.1.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: The Hardhat Network runtime defaults to the "Osaka" hardfork due to a dependency update, while contracts are compiled for "Cancun", creating a testing environment mismatch.
Severity: HIGH | Confidence: High
🔍 Detailed Analysis
The update to EDR 0.12.0-next.17 changes the default Hardhat Network hardfork to "Osaka". However, the project's hardhat.config.ts specifies evmVersion: "cancun" for compilation without explicitly setting the network's hardfork. This mismatch between the compilation target (Cancun) and the test execution environment (Osaka) can cause tests to fail. Potential issues include gas cost discrepancies, unexpected EVM behavior due to new EIPs in Osaka, transaction failures from different default gas limits, and broken error message assertions. The test suite is tightly coupled to the Hardhat Network's behavior, making it sensitive to such environmental changes.
💡 Suggested Fix
Explicitly set the hardfork in hardhat.config.ts to match the compiler target. Add hardfork: "cancun" to the hardhat network configuration object to ensure the test execution environment is consistent with the compilation settings.
🤖 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#L63
Potential issue: The update to `EDR 0.12.0-next.17` changes the default Hardhat Network
hardfork to "Osaka". However, the project's `hardhat.config.ts` specifies `evmVersion:
"cancun"` for compilation without explicitly setting the network's hardfork. This
mismatch between the compilation target (Cancun) and the test execution environment
(Osaka) can cause tests to fail. Potential issues include gas cost discrepancies,
unexpected EVM behavior due to new EIPs in Osaka, transaction failures from different
default gas limits, and broken error message assertions. The test suite is tightly
coupled to the Hardhat Network's behavior, making it sensitive to such environmental
changes.
Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 7517490
d4303c5 to
a2185e1
Compare
a2185e1 to
8a5e76a
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
8a5e76a to
90ffa48
Compare
This PR contains the following updates:
3.1.2→3.1.34.1.1→4.1.22.27.1→2.28.4Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
NomicFoundation/hardhat (@nomicfoundation/hardhat-ethers)
v3.1.3Compare Source
This release updates the default gas limit to take into account the Osaka transaction limit.
Changes
c69b99d: Update default gas limit to take into account osaka transaction limit (#7751)NomicFoundation/hardhat (hardhat)
v2.28.4Compare Source
v2.28.3: Hardhat v2.28.3Compare Source
This release increases the block gas limit to 60,000,000.
Patch Changes
494b2c2: Bumped EDR version to0.12.0-next.22.b5a7b75: Added an API that reports the latest supported Solidity version for source instrumentation893277f: Increase the default block gas limit per EIP-7935. Thanks @Amxx! (#7776)v2.28.2: Hardhat v2.28.2Compare Source
This release adds support for Solidity
0.8.32and0.8.33.Patch Changes
e6ddffc: Bumped EDR version to0.12.0-next.21.34e1ab4: Updated base mainnet eip1559 parameters after SystemConfig update on 2025-12-182272bc0: Fixed excess_blob_gas calculation after Osaka44e779c: Added function-level configuration overrides for Solidity testsb5ad15c: Added support for instrumentation of Solidity0.8.32and0.8.33v2.28.1: Hardhat v2.28.1Compare Source
This release adds support for Solidity
0.8.31.Changes
c5a9e7c: Bumped EDR version to0.12.0-next.19.v2.28.0: Hardhat v2.28.0Compare Source
This release sets
osakaas the default hardfork for local Hardhat networks. It includes changes to defaults for gas limits to match Osaka's new transaction gas limit.Changes
6f50b84: Changed default L1 hardfork toosaka(@nomicfoundation/edr@0.12.0-next.17)c69b99d: Update default gas limit to take into accountosakatransaction limit (#7751)a7e4215: Updatesolidity-coverageminimum version to include Osaka changes6f50b84: Changed default OP stack hardfork toisthmus(@nomicfoundation/edr@0.12.0-next.17)6f50b84: Fixed default transaction gas limit for post-Osaka hardforks in OP stack and generic chains (@nomicfoundation/edr@0.12.0-next.17)v2.27.2: Hardhat v2.27.2Compare Source
This release is a small bug fix to allow downloading of solc version
0.8.31.Changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.