even more tracing for testnet1 [skip ci]

This commit is contained in:
Zahary Karadjov 2019-11-27 11:20:58 +02:00
parent 6f650ca144
commit 897176761d
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
2 changed files with 3 additions and 1 deletions

View File

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

View File

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