-
Notifications
You must be signed in to change notification settings - Fork 13
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
Read scheduled rewards from core
#1168
Read scheduled rewards from core
#1168
Conversation
@patrickwoodhead thank you for the pull request! Can you please use a more descriptive PR title than "1134 refactor"? For example: "refactor scheduled rewards" |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
|
core
Co-authored-by: Julian Gruber <julian@juliangruber.com>
https://github.com/filecoin-station/desktop into 1134-read-scheduled-rewards-from-station-core-metrics
Co-authored-by: Julian Gruber <julian@juliangruber.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NICE!
@juliangruber @patrickwoodhead, what's the status of this PR? Are there any changes needed before we can land & release this? |
I'm looking into finishing this up now 🙏 |
The desktop no longer makes a request to the contract to fetch the scheduled rewards. Instead it gets this info from core.
The balance sent around by the IPC events is now not truncated to 6 decimal places but instead it is the full 18 significant figures of the balance. This leaves it to each of the renderers (UI, tray etc) to decide how they want to format the value.