Skip to content

Accept empty values for restoration #306

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

Merged

Conversation

nielstron
Copy link
Contributor

I am not sure why this is forbidden in the first place but it leads to failing deserializations of transactions with just lovelace and not native tokens attached (potentially just produced by cardano-cli > 8.x)

@nielstron nielstron requested a review from cffls February 9, 2024 16:26
@codecov-commenter
Copy link

codecov-commenter commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8c3a12b) 83.42% compared to head (dbe5d22) 83.53%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #306      +/-   ##
==========================================
+ Coverage   83.42%   83.53%   +0.10%     
==========================================
  Files          28       28              
  Lines        3415     3413       -2     
  Branches      836      835       -1     
==========================================
+ Hits         2849     2851       +2     
+ Misses        416      414       -2     
+ Partials      150      148       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@cffls cffls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. A minor comment on the test.

@nielstron nielstron force-pushed the feat/allow_empty_deserialization branch from 8d45474 to dbe5d22 Compare February 20, 2024 09:17
@nielstron nielstron merged commit 1a4cc5d into Python-Cardano:main Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants