diff --git a/packages/beacon-node/src/api/impl/beacon/state/index.ts b/packages/beacon-node/src/api/impl/beacon/state/index.ts index 8cce896e108..a1e17b80ea8 100644 --- a/packages/beacon-node/src/api/impl/beacon/state/index.ts +++ b/packages/beacon-node/src/api/impl/beacon/state/index.ts @@ -18,8 +18,7 @@ import {filterStateValidatorsByStatus, getStateValidatorIndex, getStateResponse, export function getBeaconStateApi({ chain, config, - logger, -}: Pick): ApplicationMethods { +}: Pick): ApplicationMethods { async function getState( stateId: routes.beacon.StateId ): Promise<{state: BeaconStateAllForks; executionOptimistic: boolean; finalized: boolean}> { @@ -95,8 +94,6 @@ export function getBeaconStateApi({ currentEpoch ); validatorResponses.push(validatorResponse); - } else { - logger.warn(resp.reason, {id}); } } return { @@ -145,8 +142,6 @@ export function getBeaconStateApi({ const index = resp.validatorIndex; const {pubkey, activationEpoch} = state.validators.getReadonly(index); validatorIdentities.push({index, pubkey, activationEpoch}); - } else { - logger.warn(resp.reason, {id}); } } } else {