diff --git a/beacon-chain/core/helpers/validators.go b/beacon-chain/core/helpers/validators.go index 171b484bce..a817daba8e 100644 --- a/beacon-chain/core/helpers/validators.go +++ b/beacon-chain/core/helpers/validators.go @@ -152,7 +152,7 @@ func ActiveValidatorIndices(ctx context.Context, s state.ReadOnlyBeaconState, ep } if err := UpdateCommitteeCache(ctx, s, epoch); err != nil { - return nil, errors.Wrap(err, "could not update committee cache") + log.WithError(err).Error("Could not update committee cache") } return indices, nil diff --git a/changelog/potuz_return_indices_updateerr.md b/changelog/potuz_return_indices_updateerr.md new file mode 100644 index 0000000000..6c0fa87271 --- /dev/null +++ b/changelog/potuz_return_indices_updateerr.md @@ -0,0 +1,3 @@ +### Fixed + +- Do not error when committee has been computed correctly but updating the cache failed.