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

adds rewards exporter & slotviz data publishing to redis #23

Merged
merged 8 commits into from
Feb 20, 2024

Conversation

peterbitfly
Copy link
Contributor

No description provided.

@@ -0,0 +1,5 @@
package modules

func StartRewardsExporter() {
Copy link
Contributor

Choose a reason for hiding this comment

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

placeholder?

@@ -1880,6 +1904,9 @@ func UpdateValidatorStatisticsSyncData(day uint64, client rpc.Client, dryRun boo
data.MissedSync,
data.OrphanedSync,
data.Day, data.ValidatorIndex)
if err != nil {
logrus.Errorf("error updating validator stats: %v", err)
Copy link
Contributor

Choose a reason for hiding this comment

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

utils.LogError

if *epochEnd != 0 {
latestFinalizedEpoch := cache.LatestFinalizedEpoch.Get()
if *epochEnd > latestFinalizedEpoch {
logrus.Errorf("error epochEnd [%v] is greater then latestFinalizedEpoch [%v]", epochEnd, latestFinalizedEpoch)
Copy link
Contributor

Choose a reason for hiding this comment

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

utils.LogError

@peterbitfly peterbitfly merged commit 278abfc into main Feb 20, 2024
2 checks passed
@peterbitfly peterbitfly deleted the add_rewards_exporter_and_slotviz_data branch February 20, 2024 11:30
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.

2 participants