protofire / omen-exchange

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

Fix: bigNumberToString fn also return <0.001 #2215

Closed Frankaus closed 2 years ago

Frankaus commented 2 years ago

closes #2214

Testing After merging #2169 you can test this feature in the Set Outcome stage of the market bond component in the Potential Fee entry row having <0.001 while other entries in market buy still show <0.01

Mi-Lan commented 2 years ago

Screenshot 2021-08-26 at 17 52 22

@Frankaus Im getting this error. Please test pr-s first its like this on main page or did I do something wrong?

Mi-Lan commented 2 years ago

@hexyls Hey men would be good if you have time to take a look I added tests also and it should act as expected...But haven't dwelled that much how it looks on components themselves or if it has some issues. But should work in theory...