From fee504d5514515c14c5e0a0f22bf9e2268f30b1f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Raynaud Date: Mon, 8 Aug 2022 10:59:22 +0200 Subject: [PATCH] Add information in Devnet Add debug informations: epoch at which delegation took place and time at which timer is set --- mithril-test-lab/mithril-devnet/devnet-mkfiles.sh | 7 ++++++- mithril-test-lab/mithril-devnet/devnet-run.sh | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mithril-test-lab/mithril-devnet/devnet-mkfiles.sh b/mithril-test-lab/mithril-devnet/devnet-mkfiles.sh index df165d6ba25..78c00dea8db 100755 --- a/mithril-test-lab/mithril-devnet/devnet-mkfiles.sh +++ b/mithril-test-lab/mithril-devnet/devnet-mkfiles.sh @@ -606,7 +606,11 @@ echo cat >> delegate.sh <>>> Current Epoch: \${CURRENT_EPOCH}" EOF # Prepare transactions for activating stake pools @@ -616,6 +620,7 @@ for N in ${POOL_NODES_N}; do # We'll register certs to: # 1. delegate from the user1 stake address to the stake pool cat >> delegate.sh <> Begin scheduled delegation" while true do - echo ">> Wait ${DELEGATE_PERIOD}s until next delegation round..." + echo ">> $(date +"%T"): Wait ${DELEGATE_PERIOD}s until next delegation round..." sleep ${DELEGATE_PERIOD} DELEGATION_ROUND=$(( $DELEGATION_ROUND + 1 )) echo ">> Run delegation round #${DELEGATION_ROUND}!"