casper-network / casper-network/casper-node

Expand Abbreviated Block Hashes in Error Messages

Open
#5,226 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
399
Forks
224
Avg merge
15h 44m
Merged PRs (30d)
2

Description

Description:
Error messages currently display abbreviated block hashes (e.g., `block-hash(538d..d06f)`), which makes it difficult to identify and use the full hash for debugging or removal operations.

Please update the logging to always show the full block hash (e.g., `538d1540f0a850afbd156c3e02cf596300ee2bd06945f0a3a7ed14476a50d06f`) instead of the shortened form.

Example:
Current log:
`duplicate entries for block at height 4556904: block-hash(538d..d06f)`

Expected:
`duplicate entries for block at height 4556904: block-hash(538d1540f0a850afbd156c3e02cf596300ee2bd06945f0a3a7ed14476a50d06f)`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.