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

Read scheduled rewards from core #1168

Merged

Conversation

patrickwoodhead
Copy link
Collaborator

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.

@patrickwoodhead patrickwoodhead linked an issue Dec 4, 2023 that may be closed by this pull request
@bajtos
Copy link
Member

bajtos commented Dec 5, 2023

@patrickwoodhead thank you for the pull request! Can you please use a more descriptive PR title than "1134 refactor"? For example: "refactor scheduled rewards"

@patrickwoodhead patrickwoodhead changed the title 1134 refactor Refactor scheduled rewards Dec 5, 2023
Copy link

socket-security bot commented Dec 7, 2023

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

View full report↗︎

@juliangruber juliangruber changed the title Refactor scheduled rewards Read scheduled rewards from core Dec 7, 2023
patrickwoodhead and others added 4 commits December 7, 2023 13:40
Co-authored-by: Julian Gruber <julian@juliangruber.com>
Co-authored-by: Julian Gruber <julian@juliangruber.com>
Copy link
Member

@juliangruber juliangruber left a comment

Choose a reason for hiding this comment

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

NICE!

@bajtos
Copy link
Member

bajtos commented Jan 8, 2024

@juliangruber @patrickwoodhead, what's the status of this PR? Are there any changes needed before we can land & release this?

@juliangruber
Copy link
Member

I'm looking into finishing this up now 🙏

@juliangruber juliangruber enabled auto-merge (squash) January 16, 2024 10:34
@juliangruber juliangruber disabled auto-merge February 7, 2024 08:47
@juliangruber juliangruber merged commit adde753 into main Feb 7, 2024
11 checks passed
@juliangruber juliangruber deleted the 1134-read-scheduled-rewards-from-station-core-metrics branch February 7, 2024 08:47
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.

Read scheduled rewards from Station Core metrics
3 participants