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.
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
.