Commit Graph

432 Commits

Author SHA1 Message Date
Zer0dot
0bf9810158 Replaced "Uni" prefix with "Lp" for tokens 2021-02-08 11:24:01 -05:00
Zer0dot
89e9305076 Updated test descriptions (sync) 2021-02-05 22:32:44 -05:00
Zer0dot
f590040c60 Merge remote-tracking branch 'oldfork/light-implementation' into lp-market 2021-02-04 16:45:00 -05:00
The-3D
776a6a4aae Merge branch 'fix/hardhat-time-error' into 'master'
Fix master test suite at CI

See merge request aave-tech/protocol-v2!226
2021-02-03 09:43:49 +00:00
David Racero
56e5efd47b Add a comment to specify why retries are being used at scenarios tests suite 2021-02-03 09:22:22 +00:00
Zer0dot
9431541593 More fixes, some stable tests fail WIP 2021-02-02 17:44:46 -05:00
Zer0dot
19436c055e Pulled waitForTx changes 2021-02-02 16:38:34 -05:00
Zer0dot
ca0e744df5 Fixed delegation aware aToken test 2021-02-01 22:12:36 -05:00
David Racero
f106502c72 Add retries to scenarios to prevent random networking bug. 2021-02-01 19:24:50 +01:00
David Racero
a4a6d3d437 WIP change implementation of increaseTime 2021-02-01 16:40:11 +01:00
emilio
00f414b681 Updated test description 2021-02-01 16:16:42 +01:00
David Racero
37ac8b5297 Add new edge case when flash liquidation same asset. Add tests. 2021-01-29 18:09:06 +01:00
David Racero
d464b0d592 Pull master and fix conflicts 2021-01-29 13:27:12 +01:00
David Racero
80cfc7d0fe Add fixed format scenario test 2021-01-28 09:51:52 +01:00
David Racero
ba054edbd9 Test formatting error 2021-01-27 16:02:44 +01:00
David Racero
6a503eb0a8 Lint files. Add all ts and sol files to pre-commit. Add prettier format check to CI. 2021-01-27 15:43:34 +01:00
root
55f14c1af9 Use diff balances instead of liquidation logic for flash liquidations 2021-01-22 09:59:47 +00:00
David Racero
f05550fc04 Fixed master tests 2021-01-21 20:21:56 +01:00
Zer0dot
073b30d8c9 Added assets & fixed test 2021-01-20 21:44:19 -05:00
David Racero
c7a8f41d46 Added test fixes to support latest stable fix 2021-01-21 00:42:39 +01:00
David Racero
a72b73d804 Merge branch 'master' of gitlab.com:aave-tech/protocol-v2 into 183-flash-liquidation-adapter 2021-01-20 09:27:33 +01:00
David Racero
600912463f Add waitTx for some missing scenario actions 2021-01-19 09:57:36 +01:00
David Racero
94dd996666 Add test cases for FlashLiquidationAdapter 2021-01-18 15:40:02 +01:00
root
a9aff29b77 Flash liquidation fixes. Add working test for flash liquidation. Add Tenderly tests support. 2021-01-15 15:48:54 +00:00
David Racero
16a7398574 Fixed tests. Add uniswap adapter test to package.json script 2021-01-14 11:53:48 +01:00
David Racero
611605eebf Fix mockup base tests. Separate uniswap adapter tests into separate files. 2021-01-13 15:11:39 +01:00
Zer0dot
0472cc27f2 Cleanup (Removed unneeded dev deployment) 2021-01-10 20:40:23 -05:00
Zer0dot
1669d6587a Fixed UNI prefix error in setup.spec 2021-01-01 21:14:02 -05:00
Zer0dot
57986b76a8 Testing 2020-12-25 00:47:30 -05:00
The3D
2e23281cdc Merge branch 'master' into 178-add-uniswap-adapters 2020-12-02 10:14:03 +01:00
The-3D
57ee9e0a7c Merge branch '181-check-configuration-and-scripts' into 'master'
Resolve "Check configuration and scripts"

Closes #181

See merge request aave-tech/protocol-v2!204
2020-11-30 20:42:50 +00:00
David Racero
ac63cfaf05 Minor changes to deploy scripts. Fix token verify errors. Added new task for print providers config. 2020-11-30 19:25:06 +01:00
The3D
3b5344388d Fixed failing test after updating the latest risk parameters 2020-11-30 18:14:21 +01:00
The3D
83346703a5 Fixed liquidation tests 2020-11-30 13:08:37 +01:00
The3D
4bb7d0c5db Updated config 2020-11-30 12:53:33 +01:00
The3D
59d5c3a6a9 Fixed configuration parameters 2020-11-30 12:49:31 +01:00
The3D
ae0414eb23 Fixed configuration tests 2020-11-30 12:01:26 +01:00
Andrey Ko
a32d1ce404 Merge branch 'feat/uniswap-adapter-flashloan' into '178-add-uniswap-adapters'
Add Uniswap adapter for liquidity swap and repay with collateral using flashloan

See merge request aave-tech/protocol-v2!106
2020-11-30 10:21:46 +00:00
The3D
c9875f0a8f Handled reserveFactor in the scenario tests 2020-11-28 13:28:50 +01:00
The3D
7892587f1b Updated migration scripts to add the reserve factor configuration 2020-11-28 12:54:54 +01:00
The3D
bfa52fb3a8 Fixed tests 2020-11-27 18:22:23 +01:00
The3D
8cff75f7e3 Migration scripts updated 2020-11-27 16:40:00 +01:00
The-3D
b7bae0cb67 Merge branch 'feat/166-market-id' into 'master'
- Added marketId and setter on LendingPoolAddressesProvider

Closes #166

See merge request aave-tech/protocol-v2!189
2020-11-26 16:13:04 +00:00
eboado
3d6150a729 - Added test for onlyOwner on setMarketId() 2020-11-26 17:08:09 +01:00
The-3D
f6a33495e2 Merge branch 'fix/167-usage-collateral-liquidation' into 'master'
- Added set of usage as collateral to true on liquidator receiving aToken.

Closes #167

See merge request aave-tech/protocol-v2!193
2020-11-26 15:49:35 +00:00
eboado
3f070d67ec - Added set of usage as collateral to true on liquidator receiving aToken. 2020-11-26 16:44:32 +01:00
Gerardo Nardelli
b41ccf7441 Add repay with same asset unit test 2020-11-26 12:42:42 -03:00
The3D
34264243be Merge branch 'master' into fix/159 2020-11-26 16:18:33 +01:00
David Racero
43712d8a2b Support marketId argument 2020-11-26 16:11:40 +01:00
Gerardo Nardelli
bc969d926e Add swapAndRepay unit tests 2020-11-25 14:55:46 -03:00