PLT-777 Remove plutus ledger from Marconi' dependencies#792
Conversation
73b8e82 to
3366146
Compare
|
I'm gonna make a PR to cardano-node to expose the function I had to duplicate and fix the corresponding comment in my code once before merging it. |
03b9755 to
d8569b5
Compare
|
You're waiting for the node PR to merge before merging this PR? |
I think we'd better merge it before the node PR, just to avoid adding new features that rely on |
There was a problem hiding this comment.
Thank you for doing the work. I specially like ❤️ the Marconi.Types and plan on moving some of data structure to there from the Indexers.hs
FYI, this work directlry effect PR-796. I'll merge mine after this PR is merged to main
If yours is ready to merge, don't worry and merge it, I'll handle the conflict if needed. |
… function is modified accordingly
Centralise TargetAddresses alias here
08f40f6 to
88f81fb
Compare
* Use Cardano addresses instead of Plutus.Ledger addresses * Use TxIn instead of TxOutRef * Harmonize addresses * A PR to cardano-api is made and the comment on the duplicated marconi function is modified accordingly * Rename Marconi.CardanoAPI in Marconi.Types Centralise TargetAddresses alias here * Update the sample invocation of marconi-mamba README
Here are the major type changes:
TxOutRef(fromplutus-ledger-api) has been replaced by an alias with the same name toTxInofcardano-apithat conveys the same information.Address(fromplutus-ledger) has been replaced byAddressAnyfromcardano-api, that is basically an address in era, without theerawitness type.TxOut(fromplutus-ledger) has been replaced byTxOutfromcardana-api.DatumandDatumHash(fromplutus-ledger-api) has been replaced byScriptDataandHash ScriptDatafromcardano-api.Pre-submit checklist: