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

@ -128,7 +128,7 @@ mkProposalOutputDatum ps =
mkStakeInputDatums :: Parameters -> [StakeDatum]
mkStakeInputDatums =
fmap (\pk -> StakeDatum perStakedGTs pk Nothing [])
. newCosigners
. (.newCosigners)
-- | Create a 'TxInfo' that tries to cosign a proposal with new cosigners.
cosign :: forall b. CombinableBuilder b => Parameters -> b
@ -231,7 +231,7 @@ mkStakeRef idx =
-- | Create a proposal redeemer which cosigns with the new cosginers.
mkProposalRedeemer :: Parameters -> ProposalRedeemer
mkProposalRedeemer = Cosign . sort . newCosigners
mkProposalRedeemer = Cosign . sort . (.newCosigners)
---