fix tests for cosigning

This commit is contained in:
Hongrui Fang 2022-10-06 20:10:59 +08:00
parent c65bf3e6d2
commit e762db8d18
7 changed files with 320 additions and 194 deletions

View file

@ -93,7 +93,7 @@ validGovernorOutputDatum =
}
invalidProposalThresholds :: ProposalThresholds
invalidProposalThresholds = ProposalThresholds (-1) (-1) (-1) (-1)
invalidProposalThresholds = ProposalThresholds (-1) (-1) (-1) (-1) (-1)
invalidMaxTimeRangeWidth :: MaxTimeRangeWidth
invalidMaxTimeRangeWidth = MaxTimeRangeWidth 0

View file

@ -122,6 +122,7 @@ mkGovernorOutputDatum ValueInvalid =
, create = -1
, toVoting = -1
, vote = -1
, cosign = -1
}
in Just $
toData $