Skip to content

Remove the need to specify the RedeemerTag #178

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
merged 4 commits into from
Mar 15, 2023

Conversation

nielstron
Copy link
Contributor

@nielstron nielstron commented Mar 14, 2023

This reduces friction for writing applications.

Also the proposed way of specifying a redeemer tag = MINT for minting inputs is actually invalid. Mint scripts can only be invoked without datums, by specifying them as minting scripts.

Fixes #177

This reduces friction for writing applications
@codecov-commenter
Copy link

codecov-commenter commented Mar 14, 2023

Codecov Report

Merging #178 (bb91228) into main (ab01bec) will decrease coverage by 0.16%.
The diff coverage is 77.77%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #178      +/-   ##
==========================================
- Coverage   86.38%   86.23%   -0.16%     
==========================================
  Files          26       26              
  Lines        2761     2767       +6     
  Branches      654      655       +1     
==========================================
+ Hits         2385     2386       +1     
- Misses        284      287       +3     
- Partials       92       94       +2     
Impacted Files Coverage Δ
pycardano/txbuilder.py 90.64% <66.66%> (-0.90%) ⬇️
pycardano/plutus.py 92.61% <100.00%> (+0.03%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

TODO I would rather set it to None, so that we catch situations where it
is incorrectly initialized
@cffls
Copy link
Collaborator

cffls commented Mar 15, 2023

Thank you @nielstron for finding and removing this unnecessary complexity! Your change makes sense and it looks good to me.

@cffls cffls merged commit 8f29313 into Python-Cardano:main Mar 15, 2023
@cffls cffls added the enhancement New feature or request label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specification of the Redeemer Tag necessary?
3 participants