Commit Graph

44 Commits

Author SHA1 Message Date
Lasse Herskind
f5caf39343 fix: Add skip to tests that breaks with gas reporter enabled 2021-06-23 15:20:37 +02:00
Lasse Herskind
d12318591c fix: Add claimRewardsToSelf() to force receiver = msg.sender 2021-06-23 15:09:24 +02:00
Lasse Herskind
4373b61d76 fix: Update claimRewards() to limit access 2021-06-23 13:30:36 +02:00
Lasse Herskind
2644aaca7f fix: Remove block number constraint from collectAndUpdateRewards() + add test 2021-06-21 16:07:44 +02:00
Lasse Herskind
14fc0f6d90 fix: Remove VamToken and attack files 2021-06-17 13:03:36 +02:00
Lasse Herskind
7463b75a09 fix: Add check for user bal == contract bal when 1 user 2021-06-04 09:22:32 +02:00
Lasse Herskind
27ec584490 fix: Removed some comments 2021-06-03 16:06:23 +02:00
Lasse Herskind
782d8acca2 fix: Use virtual rewards/balances when possible (update tests accordingly) 2021-06-02 20:48:47 +02:00
Lasse Herskind
6c34a062af test: Replace gt, gte, lt, lte with eq when possible 2021-06-02 10:20:22 +02:00
Lasse Herskind
20635c1933 test: Cleanup in testfiles 2021-06-01 14:48:23 +02:00
Lasse Herskind
70e49ba127 fix: Update paths for tests 2021-06-01 12:21:06 +02:00
Lasse Herskind
209bd6b2de Merge branch 'feat-atoken-wrapper-liquidity-mining' of https://github.com/aave/protocol-v2 into feat-atoken-wrapper-liquidity-mining 2021-06-01 12:16:03 +02:00
Lasse Herskind
26f6dc8472 fix: Update paths in tests and contract. 2021-06-01 12:05:51 +02:00
Lasse Herskind
9f3a48b5d6 test: Add tests for multiple updates of rewards in the same block 2021-06-01 11:33:47 +02:00
Lasse Herskind
f835701365 fix: Add coverage call and liquidity mining token test to scripts 2021-06-01 11:33:26 +02:00
Lasse Herskind
2a1ba6ab3d test: Add tests for static aToken with liquidity mining 2021-06-01 11:33:17 +02:00
Lasse Herskind
7376a11c9d feature: vamtoken + attack 2021-06-01 11:33:01 +02:00
eboado
39ce74624b - Added basic flow test of StaticAToken + template of other tests needed 2021-06-01 11:27:48 +02:00
miguelmtzinf
34c9bf209e fix: Fix typo of tenderlyRPC for tenderlyNetwork 2021-05-18 10:40:22 +02:00
miguelmtzinf
329a48cd03 feat: Add defender utils and use of signer 2021-05-17 14:35:21 +02:00
David Racero
2cdfbbbc5d feat: Added support to fork any chain. Added deployment scripts to Github Actions 2021-05-10 15:34:31 +02:00
The3D
12cda094b4 Merge branch 'master' into feat/light-deployments 2021-03-05 13:46:11 +01:00
The3D
7f44a0c242 Removed unused param in struct 2021-03-05 10:36:55 +01:00
The3D
eb9077f25e Refactored interest rate strategies tests 2021-03-01 20:26:08 +01:00
The3D
682a7d13fe Updated tests 2021-02-26 19:18:38 +01:00
Zer0dot
ce7d011e20 Initial setup for BptBALWETH 2021-02-24 17:58:20 -05:00
Zer0dot
b2d344e189 Changed USDCDAI to DAIUSDC to fit pair order 2021-02-24 10:55:52 -05:00
Zer0dot
d41edec1ab Merged feat/lp-market-updated-deployment 2021-02-23 10:59:02 -05:00
Hadrien Charlanes
e3846332db Cleaned up more conf, getParanetwork working now. Added weth Gateway Matic 2021-02-23 15:43:24 +01:00
Hadrien Charlanes
029a349d90 Prepared XDAI configs, updated matic with new LendingPool and LendingPoolConfigurator 2021-02-23 10:01:32 +01:00
Hadrien Charlanes
da2ade5d3b Added Weth gateway contract in config, updated deployment 2021-02-22 17:25:12 +01:00
Zer0dot
b3e14bc033 Fixed MATIC WETHGateway adaptation, uses wMATIC 2021-02-21 20:05:11 -05:00
Zer0dot
ec4df02f84 Fixed tests, moved MOCK_CHAINLING_AGGREGATORS_PRICES to constants.ts 2021-02-21 18:55:27 -05:00
Zer0dot
ebc147866f Fixed tests with new prefixes 2021-02-19 15:50:13 -05:00
Zer0dot
f196a3be7a Added Balancer WBTCWETH. Renamed tokens to show underlying AMM. 2021-02-15 22:50:16 -05:00
Zer0dot
0652b09ffd Slight fixes for tests to run and removed old gas tracker 2021-02-10 19:11:41 -05:00
Zer0dot
d131afb6a0 Fixed test suites to work with new deployment functionality 2021-02-10 18:23:20 -05:00
Zer0dot
4b39c42169 Unoptimized but functional light deployment 2021-02-10 13:52:51 -05:00
Zer0dot
d0a1ea7171 Adapted test suite and added some tests for LP market 2021-02-09 18:14:38 -05:00
Zer0dot
94cdefb2e9 Began implementing lp market specific tests 2021-02-08 23:50:12 -05:00
Zer0dot
0bf9810158 Replaced "Uni" prefix with "Lp" for tokens 2021-02-08 11:24:01 -05:00
Zer0dot
655f9751f7 Replaced "Uniswap" market name & references with "Lp" 2021-02-08 11:05:10 -05:00
Zer0dot
e5274928cc Fix LP market asset mismatch 2021-02-08 10:38:14 -05:00
Zer0dot
01a662680f Separated tests by market. Replace WETH9 symbol with 'UniWETH' to run test-lp. WIP. 2021-02-06 22:10:29 -05:00