File tree Expand file tree Collapse file tree
test/cardano-api-test/Test/Cardano/Api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -749,7 +749,7 @@ instance IsCardanoEra era => HasTextEnvelope (KeyWitness era) where
749749getTxBodyAndWitnesses :: Tx era -> (TxBody era , [KeyWitness era ])
750750getTxBodyAndWitnesses tx = (getTxBody tx, getTxWitnesses tx)
751751
752- {-# Deprecated Tx "Use getTxBodyAndWitnesses instead." #-}
752+ {-# DEPRECATED Tx "Use getTxBodyAndWitnesses instead." #-}
753753pattern Tx :: TxBody era -> [KeyWitness era ] -> Tx era
754754pattern Tx txbody ws <- (getTxBodyAndWitnesses -> (txbody, ws))
755755 where
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ import Test.Tasty.Hedgehog (testProperty)
2424
2525prop_roundtrip_shelley_address :: Property
2626prop_roundtrip_shelley_address =
27- roundtrip_serialise_address AsShelleyAddress genAddressShelley
27+ roundtrip_serialise_address ( AsAddress AsShelleyAddr ) genAddressShelley
2828
2929prop_roundtrip_byron_address :: Property
3030prop_roundtrip_byron_address =
31- roundtrip_serialise_address AsByronAddress genAddressByron
31+ roundtrip_serialise_address ( AsAddress AsByronAddr ) genAddressByron
3232
3333-- -----------------------------------------------------------------------------
3434
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module Test.Cardano.Api.Bech32
33 )
44where
55
6- import Cardano.Api (AsType (AsShelleyAddress , AsStakeAddress ))
6+ import Cardano.Api (AsType (AsAddress , AsShelleyAddr , AsStakeAddress ))
77
88import Test.Gen.Cardano.Api.Typed (genAddressShelley , genStakeAddress )
99
@@ -13,7 +13,7 @@ import Test.Tasty (TestTree, testGroup)
1313import Test.Tasty.Hedgehog (testProperty )
1414
1515prop_roundtrip_Address_Shelley :: Property
16- prop_roundtrip_Address_Shelley = roundtrip_Bech32 AsShelleyAddress genAddressShelley
16+ prop_roundtrip_Address_Shelley = roundtrip_Bech32 ( AsAddress AsShelleyAddr ) genAddressShelley
1717
1818prop_roundtrip_StakeAddress :: Property
1919prop_roundtrip_StakeAddress = roundtrip_Bech32 AsStakeAddress genStakeAddress
Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ import Test.Tasty.Hedgehog (testProperty)
2323
2424prop_roundtrip_shelley_address_raw :: Property
2525prop_roundtrip_shelley_address_raw =
26- roundtrip_raw_bytes AsShelleyAddress genAddressShelley
26+ roundtrip_raw_bytes ( AsAddress AsShelleyAddr ) genAddressShelley
2727
2828prop_roundtrip_byron_address_raw :: Property
2929prop_roundtrip_byron_address_raw =
30- roundtrip_raw_bytes AsByronAddress genAddressByron
30+ roundtrip_raw_bytes ( AsAddress AsByronAddr ) genAddressByron
3131
3232prop_roundtrip_stake_address_raw :: Property
3333prop_roundtrip_stake_address_raw =
You can’t perform that action at this time.
0 commit comments