-
Notifications
You must be signed in to change notification settings - Fork 15
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
Negative values are not checked when building tx and ledger exception is returned #904
Comments
@CarlosLopezDeLara and I tried the oldest release version of
At this time, we were using |
Alright, here's how it was working in 8.21:
|
Now, the situation is as follows:
And actually @palas caught the issue: #853 (comment) 🙃 So this shows that this issue started appearing in |
https://github.com/IntersectMBO/cardano-cli/commits/smelc/forbid-negative-transaction-output/ shows a possible solution:
The problem with that is I think requiring the entire [edit] Or directly parse a TxOutValue (even better?) |
Description
When building a tx with negative value in txout, we used to have a user friendly error message like "Negative quantity..." returned by
cardano-cli
. Now (in cli budled with node 9.2.0) we get a ledger exception likeSteps to Reproduce
The text was updated successfully, but these errors were encountered: