Skip to content

Commit

Permalink
test: making withdrawal more restricted
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoCentonze committed Jun 3, 2024
1 parent a4afb5d commit 9856e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unitary/pool/stateful/test_stateful.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def remove_liquidity_one_coin_rule(self, data, coin_idx: int):
depositor_ratio = depositor_balance / lp_supply

# TODO check these two conditions
max_withdraw = 0.5 if depositor_ratio > 0.25 else 1
max_withdraw = 0.3 if depositor_ratio > 0.25 else 1

min_withdraw = 0.1 if depositor_balance >= 1e13 else 0.01

Expand Down

0 comments on commit 9856e82

Please sign in to comment.