Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing tests for AaveV3LeverageStrategyExtension #147

Conversation

ckoopmann
Copy link
Collaborator

No description provided.

@ckoopmann ckoopmann changed the base branch from master to snake-poison/aave-v3-leverage-post-deployment-updates August 14, 2023 02:54
@coveralls
Copy link

coveralls commented Aug 14, 2023

Coverage Status

coverage: 76.259%. remained the same when pulling a770251 on ckoopmann/fix-a3lse-tests into e42ba80 on snake-poison/aave-v3-leverage-post-deployment-updates.

@snake-poison snake-poison merged commit d274ec1 into snake-poison/aave-v3-leverage-post-deployment-updates Aug 14, 2023
@snake-poison snake-poison deleted the ckoopmann/fix-a3lse-tests branch August 14, 2023 04:18
ckoopmann added a commit that referenced this pull request Aug 14, 2023
* remove test filter on FlashMintLeveraged.

* chore: update current block

* test: updates to deployment of leverage module.

* Fix failing tests for AaveV3LeverageStrategyExtension (#147)

* Fix failing tests

* Adjust test message for ripcord test

---------

Co-authored-by: christn <[email protected]>
snake-poison added a commit that referenced this pull request Aug 14, 2023
* Test showing that settting Emode does not affect getReserveConfigurationData

* Start adjusting StrategyExtension test to switcht to wsteth/eth pair

* Fixing tests

* Fix test

* First test case for rebalancing in e-mode

* Fix handling of emode ltv / liquidationThreshold

* Add test case for wrong repay threshold

* Fix tests

* Remove subtraction of unutilizedLeveragePercentage when delevering

* Add test for targetLeverageRatio verification

* Add verification step for targetLeverageRatio >= 1

* Switch div / mul order in _calculateMinRepayUnits

* Switch div / mul order in calculateChunkRebalanceNotional

* Switch to latestRoundData on chainlink call

* Add check for maximum oracle price age

* Add tests for outdated price response from oracle

* Fix tests

* Add method to override noRebalanceInProgress modifier

* Fix tests

* Use AaveOracle instead of configured chainlink oracles

* Get AaveOracle address from AddressProvider instead of deploy argument

* Change to get aaveOracle address on the fly from addressProvider

* Clean up and additional code comments

* fix(dependencies): Add post audit Aave V3 dependencies (#145)

update post audit contracts for integration tests

Co-authored-by: Pranav Bhardwaj <[email protected]>

* Updates to test  (#146)

* remove test filter on FlashMintLeveraged.

* chore: update current block

* test: updates to deployment of leverage module.

* Fix failing tests for AaveV3LeverageStrategyExtension (#147)

* Fix failing tests

* Adjust test message for ripcord test

---------

Co-authored-by: christn <[email protected]>

* remove .only from test

* test: fix issues with updating block.

Made deadline on uniswap router swaps less brittle.

---------

Co-authored-by: pblivin0x <[email protected]>
Co-authored-by: Pranav Bhardwaj <[email protected]>
Co-authored-by: SnakePoison <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants