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

Populate the rewards table #305

Merged
merged 2 commits into from
Sep 30, 2020
Merged

Populate the rewards table #305

merged 2 commits into from
Sep 30, 2020

Conversation

erikd
Copy link
Contributor

@erikd erikd commented Sep 30, 2020

No description provided.

And use it as appropriate.
The data to populate this table comes from ledger state which has a
'Maybe RewardsUpdate' field. We detect when the this value changes
from a 'Just' to a 'Nothing', capture the value that was held in the
'Just' and insert that.
@erikd erikd changed the title Polulate the rewards table Populate the rewards table Sep 30, 2020
@erikd
Copy link
Contributor Author

erikd commented Sep 30, 2020

I am resyncing the database from scratch one last time just to make sure.

@erikd erikd merged commit 9b4b1a3 into master Sep 30, 2020
@iohk-bors iohk-bors bot deleted the erikd/ledger-state-rewards-2 branch September 30, 2020 21:41
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.

None yet

1 participant