-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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(SuperchainWETH): enable sending and relaying ETH
via SuperchainWETH
contract
#12710
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
d6448db
to
ad3c9f2
Compare
c3d9f27
to
b5d9b23
Compare
9600bd7
to
2668a39
Compare
8fc8a01
to
3819c83
Compare
cacf39d
to
54cbef5
Compare
ETH
via SuperchainWETH
contract
8d01b37
to
2b0fb0a
Compare
3f06e31
to
3da0118
Compare
3da0118
to
f8e96b2
Compare
f8e96b2
to
341ff25
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #12710 +/- ##
===========================================
- Coverage 44.30% 42.71% -1.59%
===========================================
Files 798 742 -56
Lines 71668 67003 -4665
===========================================
- Hits 31751 28620 -3131
+ Misses 37335 35972 -1363
+ Partials 2582 2411 -171
Flags with carried forward coverage won't be shown. Click here to find out more. |
I notice that the spec has not been updated: https://github.com/ethereum-optimism/specs/blob/main/specs/interop/superchain-weth.md |
Implements: ethereum-optimism/design-docs#146
Adds two new functions to the
SuperchainWETH
contract:sendETH
andrelayETH
.sendETH
: DepositsETH
in theETHLiquidity
contract and sends a message to the destination chain, encoding the relay details.relayETH
: Withdraws the specified amount ofETH
fromETHLiquidity
on the destination chain and transfers it to the recipient.This update streamlines L2-to-L2
ETH
transfers, bypassing the need for separate wrapping and unwrapping steps. Notably, custom gas token chains are excluded from this simplification to maintain compatibility and reduce risk.