Skip to content

fix: Include Migrator address in ReadImplementationAddresses script output#18971

Closed
0xiamflux wants to merge 4 commits intoethereum-optimism:developfrom
defi-wonderland:sc-feat/opcm2-read-impls-migrator
Closed

fix: Include Migrator address in ReadImplementationAddresses script output#18971
0xiamflux wants to merge 4 commits intoethereum-optimism:developfrom
defi-wonderland:sc-feat/opcm2-read-impls-migrator

Conversation

@0xiamflux
Copy link
Copy Markdown
Contributor

Overview

Currently, when using OPCM v2 the ReadImplementationAddresses script output erroneously omits including the address of the migrator component of the OPCM v2. This PR fixes this by querying the address from the contracts manager and including it in the output.

Changes

  • Include Migrator address on the ReadImplementationAddresses output
  • Update op-deployer tests to account for the new, non-zero address returned by the script
  • Add unit tests for the ReadImplementationAddresses script

…819)

* chore: return migrator address on ReadImplementationAddresses output

* chore: use fixed solidity version

* chore: just pr ready

* test: add zero length code test for opcm
@0xiamflux 0xiamflux requested review from a team as code owners January 28, 2026 19:47
@0xiamflux 0xiamflux requested a review from Inphi January 28, 2026 19:47
@0xniha
Copy link
Copy Markdown
Contributor

0xniha commented Jan 30, 2026

/ci authorize e4a05be

@smartcontracts
Copy link
Copy Markdown
Contributor

Approved. If the tests become difficult to maintain, we will deal with it. Given Claude exists, it should be fine.

@smartcontracts smartcontracts added this pull request to the merge queue Feb 2, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 2, 2026
@smartcontracts smartcontracts added this pull request to the merge queue Feb 2, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 2, 2026
@smartcontracts smartcontracts added this pull request to the merge queue Feb 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 3, 2026
@smartcontracts smartcontracts added this pull request to the merge queue Feb 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 3, 2026
@smartcontracts smartcontracts added this pull request to the merge queue Feb 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 3, 2026
@smartcontracts smartcontracts added this pull request to the merge queue Feb 3, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 3, 2026
… output (#18971)

* chore: return migrator address on ReadImplementationAddresses output (#819)

* chore: return migrator address on ReadImplementationAddresses output

* chore: use fixed solidity version

* chore: just pr ready

* test: add zero length code test for opcm

* chore: update tests on migrator (#822)

* refactor: replace contract mocks with vm.mock

* fix: read impl typo

---------

Co-authored-by: niha <205694301+0xniha@users.noreply.github.com>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 3, 2026
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.

4 participants