openlawteam / tribute-ui

Tribute - A modular DAO framework developed and coordinated by its members
https://demo.tributedao.com
Apache License 2.0
46 stars 40 forks source link

Validate off-chain vote result node before signing and submitting the merkle root #447

Closed jtrein closed 3 years ago

jtrein commented 3 years ago

This is a part of Sprint 6: Tribute DAO/Muse0 Cleanup.

In order to limit the signing and submitting of bad vote results to Snapshot Hub, before submitting a vote result, we should validate the result before we request a signature of the merkle root and show a descriptive error message if there is any problem.

Use getBadNodeError.