Skip to content

Commit

Permalink
Add CBOR roundtrip property for ScriptData
Browse files Browse the repository at this point in the history
  • Loading branch information
sorki authored and newhoggy committed Mar 28, 2023
1 parent fe7227d commit e23004f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cardano-api/test/Test/Cardano/Api/Typed/CBOR.hs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ prop_roundtrip_script_PlutusScriptV2_CBOR =
roundtrip_CBOR (AsScript AsPlutusScriptV2)
(genScript (PlutusScriptLanguage PlutusScriptV2))

prop_roundtrip_ScriptData_CBOR :: Property
prop_roundtrip_ScriptData_CBOR =
roundtrip_CBOR AsScriptData genScriptData

prop_roundtrip_UpdateProposal_CBOR :: Property
prop_roundtrip_UpdateProposal_CBOR =
roundtrip_CBOR AsUpdateProposal genUpdateProposal
Expand Down

0 comments on commit e23004f

Please sign in to comment.