Skip to content
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

Use Fraction for protocol parameters #314

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

nielstron
Copy link
Contributor

In the spirit of #292 and #299 there might be a need to make the fee computation more precise. At the size of execution units and step sizes (order of magnitude 10M - 1B) the imprecisions of float could also be an issue. Ogmios conveniently provides parameters already in Fraction format, parseable by the python native fractions library.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8c3a12b) 83.42% compared to head (fcc240a) 83.43%.

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #314   +/-   ##
=======================================
  Coverage   83.42%   83.43%           
=======================================
  Files          28       28           
  Lines        3415     3417    +2     
  Branches      836      836           
=======================================
+ Hits         2849     2851    +2     
  Misses        416      416           
  Partials      150      150           

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

@nielstron nielstron merged commit 997d3d2 into Python-Cardano:main Feb 20, 2024
11 checks passed
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