-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: zksync configs * chore: copy ProtocolV3TestBase * fix: ProtocolV3TestBase * chore: misc cleanup * test: protocolV3TestBase * fix: script utils * feat: create2 utils * chore: some comments * fix: create2Utils * fix: zksync govV3 helpers * chore: add zksync payloadsController * chore: update address-book * fix: govV3Helpers * chore: make method pure * chore: fix chainId * chore: update libs * feat: zksync config engine payload * chore: update solidity-utils * fix: generate diff in snapshot helpers * chore: update address book * fix: move create2 zksync to solidity-utils * chore: fix rpc name * fix: evm version * chore: update libs * chore: add zksync ci * chore: test ci * chore: trigger * chore: update forge-std * chore: test ci * chore: test ci * fix: remove test * fix: workflow to main branch * fix: update foundry.toml * fix: updated libs to main --------- Co-authored-by: sendra <[email protected]>
- Loading branch information
1 parent
07b8d57
commit 920554b
Showing
12 changed files
with
1,021 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
cache/ | ||
out/ | ||
zkout/ | ||
.idea | ||
.env | ||
broadcast | ||
|
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
Submodule aave-address-book
updated
24 files
+21 −0 | CHANGELOG.md | |
+1 −1 | lib/aave-v3-origin | |
+1 −1 | package.json | |
+14 −0 | scripts/configs/governance/zksync.ts | |
+13 −0 | scripts/configs/networks/zksync.ts | |
+23 −0 | scripts/configs/pools/zksync.ts | |
+1 −0 | scripts/configs/types.ts | |
+6 −0 | scripts/generateAddresses.ts | |
+3 −0 | src/AaveAddressBook.sol | |
+3 −0 | src/AaveV3Arbitrum.sol | |
+21 −0 | src/AaveV3Gnosis.sol | |
+21 −0 | src/AaveV3Scroll.sol | |
+111 −0 | src/AaveV3ZkSync.sol | |
+26 −0 | src/GovernanceV3ZkSync.sol | |
+14 −0 | src/MiscZkSync.sol | |
+3 −0 | src/ts/AaveAddressBook.ts | |
+1 −0 | src/ts/AaveV3Arbitrum.ts | |
+9 −0 | src/ts/AaveV3Gnosis.ts | |
+9 −0 | src/ts/AaveV3Scroll.ts | |
+81 −0 | src/ts/AaveV3ZkSync.ts | |
+19 −0 | src/ts/GovernanceV3ZkSync.ts | |
+11 −0 | src/ts/MiscZkSync.ts | |
+60 −2 | src/ts/tokenlist.ts | |
+60 −2 | tokenlist.json |
Submodule forge-std
updated
4 files
+1 −1 | package.json | |
+2 −2 | src/StdCheats.sol | |
+99 −60 | src/Vm.sol | |
+1 −1 | test/Vm.t.sol |
Submodule solidity-utils
updated
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {AaveV3ZkSync} from 'aave-address-book/AaveV3ZkSync.sol'; | ||
import 'aave-v3-origin/periphery/contracts/v3-config-engine/AaveV3Payload.sol'; | ||
|
||
/** | ||
* @dev Base smart contract for an Aave v3.1.0 listing on v3 ZkSync. | ||
* @author BGD Labs | ||
*/ | ||
abstract contract AaveV3PayloadZkSync is AaveV3Payload(IEngine(AaveV3ZkSync.CONFIG_ENGINE)) { | ||
function getPoolContext() public pure override returns (IEngine.PoolContext memory) { | ||
return IEngine.PoolContext({networkName: 'ZkSync', networkAbbreviation: 'Zks'}); | ||
} | ||
} |
Oops, something went wrong.
920554b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Foundry report
Build log
Test success 🌈