curve-contract
curve-contract copied to clipboard
chore: make calc_withdraw_one_coin simulation consistent with _calc_withdraw_one_coin
What I did
Change calc_withdraw_one_coin
in simulation.py to represent the source of truth instead of approximation.
How I did it
Made calc_withdraw_one_coin
in simulation.py to exhibit the same behavior as _calc_withdraw_one_coin
How to verify it
Added test
Ohh very nice
Hmm...not sure what to do about these timeouts. @iamdefinitelyahuman @michwill any tips?
Yeah, idk why timeouts
Seems the new test in tests/pools/common/unitary/test_remove_liquidity_one_coin.py
is timing out when running against certain pools. Does anything weird happen when it runs locally against these pools?
Seems the new test in
tests/pools/common/unitary/test_remove_liquidity_one_coin.py
is timing out when running against certain pools. Does anything weird happen when it runs locally against these pools?
I will give that a try and report back.