Skip to content
Commit ec4d7e04 authored by Alistair Singh's avatar Alistair Singh Committed by github-actions[bot]
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 <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
(cherry picked from commit 4059282f)
parent 05b250a2
Pipeline #511008 waiting for manual action with stages
in 47 minutes and 35 seconds
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