Skip to content
Snippets Groups Projects
Unverified Commit 4059282f authored by Alistair Singh's avatar Alistair Singh Committed by GitHub
Browse files

Snowbridge: Support bridging native ETH (#6855)


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:
https://github.com/Snowfork/snowbridge/pull/1354

TODO:
- [x] Emulated Tests

---------

Co-authored-by: default avatarVincent Geddes <117534+vgeddes@users.noreply.github.com>
Co-authored-by: default avatarBastian Köcher <git@kchr.de>
Co-authored-by: default avatarBastian Köcher <info@kchr.de>
parent 645878a2
No related merge requests found
Pipeline #510942 waiting for manual action with stages
in 29 minutes and 1 second
Showing
with 478 additions and 31 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment