File tree 3 files changed +3
-3
lines changed
bench/tx-generator/src/Cardano
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ mkGenesisTransaction :: forall era .
85
85
-> [TxOut CtxTx era ]
86
86
-> Tx era
87
87
mkGenesisTransaction key ttl fee txins txouts
88
- = case makeTransactionBody txBodyContent of
88
+ = case createAndValidateTransactionBody txBodyContent of
89
89
Right b -> signShelleyTransaction b [WitnessGenesisUTxOKey key]
90
90
Left err -> error $ show err
91
91
where
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ metadataSize :: forall era . IsShelleyBasedEra era => AsType era -> Maybe TxMeta
101
101
metadataSize p m = dummyTxSize p m - dummyTxSize p Nothing
102
102
103
103
dummyTxSizeInEra :: forall era . IsShelleyBasedEra era => TxMetadataInEra era -> Int
104
- dummyTxSizeInEra metadata = case makeTransactionBody dummyTx of
104
+ dummyTxSizeInEra metadata = case createAndValidateTransactionBody dummyTx of
105
105
Right b -> BS. length $ serialiseToCBOR b
106
106
Left err -> error $ " metaDataSize " ++ show err
107
107
where
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ genTx :: forall era. IsShelleyBasedEra era =>
75
75
-> TxMetadataInEra era
76
76
-> TxGenerator era
77
77
genTx protocolParameters (collateral, collFunds) fee metadata inFunds outputs
78
- = case makeTransactionBody txBodyContent of
78
+ = case createAndValidateTransactionBody txBodyContent of
79
79
Left err -> Left $ show err
80
80
Right b -> Right ( signShelleyTransaction b $ map WitnessPaymentKey allKeys
81
81
, getTxId b
You can’t perform that action at this time.
0 commit comments