even more tracing for testnet1 [skip ci]
This commit is contained in:
parent
6f650ca144
commit
897176761d
|
@ -370,6 +370,7 @@ proc getBlockRange*(pool: BlockPool, headBlock: Eth2Digest,
|
|||
if b.parent == nil:
|
||||
trace "stopping at parentless block", slot = b.slot, root = b.root
|
||||
return
|
||||
trace "skipping block", nextBlock = b.parent
|
||||
b = b.parent
|
||||
|
||||
# We must compute the last block that is eligible for inclusion
|
||||
|
@ -386,6 +387,7 @@ proc getBlockRange*(pool: BlockPool, headBlock: Eth2Digest,
|
|||
blocksToSkip += (alignedHeadSlot - lastWantedSlot)
|
||||
|
||||
# Finally, we skip the computed number of blocks
|
||||
trace "aligning head", blocksToSkip
|
||||
skip blocksToSkip
|
||||
|
||||
# From here, we can just write out the requested block range:
|
||||
|
|
|
@ -26,7 +26,7 @@ RUN cd /root/nim-beacon-chain \
|
|||
&& git fetch \
|
||||
&& git reset --hard ${GIT_REVISION} \
|
||||
&& make -j$(nproc) update \
|
||||
&& make LOG_LEVEL=DEBUG NIMFLAGS="-d:debug -d:insecure -d:testnet_servers_image ${NETWORK_NIM_FLAGS}" beacon_node
|
||||
&& make LOG_LEVEL=TRACE NIMFLAGS="-d:debug -d:insecure -d:testnet_servers_image ${NETWORK_NIM_FLAGS}" beacon_node
|
||||
|
||||
# --------------------------------- #
|
||||
# Starting new image to reduce size #
|
||||
|
|
Loading…
Reference in New Issue