This commit is contained in:
rkapka
2022-12-20 20:28:53 +01:00
parent 6a5ecbd68f
commit d602c94b7b
3 changed files with 2 additions and 3 deletions

View File

@@ -340,7 +340,7 @@ func (bs *Server) ListBLSToExecutionChanges(ctx context.Context, _ *emptypb.Empt
ctx, span := trace.StartSpan(ctx, "beacon.ListBLSToExecutionChanges")
defer span.End()
sourceChanges, err := bs.BLSToExecPool.PendingBLSToExecChanges()
sourceChanges, err := bs.BLSChangesPool.PendingBLSToExecChanges()
if err != nil {
return nil, status.Errorf(codes.Internal, "Could not get BLS to execution changes: %v", err)
}

View File

@@ -1178,7 +1178,7 @@ func TestListBLSToExecutionChanges(t *testing.T) {
}
s := &Server{
BLSToExecPool: &blstoexecmock.PoolMock{Changes: []*ethpbv1alpha1.SignedBLSToExecutionChange{change1, change2}},
BLSChangesPool: &blstoexecmock.PoolMock{Changes: []*ethpbv1alpha1.SignedBLSToExecutionChange{change1, change2}},
}
resp, err := s.ListBLSToExecutionChanges(context.Background(), &emptypb.Empty{})

View File

@@ -33,7 +33,6 @@ type Server struct {
AttestationsPool attestations.Pool
SlashingsPool slashings.PoolManager
VoluntaryExitsPool voluntaryexits.PoolManager
BLSToExecPool blstoexec.PoolManager
StateGenService stategen.StateManager
StateFetcher statefetcher.Fetcher
HeadFetcher blockchain.HeadFetcher