Skip to content

Comments

cannon: Drop version 6 support from MIPS64.sol#15664

Merged
mbaxter merged 15 commits intodevelopfrom
mbax/fix-go-1.23/drop-v6-from-contract
May 2, 2025
Merged

cannon: Drop version 6 support from MIPS64.sol#15664
mbaxter merged 15 commits intodevelopfrom
mbax/fix-go-1.23/drop-v6-from-contract

Conversation

@mbaxter
Copy link
Contributor

@mbaxter mbaxter commented May 2, 2025

Description

Fix an oversight from #15616: drop v6 support from MIPS64.sol.

Also:

  • Update some missed mipsVersion literals pointing to the old version
  • Add some more version helpers to further centralize current mips version config
  • Delete unused contracts left over from the 32-bit vm cleanup

@mbaxter mbaxter requested a review from a team as a code owner May 2, 2025 14:04
@mbaxter mbaxter requested a review from ajsutton May 2, 2025 14:04
@codecov
Copy link

codecov bot commented May 2, 2025

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.

Project coverage is 46.13%. Comparing base (365a4a7) to head (a33a8da).
Report is 13 commits behind head on develop.

Files with missing lines Patch % Lines
op-deployer/pkg/deployer/state/chain_intent.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #15664      +/-   ##
===========================================
+ Coverage    45.97%   46.13%   +0.16%     
===========================================
  Files         1284     1280       -4     
  Lines       105863   105424     -439     
===========================================
- Hits         48669    48640      -29     
+ Misses       53697    53283     -414     
- Partials      3497     3501       +4     
Flag Coverage Δ
cannon-go-tests-64 65.40% <100.00%> (+0.04%) ⬆️
contracts-bedrock-tests 95.22% <ø> (+8.51%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
cannon/mipsevm/versions/version.go 82.75% <100.00%> (+1.62%) ⬆️
op-chain-ops/interopgen/recipe.go 76.04% <100.00%> (ø)
op-deployer/pkg/deployer/state/chain_intent.go 65.11% <0.00%> (ø)

... and 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mbaxter mbaxter marked this pull request as draft May 2, 2025 14:19
@mbaxter mbaxter marked this pull request as ready for review May 2, 2025 18:02
@mbaxter mbaxter requested review from a team as code owners May 2, 2025 18:02
@mbaxter mbaxter requested review from Inphi and bitwiseguy May 2, 2025 18:02
@mbaxter mbaxter changed the title cannon: Drop v6 vm from MIPS64.sol cannon: Drop version 6 support from MIPS64.sol May 2, 2025
Copy link
Contributor

@Inphi Inphi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a quick feedback. Not comprehensive.

mbaxter and others added 5 commits May 2, 2025 16:14
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Copy link
Contributor

@smartcontracts smartcontracts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the Solidity diff!

Copy link
Contributor

@Inphi Inphi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mbaxter mbaxter added this pull request to the merge queue May 2, 2025
Merged via the queue into develop with commit f88034a May 2, 2025
53 checks passed
@mbaxter mbaxter deleted the mbax/fix-go-1.23/drop-v6-from-contract branch May 2, 2025 22:38
iquidus pushed a commit to Layr-Labs/optimism that referenced this pull request Jul 24, 2025
* Drop v6 vm from MIPS64.sol

* Add tests for MIPS64.sol constructor

* Update test to use DeployUtils

* Update mipsVersion in deploy script

* Fix test names

* Cut unused imports

* Update another mips version reference

* Update another mipsVersion literal, add some version helpers

* Use experimental version for interopgen recipe

* Calculate experimental and supported versions, add tests

* Fix typo

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>

* Fix bad merge from bot

* Experimental version should be >= the current version

* Tweak unsupported versions test

* Delete unused contracts

---------

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
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.

3 participants