Skip to content

statesync: convert snapshot hashes to hex strings for logging#9471

Merged
cmwaters merged 4 commits intomainfrom
cal/hex-log-hashes
Sep 26, 2022
Merged

statesync: convert snapshot hashes to hex strings for logging#9471
cmwaters merged 4 commits intomainfrom
cal/hex-log-hashes

Conversation

@cmwaters
Copy link
Contributor

Closes: #9454

Copy link
Contributor

@mark-rushakoff mark-rushakoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be using log.NewLazySprintf to avoid hex formatting if info-level logging is disabled?

@cmwaters
Copy link
Contributor Author

Should these be using log.NewLazySprintf to avoid hex formatting if info-level logging is disabled?

Yeah I guess that makes sense

Copy link
Contributor

@sergio-mena sergio-mena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cmwaters cmwaters merged commit af5281d into main Sep 26, 2022
@cmwaters cmwaters deleted the cal/hex-log-hashes branch September 26, 2022 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(log): Discovered new snapshot logs show a not correctly decoded hash #1727

3 participants