Skip to content

Commit

Permalink
test: use newest data provider for aave v3 (#1351)
Browse files Browse the repository at this point in the history
  • Loading branch information
KedziaPawel authored Jan 23, 2025
1 parent ad2af89 commit 3dde2cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tests/tests/protocols/aave/AaveV3Constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ pragma solidity 0.8.19;
// Ethereum
address constant ETHEREUM_POOL_ADDRESS = 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2;
address constant ETHEREUM_POOL_ADDRESS_PROVIDER = 0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e;
address constant ETHEREUM_PROTOCOL_DATA_PROVIDER = 0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3;
address constant ETHEREUM_PROTOCOL_DATA_PROVIDER = 0x41393e5e337606dc3821075Af65AeE84D7688CBD;
address constant ETHEREUM_REWARDS_CONTROLLER = 0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb;

// Polygon
address constant POLYGON_POOL_ADDRESS = 0x794a61358D6845594F94dc1DB02A252b5b4814aD;
address constant POLYGON_POOL_ADDRESS_PROVIDER = 0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb;
address constant POLYGON_PROTOCOL_DATA_PROVIDER = 0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654;
address constant POLYGON_PROTOCOL_DATA_PROVIDER = 0x7F23D86Ee20D869112572136221e173428DD740B;
address constant POLYGON_REWARDS_CONTROLLER = 0x929EC64c34a17401F460460D4B9390518E5B473e;

// Arbitrum
address constant ARBITRUM_POOL_ADDRESS = 0x794a61358D6845594F94dc1DB02A252b5b4814aD;
address constant ARBITRUM_POOL_ADDRESS_PROVIDER = 0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb;
address constant ARBITRUM_PROTOCOL_DATA_PROVIDER = 0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654;
address constant ARBITRUM_PROTOCOL_DATA_PROVIDER = 0x7F23D86Ee20D869112572136221e173428DD740B;
address constant ARBITRUM_REWARDS_CONTROLLER = 0x929EC64c34a17401F460460D4B9390518E5B473e;

// Base
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ abstract contract BalancerPoolTest is PoolTestBase {
address outgoingAsset = poolAssetAddresses[0];
address incomingAsset = poolAssetAddresses[1];

uint256 outgoingAssetAmount = assetUnit(IERC20(outgoingAsset)) * 2;
uint256 outgoingAssetAmount = assetUnit(IERC20(outgoingAsset));
increaseTokenBalance({_token: IERC20(outgoingAsset), _to: vaultProxyAddress, _amount: outgoingAssetAmount});

address[] memory assets = toArray(outgoingAsset, incomingAsset);
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/Constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ abstract contract Constants {
uint256 internal constant ETHEREUM_BLOCK_TIME_SENSITIVE_TERM_FINANCE = 18554000; // Nov 12th, 2023
uint256 internal constant ETHEREUM_BLOCK_TIME_SENSITIVE_THE_GRAPH = 20711624; // Sep 9th, 2024

uint256 internal constant POLYGON_BLOCK_LATEST = 61606585; // Sep 9th, 2024
uint256 internal constant POLYGON_BLOCK_LATEST = 67047280; // Jan 23rd, 2025
uint256 internal constant POLYGON_BLOCK_TIME_SENSITIVE = 54900000; // March 21st, 2024
uint256 internal constant POLYGON_BLOCK_TIME_SENSITIVE_ONE_INCH_V5 = 55136740; // March 27th, 2024

Expand Down

0 comments on commit 3dde2cb

Please sign in to comment.