generated from bgd-labs/bgd-forge-template
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Updated with new helpers usage and diffs
- Loading branch information
Showing
18 changed files
with
334 additions
and
617 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...0_before_adi_AaveV3Avalanche_HyperlaneBridgeAdapterUpdateToV3_20240320_after.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"forwarderAdaptersByChain": { | ||
"1": { | ||
"0xa198Fac58E02A5C5F8F7e877895d50cFa9ad1E04": { | ||
"from": "0x6Abb61beb5848B476d026C4934E8a6415e2E75a8", | ||
"to": null | ||
}, | ||
"0x617332a777780F546261247F621051d0b98975Eb": { | ||
"from": null, | ||
"to": "0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1" | ||
} | ||
} | ||
}, | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0xa198Fac58E02A5C5F8F7e877895d50cFa9ad1E04": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0x617332a777780F546261247F621051d0b98975Eb": { | ||
"from": null, | ||
"to": true | ||
} | ||
} | ||
} | ||
} | ||
``` |
18 changes: 18 additions & 0 deletions
18
...0240320_before_adi_AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320_after.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0x118DFD5418890c0332042ab05173Db4A2C1d283c": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0x3F006299eC88985c18E6e885EeA29A49eC579882": { | ||
"from": null, | ||
"to": true | ||
} | ||
} | ||
} | ||
} | ||
``` |
70 changes: 70 additions & 0 deletions
70
...20_before_adi_AaveV3Ethereum_HyperlaneBridgeAdapterUpdateToV3_20240320_after.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"forwarderAdaptersByChain": { | ||
"56": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": "0x118DFD5418890c0332042ab05173Db4A2C1d283c", | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": "0x3F006299eC88985c18E6e885EeA29A49eC579882" | ||
} | ||
}, | ||
"100": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": "0x4A4c73d563395ad827511F70097d4Ef82E653805", | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": "0xA806DA549FcB2B4912a7dFFE4c1aA7A1ed0Bd5C9" | ||
} | ||
}, | ||
"137": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": "0x3c25b96fF62D21E90556869272a277eE2E229747", | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": "0x3e72665008dC237bdd91C04C10782Ed1987a4019" | ||
} | ||
}, | ||
"43114": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": "0xa198Fac58E02A5C5F8F7e877895d50cFa9ad1E04", | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": "0x617332a777780F546261247F621051d0b98975Eb" | ||
} | ||
} | ||
}, | ||
"receiverAdaptersByChain": { | ||
"137": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": true | ||
} | ||
}, | ||
"43114": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": true | ||
} | ||
} | ||
} | ||
} | ||
``` |
18 changes: 18 additions & 0 deletions
18
...0320_before_adi_AaveV3Gnosis_HyperlaneBridgeAdapterUpdateToV3_20240320_after.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0x4A4c73d563395ad827511F70097d4Ef82E653805": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0xA806DA549FcB2B4912a7dFFE4c1aA7A1ed0Bd5C9": { | ||
"from": null, | ||
"to": true | ||
} | ||
} | ||
} | ||
} | ||
``` |
30 changes: 30 additions & 0 deletions
30
...320_before_adi_AaveV3Polygon_HyperlaneBridgeAdapterUpdateToV3_20240320_after.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"forwarderAdaptersByChain": { | ||
"1": { | ||
"0x3c25b96fF62D21E90556869272a277eE2E229747": { | ||
"from": "0x6Abb61beb5848B476d026C4934E8a6415e2E75a8", | ||
"to": null | ||
}, | ||
"0x3e72665008dC237bdd91C04C10782Ed1987a4019": { | ||
"from": null, | ||
"to": "0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1" | ||
} | ||
} | ||
}, | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0x3c25b96fF62D21E90556869272a277eE2E229747": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0x3e72665008dC237bdd91C04C10782Ed1987a4019": { | ||
"from": null, | ||
"to": true | ||
} | ||
} | ||
} | ||
} | ||
``` |
Submodule aave-helpers
updated
24 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 16 additions & 9 deletions
25
...yperlaneBridgeAdapterUpdateToV3/AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320.t.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,28 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import './BaseTest.sol'; | ||
import {GovernanceV3BNB} from 'aave-address-book/GovernanceV3BNB.sol'; | ||
import {AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320} from './AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320.sol'; | ||
import 'aave-helpers/adi/test/ADITestBase.sol'; | ||
|
||
/** | ||
* @dev Test for AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320 | ||
* command: make test-contract filter=AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320 | ||
*/ | ||
contract AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320_Test is BaseTest { | ||
constructor() | ||
BaseTest( | ||
contract AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320_Test is ADITestBase { | ||
AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320 public payload; | ||
|
||
function setUp() public { | ||
vm.createSelectFork(vm.rpcUrl('bnb'), 37137492); | ||
payload = new AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320(); | ||
} | ||
|
||
function test_defaultTest() public { | ||
defaultTest( | ||
'AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320', | ||
GovernanceV3BNB.CROSS_CHAIN_CONTROLLER, | ||
type(AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320).creationCode, | ||
'bnb', | ||
37137492 | ||
) | ||
{} | ||
address(payload), | ||
true | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.