mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-12 07:14:20 +00:00
Cosmetic logging changes in the EL manager
This commit is contained in:
parent
c6ce7f383d
commit
70d3045584
@ -914,7 +914,7 @@ proc getPayload*(m: ELManager,
|
|||||||
# to return the correct response type (i.e. the rule below will be enforced
|
# to return the correct response type (i.e. the rule below will be enforced
|
||||||
# during deserialization).
|
# during deserialization).
|
||||||
if req.read.executionPayload.withdrawals.isNone:
|
if req.read.executionPayload.withdrawals.isNone:
|
||||||
warn "Execution client did not return any withdrawals for a post-Shanghai block",
|
warn "Execution client returned a block without a 'withdrawals' field for a post-Shanghai block",
|
||||||
url = m.elConnections[idx].engineUrl.url
|
url = m.elConnections[idx].engineUrl.url
|
||||||
continue
|
continue
|
||||||
|
|
||||||
@ -2053,7 +2053,7 @@ proc syncEth1Chain(m: ELManager, connection: ELConnection) {.async.} =
|
|||||||
rpcClient.eth_getBlockByNumber(blockId("latest"), false),
|
rpcClient.eth_getBlockByNumber(blockId("latest"), false),
|
||||||
web3RequestsTimeout)
|
web3RequestsTimeout)
|
||||||
except CatchableError as err:
|
except CatchableError as err:
|
||||||
error "Failed to obtain the latest block from the EL", err = err.msg
|
warn "Failed to obtain the latest block from the EL", err = err.msg
|
||||||
raise err
|
raise err
|
||||||
|
|
||||||
m.syncTargetBlock = some(
|
m.syncTargetBlock = some(
|
||||||
@ -2091,7 +2091,7 @@ proc startChainSyncingLoop(m: ELManager) {.async.} =
|
|||||||
let connection = awaitWithTimeout(
|
let connection = awaitWithTimeout(
|
||||||
m.selectConnectionForChainSyncing(),
|
m.selectConnectionForChainSyncing(),
|
||||||
chronos.seconds(60)):
|
chronos.seconds(60)):
|
||||||
error "No suitable EL connection for deposit syncing"
|
warn "No suitable EL connection for deposit syncing"
|
||||||
await sleepAsync(chronos.seconds(30))
|
await sleepAsync(chronos.seconds(30))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user