Added review changes

This commit is contained in:
Jack Hodgkinson 2022-05-06 10:36:21 +01:00
parent 6aa4ed732a
commit 7572bb4da2
5 changed files with 85 additions and 115 deletions

View file

@ -45,11 +45,15 @@ import Plutus.V1.Ledger.Scripts (
ValidatorHash (ValidatorHash),
)
import Plutus.V1.Ledger.Value qualified as Value
-- BadTreasuryRedeemer (NukeTheSystem),
import Spec.Sample.Shared (
trCredential,
)
import Spec.Sample.Treasury (
-- BadTreasuryRedeemer (NukeTheSystem),
gatCs,
gatTn,
trCredential,
treasuryRef,
validCtx,
walletIn,
@ -104,14 +108,7 @@ tests =
StakingHash trCredential
}
]
, -- , validatorFailsWith -- TODO: Check.
-- "Fails with invalid redeemer"
-- (treasuryValidator gatCs)
-- ()
-- (NukeTheSystem 72)
-- validCtx
validatorFailsWith -- TODO: Use QuickCheck.
, validatorFailsWith -- TODO: Use QuickCheck.
"Fails when multiple GATs burned"
(treasuryValidator gatCs)
()