Skip to content

Commit 3ff0c00

Browse files
committed
Fixup Level
1 parent 25caf3f commit 3ff0c00

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

cardano-chain-gen/src/Cardano/Mock/Forging/Tx/Alonzo.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ emptyTx =
449449
, atAuxData = maybeToStrictMaybe Nothing
450450
}
451451

452-
mkDummyTxWithSlot :: SlotNo -> Core.Tx AlonzoEra
452+
mkDummyTxWithSlot :: SlotNo -> Core.Tx Core.TopTx AlonzoEra
453453
mkDummyTxWithSlot slot =
454454
MkAlonzoTx $
455455
AlonzoTx
@@ -475,9 +475,9 @@ mkDummyTxWithSlot slot =
475475

476476
mkAuxDataTx ::
477477
Bool ->
478-
TxBody AlonzoEra ->
478+
TxBody Core.TopTx AlonzoEra ->
479479
Map Word64 Metadatum ->
480-
Core.Tx AlonzoEra
480+
Core.Tx Core.TopTx AlonzoEra
481481
mkAuxDataTx isValid' txBody auxData =
482482
MkAlonzoTx $
483483
AlonzoTx

cardano-chain-gen/src/Cardano/Mock/Forging/Tx/Babbage.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ emptyTx =
504504
, atAuxData = maybeToStrictMaybe Nothing
505505
}
506506

507-
mkDummyTxWithSlot :: SlotNo -> Core.Tx BabbageEra
507+
mkDummyTxWithSlot :: SlotNo -> Core.Tx Core.TopTx BabbageEra
508508
mkDummyTxWithSlot slot =
509509
MkBabbageTx $
510510
AlonzoTx
@@ -533,9 +533,9 @@ mkDummyTxWithSlot slot =
533533

534534
mkAuxDataTx ::
535535
Bool ->
536-
TxBody BabbageEra ->
536+
TxBody Core.TopTx BabbageEra ->
537537
Map Word64 Metadatum ->
538-
Core.Tx BabbageEra
538+
Core.Tx Core.TopTx BabbageEra
539539
mkAuxDataTx isValid' txBody auxData =
540540
MkBabbageTx $
541541
AlonzoTx
@@ -545,7 +545,7 @@ mkAuxDataTx isValid' txBody auxData =
545545
, atAuxData = Strict.SJust (Alonzo.mkAlonzoTxAuxData auxData [])
546546
}
547547

548-
mkParamUpdateTx :: Either ForgingError (Core.Tx BabbageEra)
548+
mkParamUpdateTx :: Either ForgingError (Core.Tx Core.TopTx BabbageEra)
549549
mkParamUpdateTx = Right (mkSimpleTx True txBody)
550550
where
551551
txBody =

cardano-chain-gen/src/Cardano/Mock/Forging/Tx/Conway.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ mkDummyTxBody =
653653

654654
-- | Create a dummy tx with a unique validity interval based on the slot.
655655
-- This ensures a unique tx body hash for each slot.
656-
mkDummyTxWithSlot :: SlotNo -> Core.Tx ConwayEra
656+
mkDummyTxWithSlot :: SlotNo -> Core.Tx Core.TopTx ConwayEra
657657
mkDummyTxWithSlot slot =
658658
MkConwayTx $
659659
AlonzoTx

cardano-chain-gen/src/Cardano/Mock/Forging/Tx/Shelley.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,15 @@ consTxBody ins outs fees certs wdrl =
114114

115115
-- | Create a dummy tx with a unique TTL based on the slot.
116116
-- This ensures a unique tx body hash for each slot.
117-
mkDummyTxWithSlot :: SlotNo -> Core.Tx ShelleyEra
117+
mkDummyTxWithSlot :: SlotNo -> Core.Tx Core.TopTx ShelleyEra
118118
mkDummyTxWithSlot slot =
119119
ShelleyTx.MkShelleyTx $
120120
ShelleyTx.ShelleyTx
121121
( ShelleyTxBody
122122
mempty
123123
mempty
124124
mempty
125-
(Withdrawals mempty)
125+
(Core.Withdrawals mempty)
126126
(Coin 0)
127127
slot
128128
Strict.SNothing

0 commit comments

Comments
 (0)