improve performance of the governor validator
This commit is contained in:
parent
5540f2d843
commit
e22bdc59fb
13 changed files with 166 additions and 319 deletions
|
|
@ -260,6 +260,4 @@ governorDatumValid = phoistAcyclic $
|
|||
[ ptraceIfFalse "Execute threshold is less than or equal to" $ 0 #<= execute
|
||||
, ptraceIfFalse "Draft threshold is less than or equal to " $ 0 #<= draft
|
||||
, ptraceIfFalse "Vote threshold is less than or equal to " $ 0 #<= vote
|
||||
, ptraceIfFalse "Draft threshold is less than vote threshold" $ draft #<= vote
|
||||
, ptraceIfFalse "Execute threshold is less than vote threshold" $ vote #< execute
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue