Skip to content

Conversation

Galoretka
Copy link
Contributor

Replace logging of the database handle under the key "is verkle" with the actual boolean flag isVerkle and a space-free key "verkle". This aligns with project logging conventions and avoids misleading output where a DB object appeared under a boolean key, ensuring accurate diagnostics when no transition state is found.

@@ -97,7 +97,7 @@ func LoadTransitionState(db ethdb.KeyValueReader, root common.Hash, isVerkle boo
// Initialize the first transition state, with the "ended"
// field set to true if the database was created
// as a verkle database.
log.Debug("no transition state found, starting fresh", "is verkle", db)
log.Debug("no transition state found, starting fresh", "verkle", isVerkle)
Copy link
Member

Choose a reason for hiding this comment

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

Please fix the lint

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please fix the lint

corrected

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.

2 participants