tx-generator: Merge reusable code with Cardano.API.IPC
There is some code duplication in Cardano.API.IPC /Cardano.API.InMode and Cardano.Benchmarking.GeneratorTx.SubmissionClient. In particular the conversion functions between API types and Consensus types.
This overlaps with https://github.com/input-output-hk/cardano-node/issues/3770
This needs an extension of cardano-api/coordination with cardano-api maintainers
This has been done for toConsensusGenTx which is now exported from Cardano.Api.
An other candidate is fromGenTxId :: GenTxId CardanoBlock -> TxId
It may also make sense to use TxInMode consistently throughout the tx-generator
Is there any more code exposed (or exposable) in the API that is currently duplicated in the generator?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.