issues
search
hychen
/
submoloch
The Polkadot version of MolochDAO
Apache License 2.0
0
stars
0
forks
source link
test: constructor
#20
Closed
hychen
closed
3 years ago
hychen
commented
3 years ago
[x] verify deployment parameters.
[x] require fail - summoner can not be zero address.
[x] require fail - period duration can not be zero.
[x] require fail - voting period can not be zero.
[x] require fail - voting period exceeds limit.
[x] require fail - grace period exceeds limit.
[x] require fail - dilution bound can not be zero.
[x] require fail - dilution bound exceeds limit.
[x] require fail - need at least one approved token.
[x] require fail - too many tokens.
[x] require fail - deposit cannot be smaller than processing reward.
[x] require fail - approved token cannot be zero.
[x] require fail - duplicate approved token.