ethereum / clrfund

Eth2 CLR project built on clr.fund
https://eth2clrfund.netlify.app/
GNU General Public License v3.0
32 stars 17 forks source link

Contribution with zero values like `0.0` #469

Closed pettinarip closed 2 years ago

pettinarip commented 2 years ago

On the contribution form, 0.0 is throwing a validation error. It should be accepted as 0 when submitted.

samajammin commented 2 years ago

I don't think either 0.0 or 0 should be accepted in the initial contribution. Is there any advantage to this? Seems like it would just create additional messages in MACI with no purpose.

Can confirm 0.0 or .00 already shows invalid: Image 2021-12-13 at 2 13 36 PM

But 0 displays as valid: Image 2021-12-13 at 2 13 43 PM