-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
@@ -0,0 +1,5 @@ | |||
package modules | |||
|
|||
func StartRewardsExporter() { |
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.
placeholder?
backend/cmd/misc/main.go
Outdated
@@ -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) |
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.
utils.LogError
backend/cmd/rewards-exporter/main.go
Outdated
if *epochEnd != 0 { | ||
latestFinalizedEpoch := cache.LatestFinalizedEpoch.Get() | ||
if *epochEnd > latestFinalizedEpoch { | ||
logrus.Errorf("error epochEnd [%v] is greater then latestFinalizedEpoch [%v]", epochEnd, latestFinalizedEpoch) |
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.
utils.LogError
…bitfly/beaconchain into add_rewards_exporter_and_slotviz_data
No description provided.