Skip to content

feat: liquidity migration#11479

Merged
tynes merged 14 commits intoethereum-optimism:developfrom
defi-wonderland:sc/liquidity-migration
Aug 21, 2024
Merged

feat: liquidity migration#11479
tynes merged 14 commits intoethereum-optimism:developfrom
defi-wonderland:sc/liquidity-migration

Conversation

@agusduha
Copy link
Copy Markdown
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
@agusduha agusduha requested a review from a team as a code owner August 14, 2024 12:41
@agusduha agusduha requested a review from mds1 August 14, 2024 12:41
@tynes
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

agusduha commented Aug 20, 2024

@tynes Snapshots fixed!

@tynes
Copy link
Copy Markdown
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
@agusduha agusduha deleted the sc/liquidity-migration branch August 22, 2024 12:29
samlaf pushed a commit to samlaf/optimism that referenced this pull request Nov 10, 2024
* feat: add L2 standrad bridge interop contract

* test: add L2 standard bridge interop unit tests (ethereum-optimism#13)

* 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

* fix: add generic factory interface (ethereum-optimism#14)

* test: add L2 standard bridge interop unit tests

* fix: add tests natspec

* fix: add generic factory interface

* feat: modify OptimismMintableERC20Factory for convert (ethereum-optimism#17)

* 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

* fix: PR fixes

* test: fix address assuming

* test: fix view warning

* fix: snapshots

* test: small fixes
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