[CL]: SwapInverseTest errTolerance #4475
Labels
C:x/concentrated-liquidity
F: concentrated-liquidity
Tracking the development of concentrated liquidity feature to improve filtering on the project board
Milestone
Background
Previously for the SwapIn/OutAmtGivenOut/In inverse tests, we checked if the user and pool balances after the swap were EXACTLY the same:
osmosis/x/concentrated-liquidity/swaps_test.go
Lines 2079 to 2083 in 03f2a98
This passed because we weren't actually doing bank sends on the expected method. In a recent PR, bank sends were added, and now this test only passes when adding a error tolerance.
osmosis/x/concentrated-liquidity/swaps_test.go
Lines 2079 to 2087 in bb91cf6
Suggested Design
The text was updated successfully, but these errors were encountered: