Skip to content

Commit

Permalink
fix: use address(0) instead of old adapter, as it will not be removed
Browse files Browse the repository at this point in the history
  • Loading branch information
sendra committed Mar 26, 2024
1 parent 34c4276 commit 11d4974
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ contract AaveV3Arbitrum_NativeBridgeAdaptersUpdate_20240322 is
BaseAdaptersUpdatePayload.ConstructorInput({
ccc: GovernanceV3Arbitrum.CROSS_CHAIN_CONTROLLER,
newAdapter: 0xc8a2ADC4261c6b669CdFf69E717E77C9cFeB420d,
adapterToRemove: 0x3829943c53F2d00e20B58475aF19716724bF90Ba // not removing
adapterToRemove: address(0) // @dev We dont remove old adapter so that system can be rescued by just re adding sender on Ethereum aDI
})
)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ contract AaveV3Base_NativeBridgeAdaptersUpdate_20240322 is
BaseAdaptersUpdatePayload.ConstructorInput({
ccc: GovernanceV3Base.CROSS_CHAIN_CONTROLLER,
newAdapter: 0x7120b1f8e5b73c0C0DC99C6e52Fe4937E7EA11e0,
adapterToRemove: 0x7b62461a3570c6AC8a9f8330421576e417B71EE7 // not removing
adapterToRemove: address(0) // @dev We dont remove old adapter so that system can be rescued by just re adding sender on Ethereum aDI
})
)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ contract AaveV3Gnosis_NativeBridgeAdaptersUpdate_20240322 is
BaseAdaptersUpdatePayload.ConstructorInput({
ccc: GovernanceV3Gnosis.CROSS_CHAIN_CONTROLLER,
newAdapter: 0x3C06dce358add17aAf230f2234bCCC4afd50d090,
adapterToRemove: 0x889c0cc3283DB588A34E89Ad1E8F25B0fc827b4b // we can remove native adapter because we can reach confirmations with other 2 bridges
adapterToRemove: 0x889c0cc3283DB588A34E89Ad1E8F25B0fc827b4b
})
)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ contract AaveV3Metis_NativeBridgeAdaptersUpdate_20240322 is
BaseAdaptersUpdatePayload.ConstructorInput({
ccc: GovernanceV3Metis.CROSS_CHAIN_CONTROLLER,
newAdapter: 0xf41193E25408F652AF878c47E4401A01B5E4B682,
adapterToRemove: 0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf // not removing
adapterToRemove: address(0) // @dev We dont remove old adapter so that system can be rescued by just re adding sender on Ethereum aDI
})
)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ contract AaveV3Optimism_NativeBridgeAdaptersUpdate_20240322 is
BaseAdaptersUpdatePayload.ConstructorInput({
ccc: GovernanceV3Optimism.CROSS_CHAIN_CONTROLLER,
newAdapter: 0xAE93BEa44dcbE52B625169588574d31e36fb3A67,
adapterToRemove: 0x81d32B36380e6266e1BDd490eAC56cdB300afBe0 // not removing
adapterToRemove: address(0) // @dev We dont remove old adapter so that system can be rescued by just re adding sender on Ethereum aDI
})
)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ contract AaveV3Scroll_NativeBridgeAdaptersUpdate_20240322 is
BaseAdaptersUpdatePayload.ConstructorInput({
ccc: GovernanceV3Scroll.CROSS_CHAIN_CONTROLLER,
newAdapter: 0x3C06dce358add17aAf230f2234bCCC4afd50d090,
adapterToRemove: 0x118DFD5418890c0332042ab05173Db4A2C1d283c // not removing
adapterToRemove: address(0) // @dev We dont remove old adapter so that system can be rescued by just re adding sender on Ethereum aDI
})
)
{
Expand Down

0 comments on commit 11d4974

Please sign in to comment.