Closed Swordlash closed 1 week ago
Although UnsignedTx era
is unlikely to change (despite being confusingly placed in the Experimental namespace), we did not anticipate such a significant change in your code. We have decided to revert the change and introduce the new API separately.
Thank you!
External
Other
Summary Pretty much what the title states. I found this while upgrading to 10.1 for the Chang#2.
makeTransactionBodyAutoBalance
now usesUnsignedTx
which forces API users to use the API in theExperimental
namespace (i.e. forcesIsBabbageBasedEra
although it takesShelleyBasedEra
as parameter etc.).Compare my previous simple code
with the migrated one with a lot of manual wrapping/unwrapping to retain previous signature as much as possible (i.e. return
cardano-api
Tx
instead of the ledger one):Expected behavior Non-experimental API should not force users to rely on Experimental API. There should be a clear distinction between these two since the latter is described as "it is subject to dramatic changes so use with caution".