Skip to content

Commit

Permalink
fix smoketest log
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Nov 5, 2023
1 parent dac06ba commit 75d2f00
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check failure on line 51 in contrib/localnet/orchestrator/smoketest/test_block_headers.go

View workflow job for this annotation

GitHub Actions / gosec

undefined: common.GoerliChain

Check failure on line 51 in contrib/localnet/orchestrator/smoketest/test_block_headers.go

View workflow job for this annotation

GitHub Actions / gosec-cosmos

undefined: common.GoerliChain

Check failure on line 51 in contrib/localnet/orchestrator/smoketest/test_block_headers.go

View workflow job for this annotation

GitHub Actions / lint

undefined: common.GoerliChain
Expand Down

0 comments on commit 75d2f00

Please sign in to comment.