poanetwork / token-wizard

(Discontinued) TokenWizard is an DApp to create and manage crowdsale and token contracts using a simple UI
MIT License
386 stars 215 forks source link

(Fix) Validate query strings #951

Closed fernandomg closed 6 years ago

fernandomg commented 6 years ago

Closes #944

If exec-id or networkID are not properly formatted, user will get an alert popup giving feedback about the issue.

If exec-id has a valid format but it's not a valid exec-id address, no alert popup will be displayed, but an error will be logged in console. I left it as is because it will require app flow refactor, and I think it's better to do it in a separate PR.

@dennis00010011b it may affect e2e tests, as now alerts will be displayed if there's an error when loading contribute or crowdsale pages.