-
Notifications
You must be signed in to change notification settings - Fork 22
Experimental api propagation 2025-05-28 #1205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
cardano-cli/test/cardano-cli-golden/Test/Golden/Latest/Transaction/CalculateMinFee.hs
Outdated
Show resolved
Hide resolved
|
|
||
| import Data.Text (Text) | ||
|
|
||
| toTxOutInAnyEra |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cardano-cli-test file used in golden tests. Breaks hydra.
carbolymer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cardano-cli/test/cardano-cli-golden/Test/Golden/Latest/Transaction/CalculateMinFee.hs
Outdated
Show resolved
Hide resolved
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
careateVotingProcedure is accepting ConwayEraOnwards already so convert = id here AFAIU
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the fee has changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am using a Conway era transaction now. Previously it was Babbage.
carbolymer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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