protofire / omen-exchange

Omen exchange
https://omen.eth.link/
GNU Affero General Public License v3.0
65 stars 77 forks source link

Withdraw Modal is not ignoring dust amounts of Omen Account asset balances #2228

Open pimato opened 2 years ago

pimato commented 2 years ago

Describe the task that needs to be done It seems like we are not ignoring dust amounts in the Omen Account. This is related to: https://github.com/protofire/omen-exchange/issues/2226 . With not ignoring dust amounts we are having issues like this:

https://user-images.githubusercontent.com/5337809/131327415-08bf96ae-a974-4565-98b5-817c6bf5a23f.mov

Describe how you have considered doing it Create a dust checker function.

Describe how do you expect to test the task resolution