Skip to content

Commit

Permalink
PLT-4168 Increased coverage of merkleization in validator tests.
Browse files Browse the repository at this point in the history
This addresses the following audit finding:

> File Spec/Marlowe/Semantics/Functions.hs, Missing
> merkleization tests The properties in this module
> do not seem to be tested with merkleized contracts
> or inputs except for checkGetContinuation, and
> they probably should.
  • Loading branch information
bwbush committed Mar 15, 2023
1 parent 0bf75ac commit 8f8183d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions marlowe-test/src/Spec/Marlowe/Plutus/Specification.hs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ tests referencePaths =
[
testGroup "Valid transaction succeeds"
[
testProperty "Noiseless" $ checkSemanticsTransaction referencePaths noModify noModify noVeto True False
, testProperty "Noisy" $ checkSemanticsTransaction referencePaths noModify noModify noVeto True True
testProperty "Noiseless" $ checkSemanticsTransaction referencePaths noModify noModify noVeto True False True
, testProperty "Noisy" $ checkSemanticsTransaction referencePaths noModify noModify noVeto True True True
]
, testGroup "Constraint 1. Typed validation"
[
Expand Down

0 comments on commit 8f8183d

Please sign in to comment.