Skip to content

Latest commit

 

History

History
196 lines (149 loc) · 18.9 KB

File metadata and controls

196 lines (149 loc) · 18.9 KB

Payloads

Proposal 249

Ipfs

a.DI Sonic path activation

Simple Summary

Proposal to register the necessary Sonic adapters on a.DI, a technical pre-requirement for an activation vote of Aave v3 Sonic.

Motivation

In order to be able to pass messages from Ethereum to Sonic via a.DI (Aave Delivery Infrastructure), it is necessary to at least have three valid adapters Ethereum → Sonic smart contracts enabled in the system.

The first case of message passing Ethereum → Sonic is the activation proposal for an Aave v3 Sonic pool and consequently, to be able to execute on the Sonic side the payload, the Aave governance should approve in advance the a.DI adapters smart contracts.

This procedure mirrors the requirements on previous networks like ZkSync, Linea, or Celo.

Specification

The proposal payload simply registers pre-deployed Sonic adapters (with the necessary configurations to communicate with the Sonic a.DI) on the Ethereum a.DI instance.

This is done by calling the enableBridgeAdapters() function on the Ethereum Cross-chain Controller smart contract.

The optimal bandwidth on the Ethereum -> Sonic path is set to 2, by calling updateOptimalBandwidthByChain().

The following are the configured adapters for the Ethereum → Sonic path. The required confirmations on the path are 2 out of 3.

Network Hyperlane Adapter LayerZero Adapter CCIP Adapter
Ethereum 0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1 0x8FD7D8dd557817966181F584f2abB53549B4ABbe 0xe3a0d9754aD3452D687cf580Ba3674c2D7D2f7AE
Sonic 0x1098F187F5f444Bc1c77cD9beE99e8d460347F5F 0x7B8FaC105A7a85f02C3f31559d2ee7313BDC5d7f 0x1905fCdDa41241C0871A5eC3f9dcC3E8d247261D

The new a.DI deployments on Sonic network are as follows:

Contract Address
CrossChainController 0x58e003a3C6f2Aeed6a2a6Bc77B504566523cb15c
Granular Guardian 0x10078c1D8E46dd1ed5D8df2C42d5ABb969b11566
Chainlink Emergency Oracle 0xECB564e91f620fBFb59d0C4A41d7f10aDb0D1934

The new Aave Governance deployments on Sonic network are as follows:

Contract Address
PayloadsController 0x0846C28Dd54DEA4Fd7Fb31bcc5EB81673D68c695
Executor Lvl 1 0x7b62461a3570c6AC8a9f8330421576e417B71EE7
Governance Guardian 0x63C4422D6cc849549daeb600B7EcE52bD18fAd7f
BGD Labs Guardian 0x7837d7a167732aE41627A3B829871d9e32e2e7f2

References

Copyright

Copyright and related rights waived via CC0.

Check: Reports all state changes ✅

Info

KeeperRegistry2_1 at 0x6593c7De001fC8542bB1703532EE1E5aA0D458fD

@@ Slot `0x0000000000000000000000000000000000000000000000000000000000000012` @@
- "0x0052956b000001b60b86395d87e2d29c00000002015f90000000000bebc20003"
+ "0x005298b3000001b60b86395d87e2d29c00000002015f90000000000bebc20003"
@@ `s_upkeep` key `"98380224709907625274835640384207729890880758792392902153217231505951940040515".lastPerformedBlockNumber` @@
- 21847567
+ 21861007

TransparentUpgradeableProxy at 0x9AEE0B04504CeF83A65AC3f0e838D0593BCb2BC7👻 with implementation Governance at 0x58BcB647C4beFf253B4B6996c62F737B783f2cDd

@@ `_proposals` key `"249".state` @@
- 2312502684754231161287775430607844781164527875
+ 2312502684754231161287775430607844781164527876

TransparentUpgradeableProxy at 0xdAbad81aF85554E9ae636395611C58F7eC1aAEc5👻 with implementation PayloadsController at 0x7222182cB9c5320587b5148BF03eeE107AD64578

@@ Slot `0x23bb3ede395a2a36ce5a71330f9b50700fb3bb6f8c34a5068b0a28319f2df48f` @@
- "0x00000000000067aca9830101eaf6183bab3efd3bf856ac5c058431c8592394d6"
+ "0x0067b23aa70067aca9830201eaf6183bab3efd3bf856ac5c058431c8592394d6"

TransparentUpgradeableProxy at 0xEd42a7D8559a463722Ca4beD50E0Cc05a386b0e1👻 with implementation CrossChainControllerUpgradeRev3 at 0x92F4736b72D131D836B3e4d4C3C23fE53150Ce4d

@@ `_currentEnvelopeNonce` key `_currentEnvelopeNonce` @@
- 946
+ 947
@@ `_currentTransactionNonce` key `_currentTransactionNonce` @@
- 946
+ 947
@@ `_forwardedTransactions` key `0x7f620086b991c383adaf82155dae8b3cfe6f621c68ba3ced2e148c2a825f81c3` @@
- false
+ true
@@ `_registeredEnvelopes` key `0x80e48bbb1f004894465fd468462ff638689820081cf7eb19946c19e91e0a5161` @@
- false
+ true

Check: Reports all events emitted from the proposal ✅

Info

  • TransparentUpgradeableProxy at 0xEd42a7D8559a463722Ca4beD50E0Cc05a386b0e1👻 with implementation CrossChainControllerUpgradeRev3 at 0x92F4736b72D131D836B3e4d4C3C23fE53150Ce4d
    • EnvelopeRegistered(envelopeId: 0x80e48bbb1f004894465fd468462ff638689820081cf7eb19946c19e91e0a5161, envelope: {"nonce":"946","origin":"0x9aee0b04504cef83a65ac3f0e838d0593bcb2bc7","destination":"0xdabad81af85554e9ae636395611c58f7ec1aaec5","originChainId":"1","destinationChainId":"1","message":"0x00000000000000000000000000000000000000000000000000000000000000f600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000067ae3cd3"})
    • TransactionForwardingAttempted(transactionId: 0x7f620086b991c383adaf82155dae8b3cfe6f621c68ba3ced2e148c2a825f81c3, envelopeId: 0x80e48bbb1f004894465fd468462ff638689820081cf7eb19946c19e91e0a5161, encodedTransaction: 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000003b200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000003b20000000000000000000000009aee0b04504cef83a65ac3f0e838d0593bcb2bc7000000000000000000000000dabad81af85554e9ae636395611c58f7ec1aaec50000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000f600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000067ae3cd3, destinationChainId: 1, bridgeAdapter: 0x6cfbd2aa4691fc18b9c209bdd43dc3943c228fcf, destinationBridgeAdapter: 0x6cfbd2aa4691fc18b9c209bdd43dc3943c228fcf, adapterSuccessful: true, returnData: 0x000000000000000000000000dabad81af85554e9ae636395611c58f7ec1aaec50000000000000000000000000000000000000000000000000000000000000000)
  • TransparentUpgradeableProxy at 0xdAbad81aF85554E9ae636395611C58F7eC1aAEc5👻 with implementation PayloadsController at 0x7222182cB9c5320587b5148BF03eeE107AD64578
    • PayloadQueued(payloadId: 246)
    • PayloadExecutionMessageReceived(originSender: 0x9aee0b04504cef83a65ac3f0e838d0593bcb2bc7, originChainId: 1, delivered: true, message: 0x00000000000000000000000000000000000000000000000000000000000000f600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000067ae3cd3, reason: 0x)
  • TransparentUpgradeableProxy at 0x9AEE0B04504CeF83A65AC3f0e838D0593BCb2BC7👻 with implementation Governance at 0x58BcB647C4beFf253B4B6996c62F737B783f2cDd
    • PayloadSent(proposalId: 249, payloadId: 246, payloadsController: 0xdabad81af85554e9ae636395611c58f7ec1aaec5, chainId: 1, payloadNumberOnProposal: 0, numberOfPayloadsOnProposal: 1)
    • ProposalExecuted(proposalId: 249)
  • GasCappedGovernanceChainRobotKeeper at 0x1996c281235D99bB3c6B8d2afbEb8ac6c7A39C11
    • ActionSucceeded(id: 249, action: 1)
  • KeeperRegistry2_1 at 0x6593c7De001fC8542bB1703532EE1E5aA0D458fD
    • UpkeepPerformed(id: 98380224709907625274835640384207729890880758792392902153217231505951940040515, success: true, totalPayment: 0, gasUsed: 261268, gasOverhead: 112718, trigger: 0x00000000000000000000000000000000000000000000000000000000014d928e9cbe3145d85132f40c58d861f3119afa8306cb42f131a8277c89279e340cc653)

Check: Check all touched contracts are verified on Etherscan ✅

Info

  • 0x9ae266da46f55b48bd85b18b441fec15ca07eb8b: EOA (verification not applicable)
  • 0x6593c7de001fc8542bb1703532ee1e5aa0d458fd: Contract (verified) (KeeperRegistry2_1)
  • 0x0000000000000000000000000000000000000001: EOA (verification not applicable)
  • 0x889e13b61b1961a2082e1df067dd5fff10f556c5: Contract (not verified)
  • 0x1996c281235d99bb3c6b8d2afbeb8ac6c7a39c11: Contract (verified) (GasCappedGovernanceChainRobotKeeper)
  • 0x9aee0b04504cef83a65ac3f0e838d0593bcb2bc7: Contract (verified) (TransparentUpgradeableProxy) 👻
  • 0x58bcb647c4beff253b4b6996c62f737b783f2cdd: Contract (verified) (Governance)
  • 0xa198fac58e02a5c5f8f7e877895d50cfa9ad1e04: Contract (verified) (GovernancePowerStrategy) 👻
  • 0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9: Contract (verified) (InitializableAdminUpgradeabilityProxy) 👻
  • 0x5d4aa78b08bc7c530e21bf7447988b1be7991322: Contract (verified) (AaveTokenV3)
  • 0x4da27a545c0c5b758a6ba100e3a049001de870f5: Contract (verified) (InitializableAdminUpgradeabilityProxy) 👻
  • 0x0fe58fe1caa69951dc924a8c222be19013b89476: Contract (verified) (StakedAaveV3)
  • 0xa700b4eb416be35b2911fd5dee80678ff64ff6c9: Contract (verified) (InitializableImmutableAdminUpgradeabilityProxy) 👻
  • 0x366ae337897223aea70e3ebe1862219386f20593: Contract (verified) (ATokenWithDelegation)
  • 0xed42a7d8559a463722ca4bed50e0cc05a386b0e1: Contract (verified) (TransparentUpgradeableProxy) 👻
  • 0x92f4736b72d131d836b3e4d4c3c23fe53150ce4d: Contract (verified) (CrossChainControllerUpgradeRev3)
  • 0x6cfbd2aa4691fc18b9c209bdd43dc3943c228fcf: Contract (verified) (SameChainAdapter)
  • 0xdabad81af85554e9ae636395611c58f7ec1aaec5: Contract (verified) (TransparentUpgradeableProxy) 👻
  • 0x7222182cb9c5320587b5148bf03eee107ad64578: Contract (verified) (PayloadsController)

Check: Check all touched contracts do not contain selfdestruct ✅

Warnings

Info