mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
fix
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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{})
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user