Skip to content

block_log_util changes

Andrzej Such requested to merge 661-as-block-log-util-get-block-update into develop

This MR remakes tool block_log_util, list of changes:

  • removing positional options, everything has to be specified explicitly,
  • all logs are in one file, specified by -l option, tool output returns only result or error,
  • get-block returns additionally block_id and signing_key,
  • added get version option, which returns git revision and info for which type of network this tool was built
  • get-block-ids, get-block-artifacts, get-block options accepts both block number and blocks range, negative numbers support was introduced (details can be see in tool's help)
  • get-block has output option which allows to dump all requested blocks into separate files

In addition to the above tool changes, the following changes have also been introduced:

  • file lock on block_log and block_log.artifacts files, when opening them.
  • fixed bugs in file appender - unified log to be similar to console logs + fixed problem when we wanted to create log file where there is no parent directory.
  • compression dictionaries are now also used for testnet build.

Closes #661 Closes #662

test-tools!196 (merged)

helpy!32 (merged)

schemas!85 (merged)

FYI @kudmich

Edited by Andrzej Such

Merge request reports