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

Snowbridge: Support bridging native ETH #6855

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

alistair-singh
Copy link
Contributor

@alistair-singh alistair-singh commented Dec 12, 2024

Changes:

  1. Use the 0x0000000000000000000000000000000000000000 token address as Native ETH.
  2. Convert it to/from { parents: 2, interior: X1(GlobalConsensus(Ethereum{chain_id: 1})) } when encountered.

Onchain changes:
This will require a governance request to register native ETH (with the above location) in the foreign assets pallet and make it sufficient.

Related solidity changes: Snowfork/snowbridge#1354

TODO:

  • Emulated Tests

@alistair-singh alistair-singh changed the base branch from stable2409 to master December 17, 2024 19:39
@vgeddes
Copy link
Contributor

vgeddes commented Dec 18, 2024

The approach looks good!

@vgeddes
Copy link
Contributor

vgeddes commented Dec 20, 2024

Will approve once you've implemented the emulated test that verifies the full BH->AH path.

@alistair-singh alistair-singh marked this pull request as ready for review December 21, 2024 21:50
@paritytech-review-bot paritytech-review-bot bot requested a review from a team December 21, 2024 21:51
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.

2 participants