-
Notifications
You must be signed in to change notification settings - Fork 91
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
core: improve logging #1187
core: improve logging #1187
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -169,7 +169,7 @@ func (f *Fetcher) fetchAggregatorData(ctx context.Context, slot int64, defSet co | |
|
||
// This validator isn't an aggregator for this slot. | ||
if !res.IsAggregator { | ||
log.Debug(ctx, "Not selected for attester aggregation duty", z.Any("pubkey", pubkey)) | ||
log.Debug(ctx, "Attester not selected for aggregation duty", z.Any("pubkey", pubkey)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe "Validator not selected for aggregation duty" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The validator is an attester at this point. |
||
continue | ||
} | ||
log.Info(ctx, "Resolved attester aggregation duty", z.Any("pubkey", pubkey)) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,14 +91,14 @@ func (db *MemDB) StoreExternal(ctx context.Context, duty core.Duty, signedSet co | |
if err != nil { | ||
return err | ||
} else if !ok { | ||
log.Debug(ctx, "Not storing duplicate partial signed data", | ||
z.Any("pubkey", pubkey), z.Int("share_idx", sig.ShareIdx)) | ||
log.Debug(ctx, "Partial signed data ignored since duplicate") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe "Duplicate partial signed data ignored" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm using identical prefixes |
||
|
||
continue | ||
} | ||
|
||
log.Debug(ctx, "Stored partial signed data", | ||
z.Any("pubkey", pubkey), z.Int("count", len(sigs)), z.Int("share_idx", sig.ShareIdx)) | ||
log.Debug(ctx, "Partial signed data stored", | ||
z.Int("count", len(sigs)), | ||
z.Any("pubkey", pubkey)) | ||
|
||
// Call the threshSubs (which includes SigAgg component) if sufficient signatures have been received. | ||
if len(sigs) != db.threshold { | ||
|
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.
maybe "Successfully submitted aggregated attestation to beacon node"
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.
potato potato 😉