add NoFieldSelectors flag globally

This commit is contained in:
Emily Martins 2022-09-16 16:08:33 +02:00 committed by emiflake
parent 052f20334d
commit 9e3521dcb4
12 changed files with 54 additions and 57 deletions

View file

@ -245,12 +245,12 @@ mkProposalDatumPair params pid =
mkInputVotes Creator _ =
ProposalVotes $
StrictMap.adjust (const 1000) defVoteFor $
getProposalVotes votesTemplate
votesTemplate.getProposalVotes
mkInputVotes Irrelevant _ = votesTemplate
mkInputVotes _ vc =
ProposalVotes $
StrictMap.adjust (const vc) defVoteFor $
getProposalVotes votesTemplate
votesTemplate.getProposalVotes
-- | Create a 'TxInfo' that tries to unlock a stake.
unlockStake :: forall b. CombinableBuilder b => Parameters -> b