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

Test/fluid strategy #70

Merged
merged 49 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
c9a9b60
Added base test script and setup
arcantheon Nov 19, 2024
697483d
Updated interface
arcantheon Nov 19, 2024
cf451f1
Added a sample test
arcantheon Nov 19, 2024
a4a792f
Merge branch 'feat/fluidStrategy' into test/fluidStrategy
arcantheon Nov 19, 2024
f9411f2
Fixed the precision error
arcantheon Nov 19, 2024
e8b88a4
Merge branch 'feat/fluidStrategy' into test/fluidStrategy
arcantheon Nov 20, 2024
2d49ac1
Merge branch 'feat/fluidStrategy' into test/fluidStrategy
arcantheon Nov 21, 2024
495074f
Removed unused functions from the interface
arcantheon Nov 21, 2024
44cd6d5
Merge branch 'feat/fluidStrategy' into test/fluidStrategy
arcantheon Nov 21, 2024
05fa9a6
fix(package): update forge-coverage script and dependencies
bayou020 Nov 22, 2024
88207fe
feat(config): add RPC endpoint for Arbitrum and ensure cache path is …
bayou020 Nov 22, 2024
b85b9f6
fix(test): simplify Arbitrum fork setup by combining creation and sel…
bayou020 Nov 22, 2024
8cb9f8a
Test(FluidStrategy): 93.2% of lines, 100% of the functions covered
bayou020 Nov 22, 2024
07db1c8
fix(test): format spacing in FluidStrategy test for consistency
bayou020 Nov 22, 2024
1aedfb6
fix(test): improve test coverage for FluidStrategy by adding missing …
bayou020 Nov 22, 2024
c846633
fix(test): rename variables for clarity and improve revert messages i…
bayou020 Nov 25, 2024
6dcaaed
fix(test): rename test function for clarity in FluidStrategy tests
bayou020 Nov 25, 2024
b55f300
Fixed aave strategy's test cases
arcantheon Nov 25, 2024
6c2def8
Revert "Fixed aave strategy's test cases"
arcantheon Nov 25, 2024
ed2592d
Merge branch 'feat/fluidStrategy' into test/fluidStrategy
arcantheon Nov 29, 2024
ad4a3e9
Fixed test case to support interface name change
arcantheon Nov 29, 2024
ccd4155
Fixed failing test cases
arcantheon Dec 3, 2024
12fc2fb
Merge branch 'feat/fluidStrategy' into test/fluidStrategy
arcantheon Dec 3, 2024
4932bc6
Fixed failing test case (testFuzz_deposit)
arcantheon Dec 4, 2024
deaf13c
Revert "Fixed failing test case (testFuzz_deposit)"
arcantheon Dec 4, 2024
24fdc4b
Updated slippage and it's comment to 4%
arcantheon Dec 4, 2024
1185360
Added test for the new condition in deposit
arcantheon Dec 4, 2024
93dbc96
feat(Deposit and Withdraw): Added slippage checks
arcantheon Dec 5, 2024
89600cc
Revert "feat(Deposit and Withdraw): Added slippage checks"
arcantheon Dec 5, 2024
2b85f62
Merge branch 'feat/fluidStrategy' into test/fluidStrategy
arcantheon Dec 5, 2024
90ae7d7
Fixed failing test
arcantheon Dec 5, 2024
24535f3
Reverted the change to create fork
arcantheon Dec 5, 2024
62104c6
test(FluidStrategy): Enhance tests for deposit and withdrawal slippag…
bayou020 Dec 5, 2024
d893c36
test(WithdrawTest): Fix formatting and enhance revert checks for with…
bayou020 Dec 5, 2024
f027d61
Added back createSelectFork function
arcantheon Dec 5, 2024
ef4bafb
Merge branch 'test/fluidStrategy' of github.com:Sperax/USDs-v2 into t…
arcantheon Dec 5, 2024
fd6c937
fix(package.json): update forge-coverage script to handle additional …
bayou020 Dec 9, 2024
be8da37
docs(foundry.toml): Added comment for explicit evm version declaration
arcantheon Dec 9, 2024
5dde98c
Merge branch 'test/fluidStrategy' of github.com:Sperax/USDs-v2 into t…
arcantheon Dec 9, 2024
c0c60b6
feat(BaseTest): add COLLATERAL_MANAGER address to contract initializa…
bayou020 Dec 9, 2024
98cbde5
feat(FluidStrategyTest): implement collateral strategy allocation and…
bayou020 Dec 9, 2024
5440fcb
chore(.gitignore): add gambit_out for mutation testing and ensure .DS…
bayou020 Dec 12, 2024
05fe7c0
refactor(FluidStrategyTest): reorganize tests, update withdraw slippa…
bayou020 Dec 12, 2024
1b5698a
Added simulation script for fluid strategy
arcantheon Dec 13, 2024
7ac34f4
Fixed forking issue
arcantheon Dec 14, 2024
c8d79fc
chore(.gitignore): add testLogs to ignore list for cleaner mutation t…
bayou020 Dec 14, 2024
517ec48
Merge remote-tracking branch 'refs/remotes/origin/test/fluidStrategy'…
bayou020 Dec 14, 2024
d59929d
fix(foundry.toml): remove unused rpc_endpoints section
bayou020 Dec 16, 2024
10f8a12
fix(foundry.toml): add rpc_endpoints section for Arbitrum
bayou020 Dec 16, 2024
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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ reports
deployed/arbitrum-main-fork
__pycache__
lcov.info
.DS_Store
.DS_Store

# mutation testing
gambit_out
testLogs
5 changes: 4 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ out = 'out'
build_info = true
build_info_path = 'out/build-info'
solc_version = "0.8.19"
evm_version = 'cancun' # Some of the test cases failing on AaveStrategy's test cases are working fine by explicitly mentioning this.

libs = ['node_modules', 'lib']
test = 'test'
cache_path = 'cache_forge'
cache_path = 'cache_forge'
[rpc_endpoints]
parv3213 marked this conversation as resolved.
Show resolved Hide resolved
arbitrum = 'https://arb1.arbitrum.io/rpc'
Loading
Loading