Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuh25 committed Jul 19, 2024
1 parent 7d573f8 commit 343f95d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 10 additions & 0 deletions eth_defi/aave_v3/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,13 @@ class AaveVersion(enum.Enum):
# https://github.com/aave/aave-v3-core/blob/e0bfed13240adeb7f05cb6cbe5e7ce78657f0621/contracts/protocol/libraries/logic/SupplyLogic.sol#L123
# 115792089237316195423570985008687907853269984665640564039457584007913129639935
MAX_AMOUNT = 2**256 - 1

# https://docs.aave.com/developers/deployed-contracts/v3-mainnet
AAVE_V3_DEPLOYMENTS = {
"ethereum": {
"pool": "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2",
},
"arbitrum": {
"pool": "0x794a61358D6845594F94dc1DB02A252b5b4814aD",
},
}
2 changes: 0 additions & 2 deletions tests/guard/test_guard_simple_vault_aave_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,6 @@ def test_vault_initialised(
guard: Contract,
usdc: Contract,
ausdc: Contract,
weth: Contract,
vweth: Contract,
aave_v3_deployment: AaveV3Deployment,
):
"""Vault and guard are initialised for the owner."""
Expand Down

0 comments on commit 343f95d

Please sign in to comment.