Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development fix dao proposal veto #865

Merged
merged 3 commits into from
Sep 14, 2023

Conversation

renauter
Copy link
Collaborator

Description

A duplicate veto from a council member should not be allowed.
Make sure this can not happen by sending appropriate error message in veto() call if a veto from such council member is already registered.

Related Issues:

@renauter renauter marked this pull request as ready for review September 14, 2023 14:11
@@ -170,6 +170,7 @@ pub mod pallet {
ProposalMissing,
WrongIndex,
DuplicateVote,
DuplicateVeto,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also update the error list in the go client?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to do this but after I realized it is not needed since there is no pallet-dao call available in go client
correct me if I am wrong

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True! Let's not add it then

Copy link
Contributor

@brandonpille brandonpille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@renauter renauter merged commit 771eaac into development Sep 14, 2023
2 checks passed
@renauter renauter deleted the development_fix_dao_proposal_veto branch September 14, 2023 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix DAO proposal for farmers veto
2 participants