divaprotocol / diva-monorepo

Diva Monorepo
https://diva.finance
4 stars 4 forks source link

Fill offer: shows error "Entered amount exceeds remaining amount" due to rounding? #725

Closed Walodja1987 closed 1 year ago

Walodja1987 commented 1 year ago

Context

After filling an offer partially, it seems that the amount pre-filled in the input field is larger than the actual amount remaining hence triggering the error message "Entered amount exceeds remaining amount".

Example offer (only works as long as it's not expired): https://app.diva.finance/offer/0xe24a3695cacbb370696d65b9051c4d21bf2749893122b38fbf678b4e16e86b76

image

Steps to reproduce

  1. Create an offer
  2. Partially fill that offer
  3. Observe the described issue
Walodja1987 commented 1 year ago

Resolved