From 81f13c9e9a8b6cc299893c079cd9d8e4fca8b448 Mon Sep 17 00:00:00 2001 From: brewmaster012 Date: Sun, 5 Nov 2023 02:24:54 -0600 Subject: [PATCH] fix smoketest log --- contrib/localnet/orchestrator/smoketest/test_block_headers.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/localnet/orchestrator/smoketest/test_block_headers.go b/contrib/localnet/orchestrator/smoketest/test_block_headers.go index 3d82875963..7ce5abd0e8 100644 --- a/contrib/localnet/orchestrator/smoketest/test_block_headers.go +++ b/contrib/localnet/orchestrator/smoketest/test_block_headers.go @@ -40,10 +40,12 @@ func (sm *SmokeTest) TestBlockHeaders() { } bn = bhres.BlockHeader.Height - 1 currentHash = bhres.BlockHeader.ParentHash - fmt.Printf("found block header %d\n", bhres.BlockHeader.Height) + //fmt.Printf("found block header %d\n", bhres.BlockHeader.Height) } if bn > earliestBlock { panic(fmt.Sprintf("block header tracing failed; expected at most %d, got %d", earliestBlock, bn)) + } else { + fmt.Printf("block header tracing succeeded; expected at most %d, got %d\n", earliestBlock, bn) } } checkBlock(common.GoerliChain().ChainId)