Conversation
559c0a2 to
0d78776
Compare
84aa453 to
dfdfae8
Compare
dfdfae8 to
b1b3b59
Compare
16b0451 to
d1cb86e
Compare
9896d0c to
f1da65d
Compare
aa60a8c to
3c05d75
Compare
06b29bf to
ee402b1
Compare
- estimateBalancedTxBody - makeUnsignedTx - makeTransactionBodyAutoBalance Propagate new TxBodyContent definition Replace *Witness types with AnyWitness Update proposal's do not exist in Conway era onwards therefore begin process removing this feature
94e5b2a to
ac0ef3a
Compare
Co-authored-by: Mateusz Gałażyn <mateusz.galazyn@iohk.io>
ac0ef3a to
bcb12b5
Compare
There was a problem hiding this comment.
Sorry what do you mean?
There was a problem hiding this comment.
There are no comments over the exported functions which end up in generated haddocks 😄
carbolymer
left a comment
There was a problem hiding this comment.
Blocking on unexplained golden file change
|
|
||
|
|
||
|
|
||
| data AnyPlutusScript where |
There was a problem hiding this comment.
There was a problem hiding this comment.
data AnyPlutusScript is a stopgap. It needs to be replaced with the AnyPlutusScript era in cardano-api: #1328
cardano-cli/src/Cardano/CLI/Compatible/Transaction/ScriptWitness.hs
Outdated
Show resolved
Hide resolved
cardano-cli/test/cardano-cli-golden/files/golden/alonzo/transaction-view.out
Show resolved
Hide resolved
|
palas
left a comment
There was a problem hiding this comment.
It all looks correct to me. I wrote a few potential simplifications that I saw. And the hardcoding of ConwayEra in some places (in estimation command for example) is a bit unsatisfying, but I cannot think of a way of getting around it at the moment.
| witnessesProvidedMap :: Map PolicyId (ScriptWitness WitCtxMint era) | ||
| witnessesProvidedMap = fromList $ [(polid, sWit) | MintScriptWitnessWithPolicyId polid sWit <- scriptWitnesses] | ||
|
|
||
| let witnessesProvidedMap = fromList scriptWitnesses |
There was a problem hiding this comment.
| let witnessesProvidedMap = fromList scriptWitnesses | |
| witnessesProvidedMap :: Map PolicyId (Exp.AnyWitness (Exp.LedgerEra era)) | |
| witnessesProvidedMap = fromList scriptWitnesses | |
For the signature, it also needs the following suggestion to compile
| :: (L.MultiAsset, [(PolicyId, Exp.AnyWitness (Exp.LedgerEra era))]) | ||
| -> Either TxCmdError (Exp.TxMintValue (Exp.LedgerEra era)) |
There was a problem hiding this comment.
| :: (L.MultiAsset, [(PolicyId, Exp.AnyWitness (Exp.LedgerEra era))]) | |
| -> Either TxCmdError (Exp.TxMintValue (Exp.LedgerEra era)) | |
| :: forall era | |
| . (L.MultiAsset, [(PolicyId, Exp.AnyWitness (Exp.LedgerEra era))]) | |
| -> Either TxCmdError (Exp.TxMintValue (Exp.LedgerEra era)) |
For the previous suggestion to compile
| unsignedToToApiTx :: forall era. Exp.IsEra era => Exp.UnsignedTx era -> Api.Tx era | ||
| unsignedToToApiTx (Exp.UnsignedTx lTx) = | ||
| ShelleyTx (convert $ Exp.useEra @era) $ obtainCommonConstraints (Exp.useEra @era) lTx |
There was a problem hiding this comment.
unsignedToToApiTx -> unsignedToApiTx?
9d62fb3 to
66661b0
Compare
Changelog
Context
Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.
How to trust this PR
Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.
Checklist