feat(cmd): DB verification with cmd tool#3335
Open
MaksymMalicki wants to merge 14 commits intomainfrom
Open
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #3335 +/- ##
==========================================
- Coverage 75.98% 75.80% -0.18%
==========================================
Files 377 384 +7
Lines 34614 35126 +512
==========================================
+ Hits 26301 26627 +326
- Misses 6466 6623 +157
- Partials 1847 1876 +29 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
I don't know if the PR plans to go live like this, but I strongly suggest it gets divided in two:
|
fd6591e to
cd9f31e
Compare
thiagodeev
requested changes
Feb 6, 2026
Contributor
thiagodeev
left a comment
There was a problem hiding this comment.
Hey. Nice work!
I've made a few comments. Some of them are just nitpicks and can be easily ignored, but I believe the rest are relevant.
Unfortunately, due to my lack of knowledge of the state and DB, I couldn't help very much with the verification logic, only with general logic things.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a new cmd tool, which can be used for the DB corruption verification. For now its just an empty command. The new commands will be added in the followup PRs. To use the tool, hit:
juno verify --db-path <path>