governance-ui
governance-ui copied to clipboard
Bespoke DAO wizard: Invalid character error when fractional min tokens to create governance is used
Summary
Fractional value for min tokens to create governance causes error
Example
88.88 min tokens to create governance causes error
Error
I'll work on this @SebastianBor Please assign this to me (:
@SebastianBor
we use bn.js library in our project, specifically here, the genesis of the aforementioned error.
From the documentation:- Note: decimals are not supported in this library.
So, correct me if I am wrong but rounding off the value of token to the nearest possible integer is the only way to fix this error right?
@SebastianBor Is this issue still open or any PR made for this, if not I can look into it