issues
search
hychen
/
submoloch
The Polkadot version of MolochDAO
Apache License 2.0
0
stars
0
forks
source link
test: submit_vote
#26
Open
hychen
opened
3 years ago
hychen
commented
3 years ago
[ ] happy case - yes vote.
[ ] happy case - no vote.
[ ] require fail - proposal does not exist.
[ ] require fail - vote must be less than 3.
[ ] require fail - voting period has not started.
[ ] voting period boundary.
[ ] require fail - voting period has expired.
[ ] success - vote 1 period before voting period expires.
[ ] require fail - member has already voted.
[ ] require fail - vote must be yes or no.
[ ] modifier - delegate.
[ ] submitVote modifying member.highestIndexYesVote.
[ ] require fail - voting period not starting yet.
[ ] happy case - yes vote, highestIndexYesVote is updated.
[ ] happy case - no vote, highestIndexYesVote not updated.