Open bhatt-deep opened 1 week ago
Attention: Patch coverage is 21.62162%
with 29 lines
in your changes missing coverage. Please review.
Project coverage is 84.72%. Comparing base (
3ca745a
) to head (bf3da4a
).
Files with missing lines | Patch % | Lines |
---|---|---|
pycardano/backend/kupo.py | 13.04% | 20 Missing :warning: |
pycardano/backend/blockfrost.py | 10.00% | 9 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Looks good, thanks! Could you please add some unit tests?
Purpose
This PR introduces a new method
tx_metadata_cbor
to retrieve transaction metadata in CBOR format across different backend implementations. This feature enhances PyCardano's capabilities for querying and working with transaction metadata.Key Changes
tx_metadata_cbor
to the baseChainContext
class.tx_metadata_cbor
for the BlockFrost backend.tx_metadata_cbor
for the Kupo backend with caching and fallback to wrapped backend.__init__.py
file to include the new Kupo module.