check minimum stake amount while voting
This commit is contained in:
parent
1b3ec260a3
commit
270c984f8d
10 changed files with 88 additions and 49 deletions
|
|
@ -176,6 +176,14 @@ specs =
|
|||
"attempt to burn stakes"
|
||||
Vote.destroyStakes
|
||||
(Vote.Validity True False)
|
||||
, Vote.mkTestTree
|
||||
"insufficient staked amount"
|
||||
Vote.insufficientAmount
|
||||
(Vote.Validity False True)
|
||||
, Vote.mkTestTree
|
||||
"insufficient staked amount"
|
||||
Vote.insufficientAmount1
|
||||
(Vote.Validity False True)
|
||||
]
|
||||
]
|
||||
, group
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue