fix: better support decimal overflow (#2075)
* better support decimal overflow * improve tests * explicitly define num digits in toSignificant * add tests for 0 decimals * undo change to tryParseAmount and instead compute price without relying on parse * remove console log and add test * removed comment * addressed pr feedback * improve parsing logic * addressed pr feedback
Showing
Please register or sign in to comment