Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
87e4b23
Sync aave leverage module from inside the contract
Mar 11, 2022
7f62fff
Add IAaveLeverageModule interface
Mar 11, 2022
616d639
Parameterize integration test to be run both for Eth2x and iEth
Mar 11, 2022
5f596da
Change calculation of eth to spend per test case
Mar 11, 2022
0aa6695
Reduce min amount out in test
Mar 11, 2022
bee2920
Add curve contract interfaces
Mar 16, 2022
32e6b9a
Implementation of swapExactTokensForTokensCurve
Mar 16, 2022
f9c2788
refactor integration test to have different exchanges for different sets
Mar 16, 2022
3695d4a
Merge remote-tracking branch 'upstream/master' into christian/leverag…
Mar 16, 2022
3f784fe
Add implementation of exact output swap on curve
Mar 17, 2022
cde5ad3
Collect integration tests meant to be run on polygon fork in one dire…
Mar 17, 2022
77fb2b9
Add ethereum integration test skeleton
Mar 17, 2022
80aed60
Increase pinned block number for eth mainnet fork
Mar 17, 2022
2f686c4
Test curve swap methods
Mar 18, 2022
8c019ad
Extend tests of curve integration
Mar 18, 2022
f262cc2
Test failing when trying to do two exact output swaps
Mar 18, 2022
518ea2c
Reset to snapshot to avoid failure on second exactOutput swap
Mar 18, 2022
b7bbc32
Move exchange selection to swapData
Mar 18, 2022
ef68af8
More tweeking of integration tests
Mar 18, 2022
e6d45cb
Fix unittests
Mar 20, 2022
e052059
Fix linter errors in integrationtest
Mar 20, 2022
b1dc4e3
Add ethereum integration test to circleci workflow
Mar 20, 2022
e142783
Add staging addresses to integration test
Mar 20, 2022
4700e31
Fix wrong path in polygon integration test
Mar 20, 2022
1feec8c
Remove snapshot resets from polygon integration tests
Mar 20, 2022
8b814a1
Approve icEth token in integrationtest
Mar 20, 2022
9a4d326
Add attempt issuance with collateral token to ethereum integration test
Mar 20, 2022
4553a6c
Log statements to illustrate aave issue
Mar 20, 2022
451e9f6
First working test case for icEth issuance from stEth
Mar 22, 2022
eca4b92
Add test case issuing from weth
Mar 22, 2022
8a36fa2
Add rounding margin to calculated amount in to avoid curve error of n…
Mar 22, 2022
ea7a187
Remove debug logs
Mar 22, 2022
a9b156a
Add redemption to integration tests
Mar 22, 2022
63c2639
Double rounding error margin when transfering out underlying of colla…
Mar 22, 2022
cdc73c7
Add ETH testcases
Mar 22, 2022
73b7e52
Convert DEXAdapter to linked library
Mar 23, 2022
03bfcd9
Remove unlimitedContractSize flag
Mar 23, 2022
66a1090
Fix unittests
Mar 24, 2022
e9ba9a0
TODO comment to review if we want to keep isSetToken
Mar 24, 2022
7ea3607
Various cleanups in DEXAdapter contract code
Mar 24, 2022
1e05f87
Remove isSetToken modifier
Mar 24, 2022
0240772
Remove TODO comments
Mar 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,29 @@ jobs:
name: Hardhat Test
command: yarn test:integration:polygon

test_integration_ethereum:
docker:
- image: cimg/node:lts
working_directory: ~/index-coop-smart-contracts
steps:
- setup_remote_docker:
docker_layer_caching: false
- run:
name: Fetch solc version
command: docker pull ethereum/solc:0.6.10
- restore_cache:
key: compiled-env-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Set Up Environment Variables
command: cp .env.default .env
- run:
name: Test RPC
command: yarn chain:fork:ethereum
background: true
- run:
name: Hardhat Test
command: yarn test:integration:ethereum

coverage:
docker:
- image: cimg/node:lts
Expand Down Expand Up @@ -202,6 +225,9 @@ workflows:
- test_forked_network:
requires:
- checkout_and_compile
- test_integration_ethereum:
requires:
- checkout_and_compile
- test_integration_polygon:
requires:
- checkout_and_compile
Expand Down
Loading