Commit Graph

1324 Commits

Author SHA1 Message Date
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
David Racero
f106502c72 Add retries to scenarios to prevent random networking bug. 2021-02-01 19:24:50 +01:00
David Racero
3f6dd8a0f0 Update hardhat to latest version. Add timeout to advanceTimeAndBlock function. 2021-02-01 17:54:02 +01:00
David Racero
a4a6d3d437 WIP change implementation of increaseTime 2021-02-01 16:40:11 +01:00
Ernesto Boado
f48c8d7395 Merge branch '183-flash-liquidation-adapter' into 'master'
Flash liquidation adapter

Closes #183

See merge request aave-tech/protocol-v2!212
2021-02-01 14:55:03 +00:00
David Racero
211dca7a07 Add new variable borrowedAssetLeftovers to improve readability 2021-02-01 13:24:07 +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
The-3D
57d9d48bf8 Merge branch '201-add-protocol-contracts-to-the-npm' into 'master'
Add protocol contracts to the npm

Closes #201

See merge request aave-tech/protocol-v2!224
2021-01-29 09:13:42 +00:00
Ernesto Boado
b029c9436e Merge branch '198-add-lint-ci-ctep-to-reject-unformatted-code' into 'master'
Add lint CI ctep to reject unformatted code

See merge request aave-tech/protocol-v2!225
2021-01-28 13:32:39 +00:00
David Racero
80cfc7d0fe Add fixed format scenario test 2021-01-28 09:51:52 +01:00
David Racero
da0b13757a Fix scenario and rename jobs 2021-01-27 16:57:26 +01:00
David Racero
ba054edbd9 Test formatting error 2021-01-27 16:02:44 +01:00
David Racero
17af598680 Add missing npm run to script 2021-01-27 15:58:38 +01:00
David Racero
abb17b004d Fix pre-commit 2021-01-27 15:46:04 +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
David Racero
89db02e79c Add include 2021-01-27 11:50:54 +01:00
David Racero
41b7adb4cc Test super linter at Gitlab and Solidity 2021-01-27 10:49:30 +01:00
David Racero
b2d70ec133 Run tests before publish at master 2021-01-26 14:02:47 +01:00
David Racero
9169e0db62 Add notes about how to use NPM package to import contract or artifacts 2021-01-26 13:46:48 +01:00
David Racero
e84ab7cf03 Allow detached to skip tests for testing publish 2021-01-26 13:34:39 +01:00
David Racero
2f4219d643 Detach mode to test prepare and publish step 2021-01-26 13:20:32 +01:00
David Racero
5434b279d1 Fix detached missing tests 2021-01-26 13:03:06 +01:00
David Racero
422d843815 Run CI to test publish image prepare 2021-01-26 13:01:37 +01:00
David Racero
9cd6175f11 Fix gitlab ci 2021-01-26 12:58:39 +01:00
David Racero
56ba85e946 Add publish to Gitlab CI 2021-01-26 12:56:36 +01:00
The-3D
717cb2beb9 Merge branch '199-add-support-of-repaying-debt-with-the-same-collateral-to-repay-adapter' into 'master'
Resolve "Add support of repaying debt with the same collateral to repay adapter"

Closes #199

See merge request aave-tech/protocol-v2!222
2021-01-25 11:49:39 +00:00
eboado
d6059938bb - Fixed array init on BaseUniswapAdapter 2021-01-25 09:29:07 +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
andyk
6cebf50f11 add special quotation flow 2021-01-21 17:44:48 +03: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
The-3D
29448c19c1 Merge branch 'fix/185-validation-borrow' into 'master'
- Fix non-initialized vars.rateMode on borrow validation

See merge request aave-tech/protocol-v2!209
2021-01-19 11:46:36 +00:00
Ernesto Boado
b21dd83abb Merge branch '196-fix-certora-ci' into 'master'
Resolve "Fix Certora CI"

Closes #196

See merge request aave-tech/protocol-v2!218
2021-01-19 11:07:01 +00:00
David Racero
600912463f Add waitTx for some missing scenario actions 2021-01-19 09:57:36 +01:00
David Racero
38d7711fbd Apply fix 2021-01-18 15:56:16 +01:00
David Racero
94dd996666 Add test cases for FlashLiquidationAdapter 2021-01-18 15:40:02 +01:00
David Racero
7040f9ea2e Fix conflicts 2021-01-15 16:55:51 +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
The-3D
c85bcbdae9 Merge branch '178-add-uniswap-adapters' into 'master'
Resolve "Add Uniswap adapter for liquidity swap and repay with collateral using flashloan"

Closes #178

See merge request aave-tech/protocol-v2!201
2021-01-14 16:07:53 +00:00
Ernesto Boado
f11d00756d Merge branch '195-latest-changes-to-the-uniswap-adapters' into '178-add-uniswap-adapters'
Resolve "Latest changes to the uniswap adapters"

See merge request aave-tech/protocol-v2!217
2021-01-14 15:48:41 +00:00
The3D
773bdd252b Added latest fixes 2021-01-14 15:21:42 +01: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
eboado
e5e61553c8 - Removed comments from BaseUniswapAdapter 2021-01-12 14:21:44 +01:00
David Racero
63ce8bc2bb Revert "add withFlash flage to getAmountIn/Out"
This reverts commit 3d2a877770.
2021-01-12 13:20:32 +01:00
David Racero
46c753cea1 Solve conflicts 2021-01-12 12:11:03 +01:00
David Racero
b432008d06 Added flash liquidation adapter first iteration 2021-01-11 17:40:25 +01:00
Ernesto Boado
3782bfda1a Merge branch 'add-task-deploy-new-asset' into 'master'
Add task deploy new assets before AIP

See merge request aave-tech/protocol-v2!210
2021-01-08 10:01:38 +00:00