test that proposal thresholds are inclusively checked
This commit is contained in:
parent
f6298ba839
commit
25ae7ce820
2 changed files with 7 additions and 6 deletions
|
|
@ -35,6 +35,7 @@ import Agora.Proposal (
|
|||
ProposalId (ProposalId),
|
||||
ProposalRedeemer (Vote),
|
||||
ProposalStatus (VotingReady),
|
||||
ProposalThresholds (vote),
|
||||
ProposalVotes (ProposalVotes),
|
||||
ResultTag (ResultTag),
|
||||
)
|
||||
|
|
@ -421,7 +422,7 @@ mkValidOwnerVoteBundle stakes =
|
|||
{ numStakes = stakes
|
||||
, stakeInputParameters =
|
||||
StakeInputParameters
|
||||
{ perStakeGTs = 114514
|
||||
{ perStakeGTs = (def :: ProposalThresholds).vote
|
||||
}
|
||||
, stakeOutputParameters =
|
||||
StakeOutputParameters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue