@@ -675,7 +675,7 @@ runTransactionBuildRawCmd
675675 )
676676 | (CertificateFile certFile, mSwit) <- certFilesAndMaybeScriptWits
677677 ]
678- txBody <-
678+ txBody :: Exp. UnsignedTx era <-
679679 fromEitherCli $
680680 runTxBuildRaw
681681 mScriptValidity
@@ -700,7 +700,10 @@ runTransactionBuildRawCmd
700700 proposals
701701 currentTreasuryValueAndDonation
702702
703- let noWitTx = makeSignedTransaction [] txBody
703+ let Exp. SignedTx tx = Exp. signTx eon [] [] txBody
704+ -- TODO: Create equivalent write text envelope functions for
705+ -- SignedTx
706+ noWitTx = ShelleyTx (convert eon) tx
704707 fromEitherIOCli $
705708 if isCborOutCanonical == TxCborCanonical
706709 then writeTxFileTextEnvelopeCanonical (convert Exp. useEra) txBodyOutFile noWitTx
@@ -741,7 +744,7 @@ runTxBuildRaw
741744 -> [(VotingProcedures era , Maybe (VoteScriptWitness era ))]
742745 -> [(Proposal era , Maybe (ProposalScriptWitness era ))]
743746 -> Maybe (TxCurrentTreasuryValue , TxTreasuryDonation )
744- -> Either TxCmdError (TxBody era )
747+ -> Either TxCmdError (Exp. UnsignedTx era )
745748runTxBuildRaw
746749 mScriptValidity
747750 inputsAndMaybeScriptWits
@@ -764,8 +767,6 @@ runTxBuildRaw
764767 votingProcedures
765768 proposals
766769 mCurrentTreasuryValueAndDonation = do
767- let sbe = convert Exp. useEra
768- -- pp =
769770 txBodyContent <-
770771 constructTxBodyContent
771772 mScriptValidity
@@ -790,7 +791,7 @@ runTxBuildRaw
790791 proposals
791792 mCurrentTreasuryValueAndDonation
792793
793- first TxCmdTxBodyError $ createTransactionBody sbe txBodyContent
794+ first TxCmdTxBodyError $ Exp. makeUnsignedTx Exp. useEra txBodyContent
794795
795796constructTxBodyContent
796797 :: forall era
0 commit comments