-
Notifications
You must be signed in to change notification settings - Fork 83
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
getBalance (query utxo) returning undefined: NaN on V1.29.0 (Alonzo) #13
Comments
I could workaround it by skipping "TxOutDatumHashNone" when the values from the UTXO's lists are parsed. Should be in l225 or near there (I made some more hacks for testing purposes)
The leading whitespace is important! Not sure, if this is the right solution but at least I can proceed minting with my v1.29 node |
The way I did it was to simply remove the undefined property from the object, like this:
|
@alessandrokonrad fixed in PR #23, take a look and merge it, please. |
The PR was merged, I guess we can close the issue right? |
Hello,
![image](https://user-images.githubusercontent.com/10819089/131931675-ea93f3ab-8f23-4096-a2bc-287d9eec290b.png)
Apparently, this library needs an update for the Alonzo update, getting the balance input an
undefined: NaN
on the output:here is the output of cardano-cli shelley query utxo:
![image](https://user-images.githubusercontent.com/10819089/131931770-c84df90f-180e-46ee-a5b9-ddbcd5aad3f6.png)
I think that it's "TxOutDatumHashNone" that's resulting into the
undefined: NaN
This does break also building transaction and so on
The text was updated successfully, but these errors were encountered: