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 #684 Also fixed some clippy errors