Closed kieransimkin closed 2 days ago
Attention: Patch coverage is 0%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 85.24%. Comparing base (
3034cd9
) to head (e333650
). Report is 2 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
pycardano/backend/blockfrost.py | 0.00% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks for the fix. There is a minor issue in code format when running make qa
:
pycardano/backend/blockfrost.py:313:1: W293 blank line contains whitespace
Might be easily fixable through make format
.
whoops, I've fixed this now :)
Sometimes the blockfrost API does not return a result set containing "result" field, so I was getting an exception out of pycardano which didn't actually show the message I was getting back from blockfrost. I've fixed this so you now get back the error from blockfrost in all circumstances.
For reference, the error I was getting was:
pycardano.exception.TransactionFailedException: Namespace(fault=Namespace(code='client', string='Invalid request: Deserialisation failure while decoding serialised transaction. CBOR failed with error: DeserialiseFailure 0 "expected tag".'), reflection=Namespace(id='efc3ec98-219f-43db-9f58-a6e2ed9fbaea'), servicename='ogmios', type='jsonwsp/fault', version='1.0')
I am still not entirely sure why my cbor is failing to decode, but I'm pretty sure the problem is with my minting script (from Aiken), not pycardano :)