Hyperlane bridge adapter update to V3
Hyperlane bridge adapter update to V3
Author
BGD Labs @bgdlabs
Creator
0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02
Simple Summary
This proposal updates the bridge Hyperlane bridge adapters used on a.DI to connect Ethereum with Polygon, Avalanche, Binance and Gnosis to the new Hyperlane V3 version. Additionally, removes old native bridges on Optimism, Base, Arbitrum, Scroll and Metis, after verifying that the new active versions work properly.
Motivation
The main motivation of this proposal is to bring the Hyperlane bridge adapters to the up to date version (V3).
Specification
Updates the Hyperlane bridge adapters used to connect between networks to Hyperlane V3 and it also adds Adapter Name to the contracts to make it easy to track off chain
Network | Hyperlane |
---|---|
Ethereum | 0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1 |
Polygon | 0x3e72665008dC237bdd91C04C10782Ed1987a4019 |
Avalanche | 0x617332a777780F546261247F621051d0b98975Eb |
Binance | 0x3F006299eC88985c18E6e885EeA29A49eC579882 |
Gnosis | 0xA806DA549FcB2B4912a7dFFE4c1aA7A1ed0Bd5C9 |
To add the new forwarder adapters the method function enableBridgeAdapters(ForwarderBridgeAdapterConfigInput[] memory bridgeAdapters) external
will be used,
and to remove the old forwarder adapters, the method function disableBridgeAdapters(BridgeAdapterToDisable[] memory bridgeAdapters) external
will be called on each CrossChainController.
To add the new receiver adapters the method function allowReceiverBridgeAdapters(ReceiverBridgeAdapterConfigInput[] memory bridgeAdaptersInput) external
will be used,
and to remove the old receiver adapters, the method function disallowReceiverBridgeAdapters(ReceiverBridgeAdapterConfigInput[] memory bridgeAdaptersInput) external
will be called on each CrossChainController.
The old native receiver bridge adapters to remove are:
Network | Native adapters |
---|---|
Arbitrum | 0x3829943c53F2d00e20B58475aF19716724bF90Ba |
Base | 0x7b62461a3570c6AC8a9f8330421576e417B71EE7 |
Metis | 0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf |
Optimism | 0x81d32B36380e6266e1BDd490eAC56cdB300afBe0 |
Scroll | 0x118DFD5418890c0332042ab05173Db4A2C1d283c |
Code diffs for the different networks can be checked on a.DI diff repository for revision 2. Adapter diffs: HLAdapter, BaseAdapter, IBaseAdapter
References
- Implementation: AaveV3Ethereum, AaveV3Polygon, AaveV3Avalanche, AaveV3Gnosis, AaveV3BNB, AaveV3Scroll, AaveV3Arbitrum, AaveV3Optimism, AaveV3Metis, AaveV3Base
- Tests: AaveV3Ethereum, AaveV3Polygon, AaveV3Avalanche, AaveV3Gnosis, AaveV3BNB, AaveV3Scroll, AaveV3Arbitrum, AaveV3Optimism, AaveV3Metis, AaveV3Base
- Discussion
Copyright
Copyright and related rights waived via CC0.