apply Emily's suggestions

* Comment on `validateOutputLocks`
* Assertion message rewording
* Some comment rewording
* Fix Typos
* Correct `PShow` instances, derive as much we can
* Remove redundant checks
This commit is contained in:
Hongrui Fang 2022-07-13 01:47:15 +08:00
parent 3c35e610a5
commit 0b55cefd3b
6 changed files with 63 additions and 66 deletions

View file

@ -74,7 +74,8 @@ data GovernorDatum = GovernorDatum
, createProposalTimeRangeMaxWidth :: MaxTimeRangeWidth
-- ^ The maximum valid duration of a transaction that creats a proposal.
, maximumProposalsPerStake :: Integer
-- ^ The maximum number of *alive* proposals which were careated by a stake.
-- ^ The maximum number of unfinished proposals that a stake is allowed to be
-- associated to.
}
deriving stock (Show, GHC.Generic)