Closed tayfunelmas closed 1 month ago
Attention: Patch coverage is 0%
with 37 lines
in your changes missing coverage. Please review.
Project coverage is 71.75%. Comparing base (
0557fa4
) to head (a2686da
). Report is 2 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
tools/state-viewer/src/commands.rs | 0.00% | 34 Missing :warning: |
tools/state-viewer/src/cli.rs | 0.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
We previously added the
neard view-state view-genesis
command to display the genesis block generated from code using the genesis json file. We used this command to debug the reason for the blockhash-mismatches between the genesis in the store/DB and the genesis computed from the config files using code.We extend the command to also display the genesis block stored in the DB.
Example usage to see the genesis in config and store and compare their hashes:
Also shorten the flag names to remove
view-
prefix since it is already as part of main command and sub command.