Skip to content
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

feat: liquidity migration #11479

Merged

Conversation

agusduha
Copy link
Contributor

@agusduha agusduha commented Aug 14, 2024

Description

The Liquidity Migration Specs will cover the required modifications to allowed converting between legacy and SuperchainERC20 tokens using the L2StandardBridge.

Specs: ethereum-optimism/specs#294

Tests

Added L2StandardBridgeInterop.t.sol
Updated OptimismMintableERC20Factory.t.sol

Additional context

TODOs:

  • Define the correct predeploy address for OptimismSuperchainERC20Factory
  • Define a proper naming for the interface MintableAndBurnable used in L2StandardBridgeInterop.sol

Metadata

agusduha and others added 6 commits August 5, 2024 11:32
* test: add L2 standard bridge interop unit tests

* fix: add tests natspec

* fix: unit tests fixes

* fix: super to legacy tests failing

* fix: mock and expect mint and burn
* test: add L2 standard bridge interop unit tests

* fix: add tests natspec

* fix: add generic factory interface
* test: add L2 standard bridge interop unit tests

* fix: add tests natspec

* fix: add generic factory interface

* feat: modify OptimismMintableERC20Factory for convert

* fix: use only a public function for create3

* feat: rollback interop factory, modify legacy one

* fix: delete local token return variable
@tynes
Copy link
Contributor

tynes commented Aug 20, 2024

@agusduha Looks like ci is failing due to the snapshots being out of date. You should be able to run just snapshots to update them

@agusduha
Copy link
Contributor Author

agusduha commented Aug 20, 2024

@tynes Snapshots fixed!

@tynes
Copy link
Contributor

tynes commented Aug 21, 2024

Nice code, very clean

@tynes tynes enabled auto-merge August 21, 2024 21:51
@tynes tynes added this pull request to the merge queue Aug 21, 2024
Merged via the queue into ethereum-optimism:develop with commit 3ad1bb3 Aug 21, 2024
58 checks passed
@agusduha agusduha deleted the sc/liquidity-migration branch August 22, 2024 12:29
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.

Interop: Update OptimismMintableERC20Factory Implementation SuperchainERC20: Convert implementation
2 participants