test that govenor will reject fake stakes

This commit is contained in:
Hongrui Fang 2022-11-02 00:12:56 +08:00
parent 7f80db7af5
commit 996797995a
3 changed files with 80 additions and 16 deletions

View file

@ -334,9 +334,7 @@ validateProposalStartingTime ::
validateProposalStartingTime = phoistAcyclic $
plam $ \(pto -> maxDuration) iv (pto -> st) ->
pmaybe
# ptrace
"validateProposalStartingTime: unable to get current time"
(pconstant False)
# pconstant False
# plam
( \ct ->
let duration = pcurrentTimeDuration # ct