Skip to content

Commit

Permalink
test: add referral code to gmx test
Browse files Browse the repository at this point in the history
  • Loading branch information
KedziaPawel authored Nov 25, 2024
1 parent e1a53a1 commit c8c8e06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/tests/protocols/aave/AaveAdapterTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ abstract contract AaveAdapterRedeemTest is AaveAdapterTestBase {
// test underlying with decimals that are not 18
__test_redeem_success({
_aToken: __getATokenAddress(address(non18DecimalUnderlying)),
_amount: 10 * assetUnit(non18DecimalUnderlying)
_amount: 18 * assetUnit(non18DecimalUnderlying)
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ abstract contract TestBase is IntegrationTest {
reader: _reader,
roleStore: _roleStore,
callbackGasLimit: _callbackGasLimit,
referralCode: "",
referralCode: "Enzyme2024",
referralStorageAddress: _referralStorageAddress,
uiFeeReceiverAddress: _uiFeeReceiverAddress,
chainlinkPriceFeedProvider: _chainlinkPriceFeedProvider
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/Constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ abstract contract Constants {
uint256 internal constant POLYGON_BLOCK_LATEST = 61606585; // Sep 9th, 2024
uint256 internal constant POLYGON_BLOCK_TIME_SENSITIVE = 54900000; // March 21st, 2024

uint256 internal constant ARBITRUM_BLOCK_LATEST = 277059580; // Nov 22nd, 2024
uint256 internal constant ARBITRUM_BLOCK_LATEST = 278101140; // Nov 25th, 2024
uint256 internal constant ARBITRUM_BLOCK_TIME_SENSITIVE = 231099000; // July 11th, 2024

// Network assets
Expand Down

0 comments on commit c8c8e06

Please sign in to comment.