Skip to content

Move execution unit estimation to the very last part of tx building #136

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 3 commits into from
Nov 27, 2022

Conversation

cffls
Copy link
Collaborator

@cffls cffls commented Nov 27, 2022

Redeemer index will change during txbuilding. If execution unit estimation is performed before the final redeemer index is finalized, there could be mismatch between the index returned from estimation and the index stored locally in txbuilder.

@codecov-commenter
Copy link

codecov-commenter commented Nov 27, 2022

Codecov Report

Merging #136 (95c07a7) into main (d726ae7) will increase coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #136      +/-   ##
==========================================
+ Coverage   86.06%   86.17%   +0.10%     
==========================================
  Files          25       25              
  Lines        2699     2720      +21     
  Branches      514      650     +136     
==========================================
+ Hits         2323     2344      +21     
  Misses        284      284              
  Partials       92       92              
Impacted Files Coverage Δ
pycardano/serialization.py 88.18% <ø> (+0.20%) ⬆️
pycardano/txbuilder.py 91.84% <0.00%> (+0.03%) ⬆️
pycardano/transaction.py 94.29% <0.00%> (+0.03%) ⬆️
pycardano/plutus.py 92.50% <0.00%> (+0.11%) ⬆️
pycardano/address.py 77.89% <0.00%> (+1.22%) ⬆️

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

@cffls cffls merged commit 29e95a7 into main Nov 27, 2022
@cffls cffls added the bug Something isn't working label Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants