Skip to content

Commit

Permalink
Merge pull request #1155 from AntelopeIO/GH-1146-smoke-test-main
Browse files Browse the repository at this point in the history
[4.0 -> main] Added block log version and num of blocks to output of leap-util block-log smoke-test
  • Loading branch information
vladtr authored May 11, 2023
2 parents bd75cf0 + 1b885f0 commit 6804cf2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/chain/block_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1531,6 +1531,10 @@ namespace eosio { namespace chain {

block_log_bundle log_bundle(block_dir);

ilog("block log version= ${version}",("version", log_bundle.log_data.version()));
ilog("first block= ${first}",("first", log_bundle.log_data.first_block_num()));
ilog("last block= ${last}",("last", log_bundle.log_data.last_block_num()));

ilog("blocks.log and blocks.index agree on number of blocks");

if (interval == 0) {
Expand Down

0 comments on commit 6804cf2

Please sign in to comment.