github.com/prysmaticlabs/prysm@v1.4.4/shared/mock/beacon_service_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/prysmaticlabs/prysm/proto/eth/v1alpha1 (interfaces: BeaconChainClient,BeaconChain_StreamChainHeadClient,BeaconChain_StreamAttestationsClient,BeaconChain_StreamBlocksClient,BeaconChain_StreamValidatorsInfoClient,BeaconChain_StreamIndexedAttestationsClient)
     3  
     4  // Package mock is a generated GoMock package.
     5  package mock
     6  
     7  import (
     8  	context "context"
     9  	reflect "reflect"
    10  
    11  	gomock "github.com/golang/mock/gomock"
    12  	v1alpha1 "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1"
    13  	grpc "google.golang.org/grpc"
    14  	metadata "google.golang.org/grpc/metadata"
    15  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    16  )
    17  
    18  // MockBeaconChainClient is a mock of BeaconChainClient interface
    19  type MockBeaconChainClient struct {
    20  	ctrl     *gomock.Controller
    21  	recorder *MockBeaconChainClientMockRecorder
    22  }
    23  
    24  // MockBeaconChainClientMockRecorder is the mock recorder for MockBeaconChainClient
    25  type MockBeaconChainClientMockRecorder struct {
    26  	mock *MockBeaconChainClient
    27  }
    28  
    29  // NewMockBeaconChainClient creates a new mock instance
    30  func NewMockBeaconChainClient(ctrl *gomock.Controller) *MockBeaconChainClient {
    31  	mock := &MockBeaconChainClient{ctrl: ctrl}
    32  	mock.recorder = &MockBeaconChainClientMockRecorder{mock}
    33  	return mock
    34  }
    35  
    36  // EXPECT returns an object that allows the caller to indicate expected use
    37  func (m *MockBeaconChainClient) EXPECT() *MockBeaconChainClientMockRecorder {
    38  	return m.recorder
    39  }
    40  
    41  // AttestationPool mocks base method
    42  func (m *MockBeaconChainClient) AttestationPool(arg0 context.Context, arg1 *v1alpha1.AttestationPoolRequest, arg2 ...grpc.CallOption) (*v1alpha1.AttestationPoolResponse, error) {
    43  	m.ctrl.T.Helper()
    44  	varargs := []interface{}{arg0, arg1}
    45  	for _, a := range arg2 {
    46  		varargs = append(varargs, a)
    47  	}
    48  	ret := m.ctrl.Call(m, "AttestationPool", varargs...)
    49  	ret0, _ := ret[0].(*v1alpha1.AttestationPoolResponse)
    50  	ret1, _ := ret[1].(error)
    51  	return ret0, ret1
    52  }
    53  
    54  // AttestationPool indicates an expected call of AttestationPool
    55  func (mr *MockBeaconChainClientMockRecorder) AttestationPool(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
    56  	mr.mock.ctrl.T.Helper()
    57  	varargs := append([]interface{}{arg0, arg1}, arg2...)
    58  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AttestationPool", reflect.TypeOf((*MockBeaconChainClient)(nil).AttestationPool), varargs...)
    59  }
    60  
    61  // GetBeaconConfig mocks base method
    62  func (m *MockBeaconChainClient) GetBeaconConfig(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*v1alpha1.BeaconConfig, error) {
    63  	m.ctrl.T.Helper()
    64  	varargs := []interface{}{arg0, arg1}
    65  	for _, a := range arg2 {
    66  		varargs = append(varargs, a)
    67  	}
    68  	ret := m.ctrl.Call(m, "GetBeaconConfig", varargs...)
    69  	ret0, _ := ret[0].(*v1alpha1.BeaconConfig)
    70  	ret1, _ := ret[1].(error)
    71  	return ret0, ret1
    72  }
    73  
    74  // GetBeaconConfig indicates an expected call of GetBeaconConfig
    75  func (mr *MockBeaconChainClientMockRecorder) GetBeaconConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
    76  	mr.mock.ctrl.T.Helper()
    77  	varargs := append([]interface{}{arg0, arg1}, arg2...)
    78  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBeaconConfig", reflect.TypeOf((*MockBeaconChainClient)(nil).GetBeaconConfig), varargs...)
    79  }
    80  
    81  // GetChainHead mocks base method
    82  func (m *MockBeaconChainClient) GetChainHead(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*v1alpha1.ChainHead, error) {
    83  	m.ctrl.T.Helper()
    84  	varargs := []interface{}{arg0, arg1}
    85  	for _, a := range arg2 {
    86  		varargs = append(varargs, a)
    87  	}
    88  	ret := m.ctrl.Call(m, "GetChainHead", varargs...)
    89  	ret0, _ := ret[0].(*v1alpha1.ChainHead)
    90  	ret1, _ := ret[1].(error)
    91  	return ret0, ret1
    92  }
    93  
    94  // GetChainHead indicates an expected call of GetChainHead
    95  func (mr *MockBeaconChainClientMockRecorder) GetChainHead(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
    96  	mr.mock.ctrl.T.Helper()
    97  	varargs := append([]interface{}{arg0, arg1}, arg2...)
    98  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChainHead", reflect.TypeOf((*MockBeaconChainClient)(nil).GetChainHead), varargs...)
    99  }
   100  
   101  // GetIndividualVotes mocks base method
   102  func (m *MockBeaconChainClient) GetIndividualVotes(arg0 context.Context, arg1 *v1alpha1.IndividualVotesRequest, arg2 ...grpc.CallOption) (*v1alpha1.IndividualVotesRespond, error) {
   103  	m.ctrl.T.Helper()
   104  	varargs := []interface{}{arg0, arg1}
   105  	for _, a := range arg2 {
   106  		varargs = append(varargs, a)
   107  	}
   108  	ret := m.ctrl.Call(m, "GetIndividualVotes", varargs...)
   109  	ret0, _ := ret[0].(*v1alpha1.IndividualVotesRespond)
   110  	ret1, _ := ret[1].(error)
   111  	return ret0, ret1
   112  }
   113  
   114  // GetIndividualVotes indicates an expected call of GetIndividualVotes
   115  func (mr *MockBeaconChainClientMockRecorder) GetIndividualVotes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   116  	mr.mock.ctrl.T.Helper()
   117  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   118  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIndividualVotes", reflect.TypeOf((*MockBeaconChainClient)(nil).GetIndividualVotes), varargs...)
   119  }
   120  
   121  // GetValidator mocks base method
   122  func (m *MockBeaconChainClient) GetValidator(arg0 context.Context, arg1 *v1alpha1.GetValidatorRequest, arg2 ...grpc.CallOption) (*v1alpha1.Validator, error) {
   123  	m.ctrl.T.Helper()
   124  	varargs := []interface{}{arg0, arg1}
   125  	for _, a := range arg2 {
   126  		varargs = append(varargs, a)
   127  	}
   128  	ret := m.ctrl.Call(m, "GetValidator", varargs...)
   129  	ret0, _ := ret[0].(*v1alpha1.Validator)
   130  	ret1, _ := ret[1].(error)
   131  	return ret0, ret1
   132  }
   133  
   134  // GetValidator indicates an expected call of GetValidator
   135  func (mr *MockBeaconChainClientMockRecorder) GetValidator(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   136  	mr.mock.ctrl.T.Helper()
   137  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   138  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetValidator", reflect.TypeOf((*MockBeaconChainClient)(nil).GetValidator), varargs...)
   139  }
   140  
   141  // GetValidatorActiveSetChanges mocks base method
   142  func (m *MockBeaconChainClient) GetValidatorActiveSetChanges(arg0 context.Context, arg1 *v1alpha1.GetValidatorActiveSetChangesRequest, arg2 ...grpc.CallOption) (*v1alpha1.ActiveSetChanges, error) {
   143  	m.ctrl.T.Helper()
   144  	varargs := []interface{}{arg0, arg1}
   145  	for _, a := range arg2 {
   146  		varargs = append(varargs, a)
   147  	}
   148  	ret := m.ctrl.Call(m, "GetValidatorActiveSetChanges", varargs...)
   149  	ret0, _ := ret[0].(*v1alpha1.ActiveSetChanges)
   150  	ret1, _ := ret[1].(error)
   151  	return ret0, ret1
   152  }
   153  
   154  // GetValidatorActiveSetChanges indicates an expected call of GetValidatorActiveSetChanges
   155  func (mr *MockBeaconChainClientMockRecorder) GetValidatorActiveSetChanges(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   156  	mr.mock.ctrl.T.Helper()
   157  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   158  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetValidatorActiveSetChanges", reflect.TypeOf((*MockBeaconChainClient)(nil).GetValidatorActiveSetChanges), varargs...)
   159  }
   160  
   161  // GetValidatorParticipation mocks base method
   162  func (m *MockBeaconChainClient) GetValidatorParticipation(arg0 context.Context, arg1 *v1alpha1.GetValidatorParticipationRequest, arg2 ...grpc.CallOption) (*v1alpha1.ValidatorParticipationResponse, error) {
   163  	m.ctrl.T.Helper()
   164  	varargs := []interface{}{arg0, arg1}
   165  	for _, a := range arg2 {
   166  		varargs = append(varargs, a)
   167  	}
   168  	ret := m.ctrl.Call(m, "GetValidatorParticipation", varargs...)
   169  	ret0, _ := ret[0].(*v1alpha1.ValidatorParticipationResponse)
   170  	ret1, _ := ret[1].(error)
   171  	return ret0, ret1
   172  }
   173  
   174  // GetValidatorParticipation indicates an expected call of GetValidatorParticipation
   175  func (mr *MockBeaconChainClientMockRecorder) GetValidatorParticipation(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   176  	mr.mock.ctrl.T.Helper()
   177  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   178  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetValidatorParticipation", reflect.TypeOf((*MockBeaconChainClient)(nil).GetValidatorParticipation), varargs...)
   179  }
   180  
   181  // GetValidatorPerformance mocks base method
   182  func (m *MockBeaconChainClient) GetValidatorPerformance(arg0 context.Context, arg1 *v1alpha1.ValidatorPerformanceRequest, arg2 ...grpc.CallOption) (*v1alpha1.ValidatorPerformanceResponse, error) {
   183  	m.ctrl.T.Helper()
   184  	varargs := []interface{}{arg0, arg1}
   185  	for _, a := range arg2 {
   186  		varargs = append(varargs, a)
   187  	}
   188  	ret := m.ctrl.Call(m, "GetValidatorPerformance", varargs...)
   189  	ret0, _ := ret[0].(*v1alpha1.ValidatorPerformanceResponse)
   190  	ret1, _ := ret[1].(error)
   191  	return ret0, ret1
   192  }
   193  
   194  // GetValidatorPerformance indicates an expected call of GetValidatorPerformance
   195  func (mr *MockBeaconChainClientMockRecorder) GetValidatorPerformance(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   196  	mr.mock.ctrl.T.Helper()
   197  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   198  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetValidatorPerformance", reflect.TypeOf((*MockBeaconChainClient)(nil).GetValidatorPerformance), varargs...)
   199  }
   200  
   201  // GetValidatorQueue mocks base method
   202  func (m *MockBeaconChainClient) GetValidatorQueue(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*v1alpha1.ValidatorQueue, error) {
   203  	m.ctrl.T.Helper()
   204  	varargs := []interface{}{arg0, arg1}
   205  	for _, a := range arg2 {
   206  		varargs = append(varargs, a)
   207  	}
   208  	ret := m.ctrl.Call(m, "GetValidatorQueue", varargs...)
   209  	ret0, _ := ret[0].(*v1alpha1.ValidatorQueue)
   210  	ret1, _ := ret[1].(error)
   211  	return ret0, ret1
   212  }
   213  
   214  // GetValidatorQueue indicates an expected call of GetValidatorQueue
   215  func (mr *MockBeaconChainClientMockRecorder) GetValidatorQueue(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   216  	mr.mock.ctrl.T.Helper()
   217  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   218  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetValidatorQueue", reflect.TypeOf((*MockBeaconChainClient)(nil).GetValidatorQueue), varargs...)
   219  }
   220  
   221  // GetWeakSubjectivityCheckpoint mocks base method
   222  func (m *MockBeaconChainClient) GetWeakSubjectivityCheckpoint(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*v1alpha1.WeakSubjectivityCheckpoint, error) {
   223  	m.ctrl.T.Helper()
   224  	varargs := []interface{}{arg0, arg1}
   225  	for _, a := range arg2 {
   226  		varargs = append(varargs, a)
   227  	}
   228  	ret := m.ctrl.Call(m, "GetWeakSubjectivityCheckpoint", varargs...)
   229  	ret0, _ := ret[0].(*v1alpha1.WeakSubjectivityCheckpoint)
   230  	ret1, _ := ret[1].(error)
   231  	return ret0, ret1
   232  }
   233  
   234  // GetWeakSubjectivityCheckpoint indicates an expected call of GetWeakSubjectivityCheckpoint
   235  func (mr *MockBeaconChainClientMockRecorder) GetWeakSubjectivityCheckpoint(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   236  	mr.mock.ctrl.T.Helper()
   237  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   238  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetWeakSubjectivityCheckpoint", reflect.TypeOf((*MockBeaconChainClient)(nil).GetWeakSubjectivityCheckpoint), varargs...)
   239  }
   240  
   241  // ListAttestations mocks base method
   242  func (m *MockBeaconChainClient) ListAttestations(arg0 context.Context, arg1 *v1alpha1.ListAttestationsRequest, arg2 ...grpc.CallOption) (*v1alpha1.ListAttestationsResponse, error) {
   243  	m.ctrl.T.Helper()
   244  	varargs := []interface{}{arg0, arg1}
   245  	for _, a := range arg2 {
   246  		varargs = append(varargs, a)
   247  	}
   248  	ret := m.ctrl.Call(m, "ListAttestations", varargs...)
   249  	ret0, _ := ret[0].(*v1alpha1.ListAttestationsResponse)
   250  	ret1, _ := ret[1].(error)
   251  	return ret0, ret1
   252  }
   253  
   254  // ListAttestations indicates an expected call of ListAttestations
   255  func (mr *MockBeaconChainClientMockRecorder) ListAttestations(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   256  	mr.mock.ctrl.T.Helper()
   257  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   258  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAttestations", reflect.TypeOf((*MockBeaconChainClient)(nil).ListAttestations), varargs...)
   259  }
   260  
   261  // ListBeaconCommittees mocks base method
   262  func (m *MockBeaconChainClient) ListBeaconCommittees(arg0 context.Context, arg1 *v1alpha1.ListCommitteesRequest, arg2 ...grpc.CallOption) (*v1alpha1.BeaconCommittees, error) {
   263  	m.ctrl.T.Helper()
   264  	varargs := []interface{}{arg0, arg1}
   265  	for _, a := range arg2 {
   266  		varargs = append(varargs, a)
   267  	}
   268  	ret := m.ctrl.Call(m, "ListBeaconCommittees", varargs...)
   269  	ret0, _ := ret[0].(*v1alpha1.BeaconCommittees)
   270  	ret1, _ := ret[1].(error)
   271  	return ret0, ret1
   272  }
   273  
   274  // ListBeaconCommittees indicates an expected call of ListBeaconCommittees
   275  func (mr *MockBeaconChainClientMockRecorder) ListBeaconCommittees(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   276  	mr.mock.ctrl.T.Helper()
   277  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   278  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBeaconCommittees", reflect.TypeOf((*MockBeaconChainClient)(nil).ListBeaconCommittees), varargs...)
   279  }
   280  
   281  // ListBlocks mocks base method
   282  func (m *MockBeaconChainClient) ListBlocks(arg0 context.Context, arg1 *v1alpha1.ListBlocksRequest, arg2 ...grpc.CallOption) (*v1alpha1.ListBlocksResponse, error) {
   283  	m.ctrl.T.Helper()
   284  	varargs := []interface{}{arg0, arg1}
   285  	for _, a := range arg2 {
   286  		varargs = append(varargs, a)
   287  	}
   288  	ret := m.ctrl.Call(m, "ListBlocks", varargs...)
   289  	ret0, _ := ret[0].(*v1alpha1.ListBlocksResponse)
   290  	ret1, _ := ret[1].(error)
   291  	return ret0, ret1
   292  }
   293  
   294  // ListBlocks indicates an expected call of ListBlocks
   295  func (mr *MockBeaconChainClientMockRecorder) ListBlocks(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   296  	mr.mock.ctrl.T.Helper()
   297  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   298  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBlocks", reflect.TypeOf((*MockBeaconChainClient)(nil).ListBlocks), varargs...)
   299  }
   300  
   301  // ListIndexedAttestations mocks base method
   302  func (m *MockBeaconChainClient) ListIndexedAttestations(arg0 context.Context, arg1 *v1alpha1.ListIndexedAttestationsRequest, arg2 ...grpc.CallOption) (*v1alpha1.ListIndexedAttestationsResponse, error) {
   303  	m.ctrl.T.Helper()
   304  	varargs := []interface{}{arg0, arg1}
   305  	for _, a := range arg2 {
   306  		varargs = append(varargs, a)
   307  	}
   308  	ret := m.ctrl.Call(m, "ListIndexedAttestations", varargs...)
   309  	ret0, _ := ret[0].(*v1alpha1.ListIndexedAttestationsResponse)
   310  	ret1, _ := ret[1].(error)
   311  	return ret0, ret1
   312  }
   313  
   314  // ListIndexedAttestations indicates an expected call of ListIndexedAttestations
   315  func (mr *MockBeaconChainClientMockRecorder) ListIndexedAttestations(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   316  	mr.mock.ctrl.T.Helper()
   317  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   318  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListIndexedAttestations", reflect.TypeOf((*MockBeaconChainClient)(nil).ListIndexedAttestations), varargs...)
   319  }
   320  
   321  // ListValidatorAssignments mocks base method
   322  func (m *MockBeaconChainClient) ListValidatorAssignments(arg0 context.Context, arg1 *v1alpha1.ListValidatorAssignmentsRequest, arg2 ...grpc.CallOption) (*v1alpha1.ValidatorAssignments, error) {
   323  	m.ctrl.T.Helper()
   324  	varargs := []interface{}{arg0, arg1}
   325  	for _, a := range arg2 {
   326  		varargs = append(varargs, a)
   327  	}
   328  	ret := m.ctrl.Call(m, "ListValidatorAssignments", varargs...)
   329  	ret0, _ := ret[0].(*v1alpha1.ValidatorAssignments)
   330  	ret1, _ := ret[1].(error)
   331  	return ret0, ret1
   332  }
   333  
   334  // ListValidatorAssignments indicates an expected call of ListValidatorAssignments
   335  func (mr *MockBeaconChainClientMockRecorder) ListValidatorAssignments(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   336  	mr.mock.ctrl.T.Helper()
   337  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   338  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListValidatorAssignments", reflect.TypeOf((*MockBeaconChainClient)(nil).ListValidatorAssignments), varargs...)
   339  }
   340  
   341  // ListValidatorBalances mocks base method
   342  func (m *MockBeaconChainClient) ListValidatorBalances(arg0 context.Context, arg1 *v1alpha1.ListValidatorBalancesRequest, arg2 ...grpc.CallOption) (*v1alpha1.ValidatorBalances, error) {
   343  	m.ctrl.T.Helper()
   344  	varargs := []interface{}{arg0, arg1}
   345  	for _, a := range arg2 {
   346  		varargs = append(varargs, a)
   347  	}
   348  	ret := m.ctrl.Call(m, "ListValidatorBalances", varargs...)
   349  	ret0, _ := ret[0].(*v1alpha1.ValidatorBalances)
   350  	ret1, _ := ret[1].(error)
   351  	return ret0, ret1
   352  }
   353  
   354  // ListValidatorBalances indicates an expected call of ListValidatorBalances
   355  func (mr *MockBeaconChainClientMockRecorder) ListValidatorBalances(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   356  	mr.mock.ctrl.T.Helper()
   357  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   358  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListValidatorBalances", reflect.TypeOf((*MockBeaconChainClient)(nil).ListValidatorBalances), varargs...)
   359  }
   360  
   361  // ListValidators mocks base method
   362  func (m *MockBeaconChainClient) ListValidators(arg0 context.Context, arg1 *v1alpha1.ListValidatorsRequest, arg2 ...grpc.CallOption) (*v1alpha1.Validators, error) {
   363  	m.ctrl.T.Helper()
   364  	varargs := []interface{}{arg0, arg1}
   365  	for _, a := range arg2 {
   366  		varargs = append(varargs, a)
   367  	}
   368  	ret := m.ctrl.Call(m, "ListValidators", varargs...)
   369  	ret0, _ := ret[0].(*v1alpha1.Validators)
   370  	ret1, _ := ret[1].(error)
   371  	return ret0, ret1
   372  }
   373  
   374  // ListValidators indicates an expected call of ListValidators
   375  func (mr *MockBeaconChainClientMockRecorder) ListValidators(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   376  	mr.mock.ctrl.T.Helper()
   377  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   378  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListValidators", reflect.TypeOf((*MockBeaconChainClient)(nil).ListValidators), varargs...)
   379  }
   380  
   381  // StreamAttestations mocks base method
   382  func (m *MockBeaconChainClient) StreamAttestations(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (v1alpha1.BeaconChain_StreamAttestationsClient, error) {
   383  	m.ctrl.T.Helper()
   384  	varargs := []interface{}{arg0, arg1}
   385  	for _, a := range arg2 {
   386  		varargs = append(varargs, a)
   387  	}
   388  	ret := m.ctrl.Call(m, "StreamAttestations", varargs...)
   389  	ret0, _ := ret[0].(v1alpha1.BeaconChain_StreamAttestationsClient)
   390  	ret1, _ := ret[1].(error)
   391  	return ret0, ret1
   392  }
   393  
   394  // StreamAttestations indicates an expected call of StreamAttestations
   395  func (mr *MockBeaconChainClientMockRecorder) StreamAttestations(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   396  	mr.mock.ctrl.T.Helper()
   397  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   398  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamAttestations", reflect.TypeOf((*MockBeaconChainClient)(nil).StreamAttestations), varargs...)
   399  }
   400  
   401  // StreamBlocks mocks base method
   402  func (m *MockBeaconChainClient) StreamBlocks(arg0 context.Context, arg1 *v1alpha1.StreamBlocksRequest, arg2 ...grpc.CallOption) (v1alpha1.BeaconChain_StreamBlocksClient, error) {
   403  	m.ctrl.T.Helper()
   404  	varargs := []interface{}{arg0, arg1}
   405  	for _, a := range arg2 {
   406  		varargs = append(varargs, a)
   407  	}
   408  	ret := m.ctrl.Call(m, "StreamBlocks", varargs...)
   409  	ret0, _ := ret[0].(v1alpha1.BeaconChain_StreamBlocksClient)
   410  	ret1, _ := ret[1].(error)
   411  	return ret0, ret1
   412  }
   413  
   414  // StreamBlocks indicates an expected call of StreamBlocks
   415  func (mr *MockBeaconChainClientMockRecorder) StreamBlocks(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   416  	mr.mock.ctrl.T.Helper()
   417  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   418  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamBlocks", reflect.TypeOf((*MockBeaconChainClient)(nil).StreamBlocks), varargs...)
   419  }
   420  
   421  // StreamChainHead mocks base method
   422  func (m *MockBeaconChainClient) StreamChainHead(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (v1alpha1.BeaconChain_StreamChainHeadClient, error) {
   423  	m.ctrl.T.Helper()
   424  	varargs := []interface{}{arg0, arg1}
   425  	for _, a := range arg2 {
   426  		varargs = append(varargs, a)
   427  	}
   428  	ret := m.ctrl.Call(m, "StreamChainHead", varargs...)
   429  	ret0, _ := ret[0].(v1alpha1.BeaconChain_StreamChainHeadClient)
   430  	ret1, _ := ret[1].(error)
   431  	return ret0, ret1
   432  }
   433  
   434  // StreamChainHead indicates an expected call of StreamChainHead
   435  func (mr *MockBeaconChainClientMockRecorder) StreamChainHead(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   436  	mr.mock.ctrl.T.Helper()
   437  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   438  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamChainHead", reflect.TypeOf((*MockBeaconChainClient)(nil).StreamChainHead), varargs...)
   439  }
   440  
   441  // StreamIndexedAttestations mocks base method
   442  func (m *MockBeaconChainClient) StreamIndexedAttestations(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (v1alpha1.BeaconChain_StreamIndexedAttestationsClient, error) {
   443  	m.ctrl.T.Helper()
   444  	varargs := []interface{}{arg0, arg1}
   445  	for _, a := range arg2 {
   446  		varargs = append(varargs, a)
   447  	}
   448  	ret := m.ctrl.Call(m, "StreamIndexedAttestations", varargs...)
   449  	ret0, _ := ret[0].(v1alpha1.BeaconChain_StreamIndexedAttestationsClient)
   450  	ret1, _ := ret[1].(error)
   451  	return ret0, ret1
   452  }
   453  
   454  // StreamIndexedAttestations indicates an expected call of StreamIndexedAttestations
   455  func (mr *MockBeaconChainClientMockRecorder) StreamIndexedAttestations(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   456  	mr.mock.ctrl.T.Helper()
   457  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   458  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamIndexedAttestations", reflect.TypeOf((*MockBeaconChainClient)(nil).StreamIndexedAttestations), varargs...)
   459  }
   460  
   461  // StreamValidatorsInfo mocks base method
   462  func (m *MockBeaconChainClient) StreamValidatorsInfo(arg0 context.Context, arg1 ...grpc.CallOption) (v1alpha1.BeaconChain_StreamValidatorsInfoClient, error) {
   463  	m.ctrl.T.Helper()
   464  	varargs := []interface{}{arg0}
   465  	for _, a := range arg1 {
   466  		varargs = append(varargs, a)
   467  	}
   468  	ret := m.ctrl.Call(m, "StreamValidatorsInfo", varargs...)
   469  	ret0, _ := ret[0].(v1alpha1.BeaconChain_StreamValidatorsInfoClient)
   470  	ret1, _ := ret[1].(error)
   471  	return ret0, ret1
   472  }
   473  
   474  // StreamValidatorsInfo indicates an expected call of StreamValidatorsInfo
   475  func (mr *MockBeaconChainClientMockRecorder) StreamValidatorsInfo(arg0 interface{}, arg1 ...interface{}) *gomock.Call {
   476  	mr.mock.ctrl.T.Helper()
   477  	varargs := append([]interface{}{arg0}, arg1...)
   478  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamValidatorsInfo", reflect.TypeOf((*MockBeaconChainClient)(nil).StreamValidatorsInfo), varargs...)
   479  }
   480  
   481  // SubmitAttesterSlashing mocks base method
   482  func (m *MockBeaconChainClient) SubmitAttesterSlashing(arg0 context.Context, arg1 *v1alpha1.AttesterSlashing, arg2 ...grpc.CallOption) (*v1alpha1.SubmitSlashingResponse, error) {
   483  	m.ctrl.T.Helper()
   484  	varargs := []interface{}{arg0, arg1}
   485  	for _, a := range arg2 {
   486  		varargs = append(varargs, a)
   487  	}
   488  	ret := m.ctrl.Call(m, "SubmitAttesterSlashing", varargs...)
   489  	ret0, _ := ret[0].(*v1alpha1.SubmitSlashingResponse)
   490  	ret1, _ := ret[1].(error)
   491  	return ret0, ret1
   492  }
   493  
   494  // SubmitAttesterSlashing indicates an expected call of SubmitAttesterSlashing
   495  func (mr *MockBeaconChainClientMockRecorder) SubmitAttesterSlashing(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   496  	mr.mock.ctrl.T.Helper()
   497  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   498  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubmitAttesterSlashing", reflect.TypeOf((*MockBeaconChainClient)(nil).SubmitAttesterSlashing), varargs...)
   499  }
   500  
   501  // SubmitProposerSlashing mocks base method
   502  func (m *MockBeaconChainClient) SubmitProposerSlashing(arg0 context.Context, arg1 *v1alpha1.ProposerSlashing, arg2 ...grpc.CallOption) (*v1alpha1.SubmitSlashingResponse, error) {
   503  	m.ctrl.T.Helper()
   504  	varargs := []interface{}{arg0, arg1}
   505  	for _, a := range arg2 {
   506  		varargs = append(varargs, a)
   507  	}
   508  	ret := m.ctrl.Call(m, "SubmitProposerSlashing", varargs...)
   509  	ret0, _ := ret[0].(*v1alpha1.SubmitSlashingResponse)
   510  	ret1, _ := ret[1].(error)
   511  	return ret0, ret1
   512  }
   513  
   514  // SubmitProposerSlashing indicates an expected call of SubmitProposerSlashing
   515  func (mr *MockBeaconChainClientMockRecorder) SubmitProposerSlashing(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   516  	mr.mock.ctrl.T.Helper()
   517  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   518  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubmitProposerSlashing", reflect.TypeOf((*MockBeaconChainClient)(nil).SubmitProposerSlashing), varargs...)
   519  }
   520  
   521  // MockBeaconChain_StreamChainHeadClient is a mock of BeaconChain_StreamChainHeadClient interface
   522  type MockBeaconChain_StreamChainHeadClient struct {
   523  	ctrl     *gomock.Controller
   524  	recorder *MockBeaconChain_StreamChainHeadClientMockRecorder
   525  }
   526  
   527  // MockBeaconChain_StreamChainHeadClientMockRecorder is the mock recorder for MockBeaconChain_StreamChainHeadClient
   528  type MockBeaconChain_StreamChainHeadClientMockRecorder struct {
   529  	mock *MockBeaconChain_StreamChainHeadClient
   530  }
   531  
   532  // NewMockBeaconChain_StreamChainHeadClient creates a new mock instance
   533  func NewMockBeaconChain_StreamChainHeadClient(ctrl *gomock.Controller) *MockBeaconChain_StreamChainHeadClient {
   534  	mock := &MockBeaconChain_StreamChainHeadClient{ctrl: ctrl}
   535  	mock.recorder = &MockBeaconChain_StreamChainHeadClientMockRecorder{mock}
   536  	return mock
   537  }
   538  
   539  // EXPECT returns an object that allows the caller to indicate expected use
   540  func (m *MockBeaconChain_StreamChainHeadClient) EXPECT() *MockBeaconChain_StreamChainHeadClientMockRecorder {
   541  	return m.recorder
   542  }
   543  
   544  // CloseSend mocks base method
   545  func (m *MockBeaconChain_StreamChainHeadClient) CloseSend() error {
   546  	m.ctrl.T.Helper()
   547  	ret := m.ctrl.Call(m, "CloseSend")
   548  	ret0, _ := ret[0].(error)
   549  	return ret0
   550  }
   551  
   552  // CloseSend indicates an expected call of CloseSend
   553  func (mr *MockBeaconChain_StreamChainHeadClientMockRecorder) CloseSend() *gomock.Call {
   554  	mr.mock.ctrl.T.Helper()
   555  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockBeaconChain_StreamChainHeadClient)(nil).CloseSend))
   556  }
   557  
   558  // Context mocks base method
   559  func (m *MockBeaconChain_StreamChainHeadClient) Context() context.Context {
   560  	m.ctrl.T.Helper()
   561  	ret := m.ctrl.Call(m, "Context")
   562  	ret0, _ := ret[0].(context.Context)
   563  	return ret0
   564  }
   565  
   566  // Context indicates an expected call of Context
   567  func (mr *MockBeaconChain_StreamChainHeadClientMockRecorder) Context() *gomock.Call {
   568  	mr.mock.ctrl.T.Helper()
   569  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockBeaconChain_StreamChainHeadClient)(nil).Context))
   570  }
   571  
   572  // Header mocks base method
   573  func (m *MockBeaconChain_StreamChainHeadClient) Header() (metadata.MD, error) {
   574  	m.ctrl.T.Helper()
   575  	ret := m.ctrl.Call(m, "Header")
   576  	ret0, _ := ret[0].(metadata.MD)
   577  	ret1, _ := ret[1].(error)
   578  	return ret0, ret1
   579  }
   580  
   581  // Header indicates an expected call of Header
   582  func (mr *MockBeaconChain_StreamChainHeadClientMockRecorder) Header() *gomock.Call {
   583  	mr.mock.ctrl.T.Helper()
   584  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockBeaconChain_StreamChainHeadClient)(nil).Header))
   585  }
   586  
   587  // Recv mocks base method
   588  func (m *MockBeaconChain_StreamChainHeadClient) Recv() (*v1alpha1.ChainHead, error) {
   589  	m.ctrl.T.Helper()
   590  	ret := m.ctrl.Call(m, "Recv")
   591  	ret0, _ := ret[0].(*v1alpha1.ChainHead)
   592  	ret1, _ := ret[1].(error)
   593  	return ret0, ret1
   594  }
   595  
   596  // Recv indicates an expected call of Recv
   597  func (mr *MockBeaconChain_StreamChainHeadClientMockRecorder) Recv() *gomock.Call {
   598  	mr.mock.ctrl.T.Helper()
   599  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockBeaconChain_StreamChainHeadClient)(nil).Recv))
   600  }
   601  
   602  // RecvMsg mocks base method
   603  func (m *MockBeaconChain_StreamChainHeadClient) RecvMsg(arg0 interface{}) error {
   604  	m.ctrl.T.Helper()
   605  	ret := m.ctrl.Call(m, "RecvMsg", arg0)
   606  	ret0, _ := ret[0].(error)
   607  	return ret0
   608  }
   609  
   610  // RecvMsg indicates an expected call of RecvMsg
   611  func (mr *MockBeaconChain_StreamChainHeadClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call {
   612  	mr.mock.ctrl.T.Helper()
   613  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockBeaconChain_StreamChainHeadClient)(nil).RecvMsg), arg0)
   614  }
   615  
   616  // SendMsg mocks base method
   617  func (m *MockBeaconChain_StreamChainHeadClient) SendMsg(arg0 interface{}) error {
   618  	m.ctrl.T.Helper()
   619  	ret := m.ctrl.Call(m, "SendMsg", arg0)
   620  	ret0, _ := ret[0].(error)
   621  	return ret0
   622  }
   623  
   624  // SendMsg indicates an expected call of SendMsg
   625  func (mr *MockBeaconChain_StreamChainHeadClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call {
   626  	mr.mock.ctrl.T.Helper()
   627  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockBeaconChain_StreamChainHeadClient)(nil).SendMsg), arg0)
   628  }
   629  
   630  // Trailer mocks base method
   631  func (m *MockBeaconChain_StreamChainHeadClient) Trailer() metadata.MD {
   632  	m.ctrl.T.Helper()
   633  	ret := m.ctrl.Call(m, "Trailer")
   634  	ret0, _ := ret[0].(metadata.MD)
   635  	return ret0
   636  }
   637  
   638  // Trailer indicates an expected call of Trailer
   639  func (mr *MockBeaconChain_StreamChainHeadClientMockRecorder) Trailer() *gomock.Call {
   640  	mr.mock.ctrl.T.Helper()
   641  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockBeaconChain_StreamChainHeadClient)(nil).Trailer))
   642  }
   643  
   644  // MockBeaconChain_StreamAttestationsClient is a mock of BeaconChain_StreamAttestationsClient interface
   645  type MockBeaconChain_StreamAttestationsClient struct {
   646  	ctrl     *gomock.Controller
   647  	recorder *MockBeaconChain_StreamAttestationsClientMockRecorder
   648  }
   649  
   650  // MockBeaconChain_StreamAttestationsClientMockRecorder is the mock recorder for MockBeaconChain_StreamAttestationsClient
   651  type MockBeaconChain_StreamAttestationsClientMockRecorder struct {
   652  	mock *MockBeaconChain_StreamAttestationsClient
   653  }
   654  
   655  // NewMockBeaconChain_StreamAttestationsClient creates a new mock instance
   656  func NewMockBeaconChain_StreamAttestationsClient(ctrl *gomock.Controller) *MockBeaconChain_StreamAttestationsClient {
   657  	mock := &MockBeaconChain_StreamAttestationsClient{ctrl: ctrl}
   658  	mock.recorder = &MockBeaconChain_StreamAttestationsClientMockRecorder{mock}
   659  	return mock
   660  }
   661  
   662  // EXPECT returns an object that allows the caller to indicate expected use
   663  func (m *MockBeaconChain_StreamAttestationsClient) EXPECT() *MockBeaconChain_StreamAttestationsClientMockRecorder {
   664  	return m.recorder
   665  }
   666  
   667  // CloseSend mocks base method
   668  func (m *MockBeaconChain_StreamAttestationsClient) CloseSend() error {
   669  	m.ctrl.T.Helper()
   670  	ret := m.ctrl.Call(m, "CloseSend")
   671  	ret0, _ := ret[0].(error)
   672  	return ret0
   673  }
   674  
   675  // CloseSend indicates an expected call of CloseSend
   676  func (mr *MockBeaconChain_StreamAttestationsClientMockRecorder) CloseSend() *gomock.Call {
   677  	mr.mock.ctrl.T.Helper()
   678  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockBeaconChain_StreamAttestationsClient)(nil).CloseSend))
   679  }
   680  
   681  // Context mocks base method
   682  func (m *MockBeaconChain_StreamAttestationsClient) Context() context.Context {
   683  	m.ctrl.T.Helper()
   684  	ret := m.ctrl.Call(m, "Context")
   685  	ret0, _ := ret[0].(context.Context)
   686  	return ret0
   687  }
   688  
   689  // Context indicates an expected call of Context
   690  func (mr *MockBeaconChain_StreamAttestationsClientMockRecorder) Context() *gomock.Call {
   691  	mr.mock.ctrl.T.Helper()
   692  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockBeaconChain_StreamAttestationsClient)(nil).Context))
   693  }
   694  
   695  // Header mocks base method
   696  func (m *MockBeaconChain_StreamAttestationsClient) Header() (metadata.MD, error) {
   697  	m.ctrl.T.Helper()
   698  	ret := m.ctrl.Call(m, "Header")
   699  	ret0, _ := ret[0].(metadata.MD)
   700  	ret1, _ := ret[1].(error)
   701  	return ret0, ret1
   702  }
   703  
   704  // Header indicates an expected call of Header
   705  func (mr *MockBeaconChain_StreamAttestationsClientMockRecorder) Header() *gomock.Call {
   706  	mr.mock.ctrl.T.Helper()
   707  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockBeaconChain_StreamAttestationsClient)(nil).Header))
   708  }
   709  
   710  // Recv mocks base method
   711  func (m *MockBeaconChain_StreamAttestationsClient) Recv() (*v1alpha1.Attestation, error) {
   712  	m.ctrl.T.Helper()
   713  	ret := m.ctrl.Call(m, "Recv")
   714  	ret0, _ := ret[0].(*v1alpha1.Attestation)
   715  	ret1, _ := ret[1].(error)
   716  	return ret0, ret1
   717  }
   718  
   719  // Recv indicates an expected call of Recv
   720  func (mr *MockBeaconChain_StreamAttestationsClientMockRecorder) Recv() *gomock.Call {
   721  	mr.mock.ctrl.T.Helper()
   722  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockBeaconChain_StreamAttestationsClient)(nil).Recv))
   723  }
   724  
   725  // RecvMsg mocks base method
   726  func (m *MockBeaconChain_StreamAttestationsClient) RecvMsg(arg0 interface{}) error {
   727  	m.ctrl.T.Helper()
   728  	ret := m.ctrl.Call(m, "RecvMsg", arg0)
   729  	ret0, _ := ret[0].(error)
   730  	return ret0
   731  }
   732  
   733  // RecvMsg indicates an expected call of RecvMsg
   734  func (mr *MockBeaconChain_StreamAttestationsClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call {
   735  	mr.mock.ctrl.T.Helper()
   736  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockBeaconChain_StreamAttestationsClient)(nil).RecvMsg), arg0)
   737  }
   738  
   739  // SendMsg mocks base method
   740  func (m *MockBeaconChain_StreamAttestationsClient) SendMsg(arg0 interface{}) error {
   741  	m.ctrl.T.Helper()
   742  	ret := m.ctrl.Call(m, "SendMsg", arg0)
   743  	ret0, _ := ret[0].(error)
   744  	return ret0
   745  }
   746  
   747  // SendMsg indicates an expected call of SendMsg
   748  func (mr *MockBeaconChain_StreamAttestationsClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call {
   749  	mr.mock.ctrl.T.Helper()
   750  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockBeaconChain_StreamAttestationsClient)(nil).SendMsg), arg0)
   751  }
   752  
   753  // Trailer mocks base method
   754  func (m *MockBeaconChain_StreamAttestationsClient) Trailer() metadata.MD {
   755  	m.ctrl.T.Helper()
   756  	ret := m.ctrl.Call(m, "Trailer")
   757  	ret0, _ := ret[0].(metadata.MD)
   758  	return ret0
   759  }
   760  
   761  // Trailer indicates an expected call of Trailer
   762  func (mr *MockBeaconChain_StreamAttestationsClientMockRecorder) Trailer() *gomock.Call {
   763  	mr.mock.ctrl.T.Helper()
   764  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockBeaconChain_StreamAttestationsClient)(nil).Trailer))
   765  }
   766  
   767  // MockBeaconChain_StreamBlocksClient is a mock of BeaconChain_StreamBlocksClient interface
   768  type MockBeaconChain_StreamBlocksClient struct {
   769  	ctrl     *gomock.Controller
   770  	recorder *MockBeaconChain_StreamBlocksClientMockRecorder
   771  }
   772  
   773  // MockBeaconChain_StreamBlocksClientMockRecorder is the mock recorder for MockBeaconChain_StreamBlocksClient
   774  type MockBeaconChain_StreamBlocksClientMockRecorder struct {
   775  	mock *MockBeaconChain_StreamBlocksClient
   776  }
   777  
   778  // NewMockBeaconChain_StreamBlocksClient creates a new mock instance
   779  func NewMockBeaconChain_StreamBlocksClient(ctrl *gomock.Controller) *MockBeaconChain_StreamBlocksClient {
   780  	mock := &MockBeaconChain_StreamBlocksClient{ctrl: ctrl}
   781  	mock.recorder = &MockBeaconChain_StreamBlocksClientMockRecorder{mock}
   782  	return mock
   783  }
   784  
   785  // EXPECT returns an object that allows the caller to indicate expected use
   786  func (m *MockBeaconChain_StreamBlocksClient) EXPECT() *MockBeaconChain_StreamBlocksClientMockRecorder {
   787  	return m.recorder
   788  }
   789  
   790  // CloseSend mocks base method
   791  func (m *MockBeaconChain_StreamBlocksClient) CloseSend() error {
   792  	m.ctrl.T.Helper()
   793  	ret := m.ctrl.Call(m, "CloseSend")
   794  	ret0, _ := ret[0].(error)
   795  	return ret0
   796  }
   797  
   798  // CloseSend indicates an expected call of CloseSend
   799  func (mr *MockBeaconChain_StreamBlocksClientMockRecorder) CloseSend() *gomock.Call {
   800  	mr.mock.ctrl.T.Helper()
   801  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockBeaconChain_StreamBlocksClient)(nil).CloseSend))
   802  }
   803  
   804  // Context mocks base method
   805  func (m *MockBeaconChain_StreamBlocksClient) Context() context.Context {
   806  	m.ctrl.T.Helper()
   807  	ret := m.ctrl.Call(m, "Context")
   808  	ret0, _ := ret[0].(context.Context)
   809  	return ret0
   810  }
   811  
   812  // Context indicates an expected call of Context
   813  func (mr *MockBeaconChain_StreamBlocksClientMockRecorder) Context() *gomock.Call {
   814  	mr.mock.ctrl.T.Helper()
   815  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockBeaconChain_StreamBlocksClient)(nil).Context))
   816  }
   817  
   818  // Header mocks base method
   819  func (m *MockBeaconChain_StreamBlocksClient) Header() (metadata.MD, error) {
   820  	m.ctrl.T.Helper()
   821  	ret := m.ctrl.Call(m, "Header")
   822  	ret0, _ := ret[0].(metadata.MD)
   823  	ret1, _ := ret[1].(error)
   824  	return ret0, ret1
   825  }
   826  
   827  // Header indicates an expected call of Header
   828  func (mr *MockBeaconChain_StreamBlocksClientMockRecorder) Header() *gomock.Call {
   829  	mr.mock.ctrl.T.Helper()
   830  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockBeaconChain_StreamBlocksClient)(nil).Header))
   831  }
   832  
   833  // Recv mocks base method
   834  func (m *MockBeaconChain_StreamBlocksClient) Recv() (*v1alpha1.SignedBeaconBlock, error) {
   835  	m.ctrl.T.Helper()
   836  	ret := m.ctrl.Call(m, "Recv")
   837  	ret0, _ := ret[0].(*v1alpha1.SignedBeaconBlock)
   838  	ret1, _ := ret[1].(error)
   839  	return ret0, ret1
   840  }
   841  
   842  // Recv indicates an expected call of Recv
   843  func (mr *MockBeaconChain_StreamBlocksClientMockRecorder) Recv() *gomock.Call {
   844  	mr.mock.ctrl.T.Helper()
   845  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockBeaconChain_StreamBlocksClient)(nil).Recv))
   846  }
   847  
   848  // RecvMsg mocks base method
   849  func (m *MockBeaconChain_StreamBlocksClient) RecvMsg(arg0 interface{}) error {
   850  	m.ctrl.T.Helper()
   851  	ret := m.ctrl.Call(m, "RecvMsg", arg0)
   852  	ret0, _ := ret[0].(error)
   853  	return ret0
   854  }
   855  
   856  // RecvMsg indicates an expected call of RecvMsg
   857  func (mr *MockBeaconChain_StreamBlocksClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call {
   858  	mr.mock.ctrl.T.Helper()
   859  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockBeaconChain_StreamBlocksClient)(nil).RecvMsg), arg0)
   860  }
   861  
   862  // SendMsg mocks base method
   863  func (m *MockBeaconChain_StreamBlocksClient) SendMsg(arg0 interface{}) error {
   864  	m.ctrl.T.Helper()
   865  	ret := m.ctrl.Call(m, "SendMsg", arg0)
   866  	ret0, _ := ret[0].(error)
   867  	return ret0
   868  }
   869  
   870  // SendMsg indicates an expected call of SendMsg
   871  func (mr *MockBeaconChain_StreamBlocksClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call {
   872  	mr.mock.ctrl.T.Helper()
   873  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockBeaconChain_StreamBlocksClient)(nil).SendMsg), arg0)
   874  }
   875  
   876  // Trailer mocks base method
   877  func (m *MockBeaconChain_StreamBlocksClient) Trailer() metadata.MD {
   878  	m.ctrl.T.Helper()
   879  	ret := m.ctrl.Call(m, "Trailer")
   880  	ret0, _ := ret[0].(metadata.MD)
   881  	return ret0
   882  }
   883  
   884  // Trailer indicates an expected call of Trailer
   885  func (mr *MockBeaconChain_StreamBlocksClientMockRecorder) Trailer() *gomock.Call {
   886  	mr.mock.ctrl.T.Helper()
   887  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockBeaconChain_StreamBlocksClient)(nil).Trailer))
   888  }
   889  
   890  // MockBeaconChain_StreamValidatorsInfoClient is a mock of BeaconChain_StreamValidatorsInfoClient interface
   891  type MockBeaconChain_StreamValidatorsInfoClient struct {
   892  	ctrl     *gomock.Controller
   893  	recorder *MockBeaconChain_StreamValidatorsInfoClientMockRecorder
   894  }
   895  
   896  // MockBeaconChain_StreamValidatorsInfoClientMockRecorder is the mock recorder for MockBeaconChain_StreamValidatorsInfoClient
   897  type MockBeaconChain_StreamValidatorsInfoClientMockRecorder struct {
   898  	mock *MockBeaconChain_StreamValidatorsInfoClient
   899  }
   900  
   901  // NewMockBeaconChain_StreamValidatorsInfoClient creates a new mock instance
   902  func NewMockBeaconChain_StreamValidatorsInfoClient(ctrl *gomock.Controller) *MockBeaconChain_StreamValidatorsInfoClient {
   903  	mock := &MockBeaconChain_StreamValidatorsInfoClient{ctrl: ctrl}
   904  	mock.recorder = &MockBeaconChain_StreamValidatorsInfoClientMockRecorder{mock}
   905  	return mock
   906  }
   907  
   908  // EXPECT returns an object that allows the caller to indicate expected use
   909  func (m *MockBeaconChain_StreamValidatorsInfoClient) EXPECT() *MockBeaconChain_StreamValidatorsInfoClientMockRecorder {
   910  	return m.recorder
   911  }
   912  
   913  // CloseSend mocks base method
   914  func (m *MockBeaconChain_StreamValidatorsInfoClient) CloseSend() error {
   915  	m.ctrl.T.Helper()
   916  	ret := m.ctrl.Call(m, "CloseSend")
   917  	ret0, _ := ret[0].(error)
   918  	return ret0
   919  }
   920  
   921  // CloseSend indicates an expected call of CloseSend
   922  func (mr *MockBeaconChain_StreamValidatorsInfoClientMockRecorder) CloseSend() *gomock.Call {
   923  	mr.mock.ctrl.T.Helper()
   924  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockBeaconChain_StreamValidatorsInfoClient)(nil).CloseSend))
   925  }
   926  
   927  // Context mocks base method
   928  func (m *MockBeaconChain_StreamValidatorsInfoClient) Context() context.Context {
   929  	m.ctrl.T.Helper()
   930  	ret := m.ctrl.Call(m, "Context")
   931  	ret0, _ := ret[0].(context.Context)
   932  	return ret0
   933  }
   934  
   935  // Context indicates an expected call of Context
   936  func (mr *MockBeaconChain_StreamValidatorsInfoClientMockRecorder) Context() *gomock.Call {
   937  	mr.mock.ctrl.T.Helper()
   938  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockBeaconChain_StreamValidatorsInfoClient)(nil).Context))
   939  }
   940  
   941  // Header mocks base method
   942  func (m *MockBeaconChain_StreamValidatorsInfoClient) Header() (metadata.MD, error) {
   943  	m.ctrl.T.Helper()
   944  	ret := m.ctrl.Call(m, "Header")
   945  	ret0, _ := ret[0].(metadata.MD)
   946  	ret1, _ := ret[1].(error)
   947  	return ret0, ret1
   948  }
   949  
   950  // Header indicates an expected call of Header
   951  func (mr *MockBeaconChain_StreamValidatorsInfoClientMockRecorder) Header() *gomock.Call {
   952  	mr.mock.ctrl.T.Helper()
   953  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockBeaconChain_StreamValidatorsInfoClient)(nil).Header))
   954  }
   955  
   956  // Recv mocks base method
   957  func (m *MockBeaconChain_StreamValidatorsInfoClient) Recv() (*v1alpha1.ValidatorInfo, error) {
   958  	m.ctrl.T.Helper()
   959  	ret := m.ctrl.Call(m, "Recv")
   960  	ret0, _ := ret[0].(*v1alpha1.ValidatorInfo)
   961  	ret1, _ := ret[1].(error)
   962  	return ret0, ret1
   963  }
   964  
   965  // Recv indicates an expected call of Recv
   966  func (mr *MockBeaconChain_StreamValidatorsInfoClientMockRecorder) Recv() *gomock.Call {
   967  	mr.mock.ctrl.T.Helper()
   968  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockBeaconChain_StreamValidatorsInfoClient)(nil).Recv))
   969  }
   970  
   971  // RecvMsg mocks base method
   972  func (m *MockBeaconChain_StreamValidatorsInfoClient) RecvMsg(arg0 interface{}) error {
   973  	m.ctrl.T.Helper()
   974  	ret := m.ctrl.Call(m, "RecvMsg", arg0)
   975  	ret0, _ := ret[0].(error)
   976  	return ret0
   977  }
   978  
   979  // RecvMsg indicates an expected call of RecvMsg
   980  func (mr *MockBeaconChain_StreamValidatorsInfoClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call {
   981  	mr.mock.ctrl.T.Helper()
   982  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockBeaconChain_StreamValidatorsInfoClient)(nil).RecvMsg), arg0)
   983  }
   984  
   985  // Send mocks base method
   986  func (m *MockBeaconChain_StreamValidatorsInfoClient) Send(arg0 *v1alpha1.ValidatorChangeSet) error {
   987  	m.ctrl.T.Helper()
   988  	ret := m.ctrl.Call(m, "Send", arg0)
   989  	ret0, _ := ret[0].(error)
   990  	return ret0
   991  }
   992  
   993  // Send indicates an expected call of Send
   994  func (mr *MockBeaconChain_StreamValidatorsInfoClientMockRecorder) Send(arg0 interface{}) *gomock.Call {
   995  	mr.mock.ctrl.T.Helper()
   996  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockBeaconChain_StreamValidatorsInfoClient)(nil).Send), arg0)
   997  }
   998  
   999  // SendMsg mocks base method
  1000  func (m *MockBeaconChain_StreamValidatorsInfoClient) SendMsg(arg0 interface{}) error {
  1001  	m.ctrl.T.Helper()
  1002  	ret := m.ctrl.Call(m, "SendMsg", arg0)
  1003  	ret0, _ := ret[0].(error)
  1004  	return ret0
  1005  }
  1006  
  1007  // SendMsg indicates an expected call of SendMsg
  1008  func (mr *MockBeaconChain_StreamValidatorsInfoClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call {
  1009  	mr.mock.ctrl.T.Helper()
  1010  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockBeaconChain_StreamValidatorsInfoClient)(nil).SendMsg), arg0)
  1011  }
  1012  
  1013  // Trailer mocks base method
  1014  func (m *MockBeaconChain_StreamValidatorsInfoClient) Trailer() metadata.MD {
  1015  	m.ctrl.T.Helper()
  1016  	ret := m.ctrl.Call(m, "Trailer")
  1017  	ret0, _ := ret[0].(metadata.MD)
  1018  	return ret0
  1019  }
  1020  
  1021  // Trailer indicates an expected call of Trailer
  1022  func (mr *MockBeaconChain_StreamValidatorsInfoClientMockRecorder) Trailer() *gomock.Call {
  1023  	mr.mock.ctrl.T.Helper()
  1024  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockBeaconChain_StreamValidatorsInfoClient)(nil).Trailer))
  1025  }
  1026  
  1027  // MockBeaconChain_StreamIndexedAttestationsClient is a mock of BeaconChain_StreamIndexedAttestationsClient interface
  1028  type MockBeaconChain_StreamIndexedAttestationsClient struct {
  1029  	ctrl     *gomock.Controller
  1030  	recorder *MockBeaconChain_StreamIndexedAttestationsClientMockRecorder
  1031  }
  1032  
  1033  // MockBeaconChain_StreamIndexedAttestationsClientMockRecorder is the mock recorder for MockBeaconChain_StreamIndexedAttestationsClient
  1034  type MockBeaconChain_StreamIndexedAttestationsClientMockRecorder struct {
  1035  	mock *MockBeaconChain_StreamIndexedAttestationsClient
  1036  }
  1037  
  1038  // NewMockBeaconChain_StreamIndexedAttestationsClient creates a new mock instance
  1039  func NewMockBeaconChain_StreamIndexedAttestationsClient(ctrl *gomock.Controller) *MockBeaconChain_StreamIndexedAttestationsClient {
  1040  	mock := &MockBeaconChain_StreamIndexedAttestationsClient{ctrl: ctrl}
  1041  	mock.recorder = &MockBeaconChain_StreamIndexedAttestationsClientMockRecorder{mock}
  1042  	return mock
  1043  }
  1044  
  1045  // EXPECT returns an object that allows the caller to indicate expected use
  1046  func (m *MockBeaconChain_StreamIndexedAttestationsClient) EXPECT() *MockBeaconChain_StreamIndexedAttestationsClientMockRecorder {
  1047  	return m.recorder
  1048  }
  1049  
  1050  // CloseSend mocks base method
  1051  func (m *MockBeaconChain_StreamIndexedAttestationsClient) CloseSend() error {
  1052  	m.ctrl.T.Helper()
  1053  	ret := m.ctrl.Call(m, "CloseSend")
  1054  	ret0, _ := ret[0].(error)
  1055  	return ret0
  1056  }
  1057  
  1058  // CloseSend indicates an expected call of CloseSend
  1059  func (mr *MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) CloseSend() *gomock.Call {
  1060  	mr.mock.ctrl.T.Helper()
  1061  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockBeaconChain_StreamIndexedAttestationsClient)(nil).CloseSend))
  1062  }
  1063  
  1064  // Context mocks base method
  1065  func (m *MockBeaconChain_StreamIndexedAttestationsClient) Context() context.Context {
  1066  	m.ctrl.T.Helper()
  1067  	ret := m.ctrl.Call(m, "Context")
  1068  	ret0, _ := ret[0].(context.Context)
  1069  	return ret0
  1070  }
  1071  
  1072  // Context indicates an expected call of Context
  1073  func (mr *MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) Context() *gomock.Call {
  1074  	mr.mock.ctrl.T.Helper()
  1075  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockBeaconChain_StreamIndexedAttestationsClient)(nil).Context))
  1076  }
  1077  
  1078  // Header mocks base method
  1079  func (m *MockBeaconChain_StreamIndexedAttestationsClient) Header() (metadata.MD, error) {
  1080  	m.ctrl.T.Helper()
  1081  	ret := m.ctrl.Call(m, "Header")
  1082  	ret0, _ := ret[0].(metadata.MD)
  1083  	ret1, _ := ret[1].(error)
  1084  	return ret0, ret1
  1085  }
  1086  
  1087  // Header indicates an expected call of Header
  1088  func (mr *MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) Header() *gomock.Call {
  1089  	mr.mock.ctrl.T.Helper()
  1090  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockBeaconChain_StreamIndexedAttestationsClient)(nil).Header))
  1091  }
  1092  
  1093  // Recv mocks base method
  1094  func (m *MockBeaconChain_StreamIndexedAttestationsClient) Recv() (*v1alpha1.IndexedAttestation, error) {
  1095  	m.ctrl.T.Helper()
  1096  	ret := m.ctrl.Call(m, "Recv")
  1097  	ret0, _ := ret[0].(*v1alpha1.IndexedAttestation)
  1098  	ret1, _ := ret[1].(error)
  1099  	return ret0, ret1
  1100  }
  1101  
  1102  // Recv indicates an expected call of Recv
  1103  func (mr *MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) Recv() *gomock.Call {
  1104  	mr.mock.ctrl.T.Helper()
  1105  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockBeaconChain_StreamIndexedAttestationsClient)(nil).Recv))
  1106  }
  1107  
  1108  // RecvMsg mocks base method
  1109  func (m *MockBeaconChain_StreamIndexedAttestationsClient) RecvMsg(arg0 interface{}) error {
  1110  	m.ctrl.T.Helper()
  1111  	ret := m.ctrl.Call(m, "RecvMsg", arg0)
  1112  	ret0, _ := ret[0].(error)
  1113  	return ret0
  1114  }
  1115  
  1116  // RecvMsg indicates an expected call of RecvMsg
  1117  func (mr *MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call {
  1118  	mr.mock.ctrl.T.Helper()
  1119  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockBeaconChain_StreamIndexedAttestationsClient)(nil).RecvMsg), arg0)
  1120  }
  1121  
  1122  // SendMsg mocks base method
  1123  func (m *MockBeaconChain_StreamIndexedAttestationsClient) SendMsg(arg0 interface{}) error {
  1124  	m.ctrl.T.Helper()
  1125  	ret := m.ctrl.Call(m, "SendMsg", arg0)
  1126  	ret0, _ := ret[0].(error)
  1127  	return ret0
  1128  }
  1129  
  1130  // SendMsg indicates an expected call of SendMsg
  1131  func (mr *MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call {
  1132  	mr.mock.ctrl.T.Helper()
  1133  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockBeaconChain_StreamIndexedAttestationsClient)(nil).SendMsg), arg0)
  1134  }
  1135  
  1136  // Trailer mocks base method
  1137  func (m *MockBeaconChain_StreamIndexedAttestationsClient) Trailer() metadata.MD {
  1138  	m.ctrl.T.Helper()
  1139  	ret := m.ctrl.Call(m, "Trailer")
  1140  	ret0, _ := ret[0].(metadata.MD)
  1141  	return ret0
  1142  }
  1143  
  1144  // Trailer indicates an expected call of Trailer
  1145  func (mr *MockBeaconChain_StreamIndexedAttestationsClientMockRecorder) Trailer() *gomock.Call {
  1146  	mr.mock.ctrl.T.Helper()
  1147  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockBeaconChain_StreamIndexedAttestationsClient)(nil).Trailer))
  1148  }