You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are planning to add attestation aggregation duty which will require changes in go-eth2-client package which we use as types and interfaces for calling a beacon client. Before making changes in go-eth2-client repo we need to test attestation aggregation on our side.
Proposed solution
Create an experimental sub-package as eth2exp in eth2util package where we will add all the types required to support aggregation duties until go-eth2-client supports them.
Add v2 BeaconCommitteeSubscriptionsSubmitter interface to eth2util/eth2exp package. Add a TODO: should be removed once it is added to go-eth2-client. Refer design doc for interface and structs.
Add the above interface to eth2wrap and beaconmock.
Add SubmitBeaconCommitteeSubscriptionsFunc to Mock struct in testutil/beaconmock.go which will be called by SubmitBeaconCommitteeSubscriptions method of Mock. Add following Option func to testutil/options.go:
Problem to be solved
We are planning to add attestation aggregation duty which will require changes in go-eth2-client package which we use as types and interfaces for calling a beacon client. Before making changes in go-eth2-client repo we need to test attestation aggregation on our side.
Proposed solution
eth2exp
in eth2util package where we will add all the types required to support aggregation duties until go-eth2-client supports them.BeaconCommitteeSubscriptionsSubmitter
interface toeth2util/eth2exp
package. Add aTODO: should be removed once it is added to go-eth2-client
. Refer design doc for interface and structs.SubmitBeaconCommitteeSubscriptions
method of Mock. Add following Option func to testutil/options.go:which will return response based on the aggregators map for the given slot and validator index.
The text was updated successfully, but these errors were encountered: