successfull -> successful (#2842)
This commit is contained in:
parent
7b6976d3fd
commit
9c0d9b546a
|
@ -276,7 +276,7 @@ declareGauge nbc_peers,
|
|||
"Number of active libp2p peers"
|
||||
|
||||
declareCounter nbc_successful_discoveries,
|
||||
"Number of successfull discoveries"
|
||||
"Number of successful discoveries"
|
||||
|
||||
declareCounter nbc_failed_discoveries,
|
||||
"Number of failed discoveries"
|
||||
|
|
|
@ -37,7 +37,7 @@ proc initGenesis*(vc: ValidatorClientRef): Future[RestGenesis] {.async.} =
|
|||
genesis_root = resp.data.data.genesis_validators_root
|
||||
gres.add(resp.data.data)
|
||||
else:
|
||||
debug "Received unsuccessfull response code", endpoint = nodes[i],
|
||||
debug "Received unsuccessful response code", endpoint = nodes[i],
|
||||
response_code = resp.status
|
||||
bres.add(nodes[i])
|
||||
elif fut.failed():
|
||||
|
|
|
@ -518,7 +518,7 @@ proc getRewindPoint*[T](sq: SyncQueue[T], failSlot: Slot,
|
|||
|
||||
proc push*[T](sq: SyncQueue[T], sr: SyncRequest[T],
|
||||
data: seq[ForkedSignedBeaconBlock]) {.async, gcsafe.} =
|
||||
## Push successfull result to queue ``sq``.
|
||||
## Push successful result to queue ``sq``.
|
||||
mixin updateScore
|
||||
|
||||
if sr.index notin sq.pending:
|
||||
|
|
|
@ -420,7 +420,7 @@ proc getProposerDuties*(vc: ValidatorClientRef,
|
|||
let response = apiResponse.get()
|
||||
case response.status
|
||||
of 200:
|
||||
debug "Received successfull response", endpoint = node
|
||||
debug "Received successful response", endpoint = node
|
||||
return response.data
|
||||
of 400:
|
||||
debug "Received invalid request response",
|
||||
|
@ -455,7 +455,7 @@ proc getAttesterDuties*(vc: ValidatorClientRef, epoch: Epoch,
|
|||
let response = apiResponse.get()
|
||||
case response.status
|
||||
of 200:
|
||||
debug "Received successfull response", endpoint = node
|
||||
debug "Received successful response", endpoint = node
|
||||
return response.data
|
||||
of 400:
|
||||
debug "Received invalid request response",
|
||||
|
@ -488,7 +488,7 @@ proc getForkSchedule*(vc: ValidatorClientRef): Future[seq[Fork]] {.async.} =
|
|||
let response = apiResponse.get()
|
||||
case response.status
|
||||
of 200:
|
||||
debug "Received successfull response", endpoint = node
|
||||
debug "Received successful response", endpoint = node
|
||||
return response.data.data
|
||||
of 500:
|
||||
debug "Received internal error response",
|
||||
|
@ -513,7 +513,7 @@ proc getHeadStateFork*(vc: ValidatorClientRef): Future[Fork] {.async.} =
|
|||
let response = apiResponse.get()
|
||||
case response.status
|
||||
of 200:
|
||||
debug "Received successfull response", endpoint = node
|
||||
debug "Received successful response", endpoint = node
|
||||
return response.data.data
|
||||
of 400, 404:
|
||||
debug "Received invalid request response",
|
||||
|
@ -545,7 +545,7 @@ proc getValidators*(vc: ValidatorClientRef,
|
|||
let response = apiResponse.get()
|
||||
case response.status
|
||||
of 200:
|
||||
debug "Received successfull response", endpoint = node
|
||||
debug "Received successful response", endpoint = node
|
||||
return response.data.data
|
||||
of 400, 404:
|
||||
debug "Received invalid request response",
|
||||
|
@ -578,7 +578,7 @@ proc produceAttestationData*(vc: ValidatorClientRef, slot: Slot,
|
|||
let response = apiResponse.get()
|
||||
case response.status
|
||||
of 200:
|
||||
debug "Received successfull response", endpoint = node
|
||||
debug "Received successful response", endpoint = node
|
||||
return response.data.data
|
||||
of 400:
|
||||
debug "Received invalid request response",
|
||||
|
@ -671,7 +671,7 @@ proc getAggregatedAttestation*(vc: ValidatorClientRef, slot: Slot,
|
|||
let response = apiResponse.get()
|
||||
case response.status:
|
||||
of 200:
|
||||
debug "Received successfull response", endpoint = node
|
||||
debug "Received successful response", endpoint = node
|
||||
return response.data.data
|
||||
of 400:
|
||||
debug "Received invalid request response",
|
||||
|
@ -740,7 +740,7 @@ proc produceBlockV2*(vc: ValidatorClientRef, slot: Slot,
|
|||
let response = apiResponse.get()
|
||||
case response.status:
|
||||
of 200:
|
||||
debug "Received successfull response", endpoint = node
|
||||
debug "Received successful response", endpoint = node
|
||||
return response.data
|
||||
of 400:
|
||||
debug "Received invalid request response",
|
||||
|
|
Loading…
Reference in New Issue