metaDAOproject / meta-dao-frontend

https://app.themetadao.org
Other
16 stars 16 forks source link

Bug in Rounding for Small Units OpenBook #76

Closed R-K-H closed 2 months ago

R-K-H commented 2 months ago

There's a rounding issue in the SDK logic as well as on our end. We'll need to either upgrade / update the SDK or adjust our implementation.

See: https://github.com/openbook-dex/openbook-v2/commit/d7d909c876e161d0a2bed9678c3dc5b9d0d430fb

Regardless we need to update this. So this is a priority for current UI and maybe solves quite a bit of other downstream issues for validation which I had to work around.

Image