Experimental api propagation 2025-05-28#1205
Conversation
…equiredUtxoBackwardCompatible on `IsEra era`
647a31a to
8d9105b
Compare
runTransactionBuildCmd runTransactionBuildEstimateCmd runTransactionBuildRawCmd
e6af8fe to
b5d9817
Compare
2eccab0 to
3bcd66c
Compare
3bcd66c to
b4ebdbc
Compare
b4ebdbc to
8a6462a
Compare
|
|
||
| import Data.Text (Text) | ||
|
|
||
| toTxOutInAnyEra |
There was a problem hiding this comment.
Regarding the name, isn't that the other way around? If input-output-hk/cardano-node-wiki#74 gets accepted, this should be called: txOutInAnyEraToTxOut or fromTxOutInAnyEra.
There was a problem hiding this comment.
It's poorly named but I want to wait till after 74 gets adopted before making the change.
| noteInputFile | ||
| "test/cardano-cli-golden/files/input/shelley/transaction-calculate-min-fee/protocol-params.json" | ||
| txBodyFile <- noteInputFile "test/cardano-cli-golden/files/input/shelley/tx/txbody" | ||
| "test/cardano-cli-test/files/input/calculate-min-fee/flags-protocol-params-preview.json" |
There was a problem hiding this comment.
cardano-cli-test file used in golden tests. Breaks hydra.
15fec33 to
7cc587e
Compare
| , outFile | ||
| } = do | ||
| let sbe = convert eon -- TODO: Conway era - update vote creation related function to take ConwayEraOnwards | ||
| let sbe = convert era -- TODO: Conway era - update vote creation related function to take ConwayEraOnwards |
There was a problem hiding this comment.
careateVotingProcedure is accepting ConwayEraOnwards already so convert = id here AFAIU
There was a problem hiding this comment.
era here is the experimental Era era
| ["--output-json", "--out-file"] -> do | ||
| jsonOnDisk :: Aeson.Value <- H.readJsonFileOk outFileFp | ||
| H.diff jsonOnDisk (==) (Aeson.object ["fee" .= (2050100 :: Int)]) | ||
| H.diff jsonOnDisk (==) (Aeson.object ["fee" .= (247473 :: Int)]) |
There was a problem hiding this comment.
Why the fee has changed?
There was a problem hiding this comment.
I am using a Conway era transaction now. Previously it was Babbage.
carbolymer
left a comment
There was a problem hiding this comment.
Nice 👍🏻 It's looking cleaner.
7cc587e to
84c1bb0
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