successfull -> successful (#2842)

This commit is contained in:
tersec 2021-09-01 16:08:24 +00:00 committed by GitHub
parent 7b6976d3fd
commit 9c0d9b546a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View File

@ -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"

View File

@ -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():

View File

@ -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:

View File

@ -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",