Skip to content

Conversation

@Amxx
Copy link
Collaborator

@Amxx Amxx commented Dec 17, 2025

Fusaka (Osaka) was activated on Mainnet a few weeks ago. Until today, the run all our tests using Pectra (Prague).

Osaka comes with some significant changes to the execution layer

  • EIP-7825 limit the size of transactions to 2**24 gas (16.7m).
  • EIP-7935 increases the block size limit from 30m to 60m.
  • EIP-7951 enables the secp256r1 precompile (that our code also look for, but that was so far not present on mainnet)
  • EIP-7939 adds the new CLZ opcode
  • EIP-7823 sets an upper bound for the MODEXP precompile.

In order to enable that this EVM version, this PR bumps the version of hardhat to use an EDR that supports it.
This PR also sets a newer version of the compiler that support Osaka as a target.

Unfortunatelly, some of the EIP is Fusaka are breaking our code/tests. We need to figure out how to address that.

PR Checklist

  • 0.8.31 support in foundry stable
  • 0.8.31 support in slither

@Amxx Amxx requested a review from a team as a code owner December 17, 2025 09:35
@changeset-bot
Copy link

changeset-bot bot commented Dec 17, 2025

⚠️ No Changeset found

Latest commit: dae6b45

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@socket-security
Copy link

socket-security bot commented Dec 17, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​hardhat@​2.26.0 ⏵ 2.28.094 +210092 +296 -180

View full report

@socket-security
Copy link

socket-security bot commented Dec 17, 2025

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 17, 2025

Walkthrough

The pull request contains three main updates: (1) In ERC20Wrapper.sol, the self-wrap validation check is modified to compare addresses instead of IERC20 interface types, while preserving the same revert behavior; (2) In hardhat.config.js, the default Solidity compiler version is upgraded from 0.8.27 to 0.8.31 and the default EVM version is updated from prague to osaka; (3) In package.json, the hardhat devDependency is bumped from ^2.24.3 to ^2.28.0.

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title directly describes the main change: updating the EVM version target from Prague to Osaka for tests.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The PR description clearly relates to the changeset by explaining the motivation for updating to Osaka EVM, hardhat version bump, and compiler version update.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@Amxx Amxx force-pushed the hardfork/target-osaka branch from fc0d9d8 to 8750d03 Compare December 17, 2025 18:01
@Amxx Amxx added this to the 5.7 milestone Dec 19, 2025
@Amxx Amxx force-pushed the hardfork/target-osaka branch from 34a7fe3 to 255570a Compare December 22, 2025 09:36
@Amxx Amxx modified the milestones: 5.7, 5.6 Dec 22, 2025
@Amxx Amxx requested a review from ernestognw January 8, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-changeset tests Test suite and helpers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant