Skip to content

Commit c409f34

Browse files
committed
Update types in tests
1 parent 73c8e9b commit c409f34

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cardano-api/test/cardano-api-test/Test/Cardano/Api/Experimental.hs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ import Cardano.Api.Plutus qualified as Script
2222
import Cardano.Api.Tx (Tx (ShelleyTx))
2323

2424
import Cardano.Ledger.Address qualified as L
25-
import Cardano.Ledger.Alonzo.Scripts qualified as UnexportedLedger
2625
import Cardano.Ledger.Api qualified as UnexportedLedger
2726
import Cardano.Ledger.Babbage.TxBody qualified as L
2827
import Cardano.Ledger.Conway qualified as L
2928
import Cardano.Ledger.Core qualified as L
30-
import Cardano.Ledger.Credential qualified as L
3129
import Cardano.Ledger.Mary.Value qualified as Mary
3230
import Cardano.Ledger.Plutus.Data qualified as L
3331
import Cardano.Slotting.EpochInfo qualified as Slotting
@@ -174,13 +172,13 @@ prop_balance_transaction_two_ways = H.propertyOnce $ do
174172

175173
-- Set up the change address used by both the dummy output and the
176174
-- recursive fee calculation, so the serialized output sizes match.
177-
let paymentCredential :: L.PaymentCredential
175+
let paymentCredential :: L.Credential L.Payment
178176
paymentCredential =
179177
L.KeyHashObj $
180178
L.KeyHash
181179
"1c14ee8e58fbcbd48dc7367c95a63fd1d937ba989820015db16ac7e5"
182180

183-
stakingCredential :: L.StakeCredential
181+
stakingCredential :: L.Credential L.Staking
184182
stakingCredential =
185183
L.KeyHashObj $
186184
L.KeyHash

0 commit comments

Comments
 (0)