-
Notifications
You must be signed in to change notification settings - Fork 90
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/fetcher: add support for DutyAggregator
#1118
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1118 +/- ##
==========================================
- Coverage 53.06% 53.06% -0.01%
==========================================
Files 128 128
Lines 14626 14683 +57
==========================================
+ Hits 7762 7792 +30
- Misses 5748 5773 +25
- Partials 1116 1118 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
10f4b7a
to
808655f
Compare
return core.UnsignedDataSet{}, err | ||
} | ||
|
||
resp[pubkey] = core.AggregatedAttestation{ |
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.
Isn't there a core.NewAggregateAttesation(aggAtt)
function?
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.
No. I created a new type for aggregate attestation implementing unsignedData
// AggregatedAttestation wraps Attestation and implements the UnsignedData interface.
type AggregatedAttestation struct {
eth2p0.Attestation
}
808655f
to
22ef729
Compare
Add support for
DutyAggregator
tofetcher
.category: feature
ticket: #1088