Skip to content

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

Open
ismellike wants to merge 5 commits into
DA0-DA0:developmentfrom
Arena-DAO:voting-power-limits
Open

Voting power limits for dao-voting-native-staked#746
ismellike wants to merge 5 commits into
DA0-DA0:developmentfrom
Arena-DAO:voting-power-limits

Conversation

@ismellike

Copy link
Copy Markdown
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
Comment thread contracts/voting/dao-voting-native-staked/src/contract.rs Outdated
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.

2 participants