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

common: simplify floatToEth #639

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

MariusVanDerWijden
Copy link
Collaborator

Simplify the FloatEthTo256Wei calculation. The trick with converting to string is still kinda ugly imo

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.28%. Comparing base (8b662e0) to head (9316bf3).

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

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #639      +/-   ##
===========================================
- Coverage    52.37%   52.28%   -0.09%     
===========================================
  Files           14       14              
  Lines         1600     1597       -3     
===========================================
- Hits           838      835       -3     
  Misses         703      703              
  Partials        59       59              
Flag Coverage Δ
unittests 52.28% <100.00%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Collaborator

@jtraglia jtraglia left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! This looks marginally better.

@metachris metachris merged commit 643b8c6 into flashbots:develop Apr 4, 2024
2 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.

4 participants