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

Voting power limits for dao-voting-native-staked #746

Open
wants to merge 5 commits into
base: development
Choose a base branch
from

Conversation

ismellike
Copy link
Contributor

Added 2 new macros for limitable voting modules
Added an error for LimitExceeded when attempting to stake more than allowed Added test case for limits
Solution is optimistic hence the map instead of snapshotmap for limits, so reducing limit after a user has already staked will not be affected #684 Also fixed some clippy errors

Added 2 new macros for limitable voting modules
Added an error for LimitExceeded when attempting to stake more than allowed
Added test case for limits
Solution is optimistic hence the map instead of snapshotmap for limits, so reducing limit after a user has already staked will not be affected DA0-DA0#684
Also fixed some clippy errors
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.

None yet

2 participants