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

Facade might have float rounding errors when computing payment amounts #161

Open
Tracked by #153
nieznanysprawiciel opened this issue Jun 19, 2024 · 0 comments
Open
Tracked by #153
Labels
bug Something isn't working

Comments

@nieznanysprawiciel
Copy link
Contributor

nieznanysprawiciel commented Jun 19, 2024

I encountered log:
[Information] [Golem.Jobs] Job: 176af6e49e032a6f69a60ece562f716fe15a70d43bedb8da9f52452b375b327f, confirmed sum: 0.00384796996, job expected reward: 0.0038479699600000004

The problem on ya-provider side is fixed already. I checked that amounts are correct there.
It seems that facade converts floats to decimal with different precision than provider.

@nieznanysprawiciel nieznanysprawiciel added the bug Something isn't working label Jun 19, 2024
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

No branches or pull requests

1 participant