Remove commented and unneeded code#3757
Merged
melekes merged 8 commits intotendermint:masterfrom Jun 30, 2019
tac0turtle:marko/cmn-clean
Merged
Remove commented and unneeded code#3757melekes merged 8 commits intotendermint:masterfrom tac0turtle:marko/cmn-clean
melekes merged 8 commits intotendermint:masterfrom
tac0turtle:marko/cmn-clean
Conversation
- Remove commented out file - Remove colors - remove newdebugdb Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
Codecov Report
@@ Coverage Diff @@
## master #3757 +/- ##
=========================================
- Coverage 64.06% 63.86% -0.2%
=========================================
Files 242 217 -25
Lines 19968 18057 -1911
=========================================
- Hits 12792 11533 -1259
+ Misses 6137 5553 -584
+ Partials 1039 971 -68
|
melekes
reviewed
Jun 27, 2019
| //---------------------------------------- | ||
| // debugDB | ||
|
|
||
| type debugDB struct { |
Contributor
There was a problem hiding this comment.
this can be used for debugging. I've never used it myself, but maybe Cosmos-SDK devs had & need it.
Contributor
Author
There was a problem hiding this comment.
its set as const = false in the code in the sdk. cc @alexanderbez @alessio @jackzampolin @rigelrozanski have you guys used newdbDebug at anytime
Contributor
|
This needs a changelog entry. |
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
melekes
reviewed
Jun 28, 2019
CHANGELOG_PENDING.md
Outdated
| * Apps | ||
|
|
||
| * Go API | ||
| - [libs] Removal of `NewDebugDB`, `colors.go` & `errors.go` (commented out entire file) (@marbar3778) |
Contributor
There was a problem hiding this comment.
Suggested change
| - [libs] Removal of `NewDebugDB`, `colors.go` & `errors.go` (commented out entire file) (@marbar3778) | |
| - [libs] Remove unused `db/debugDB` and `common/colors.go` & `errors/errors.go` files (@marbar3778) |
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.
Currently newdebugDB is used in cosmos-sdk for testing and iavl for testing, If this pr is merged following PRs will be made to eliminate the code in those repos as well
Signed-off-by: Marko Baricevic marbar3778@yahoo.com