-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: consolidate classic-level usage #6795
chore: consolidate classic-level usage #6795
Conversation
@@ -38,6 +38,7 @@ | |||
"@chainsafe/ssz": "^0.15.1", | |||
"@lodestar/config": "^1.18.1", | |||
"@lodestar/utils": "^1.18.1", | |||
"classic-level": "^1.4.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might make sense to depend on classic-level
dependency directly now that we are requiring it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than using the level
package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, the code already expect running under NodeJS and we add classic-level
dependency to make sure the right version is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me.
Can you update this PR to include that? Currently it feels like in a halfway state (which I suppose caused your comment here).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wemeetagain done
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## unstable #6795 +/- ##
============================================
+ Coverage 61.88% 62.21% +0.32%
============================================
Files 562 571 +9
Lines 59331 60017 +686
Branches 1916 1972 +56
============================================
+ Hits 36715 37337 +622
- Misses 22573 22637 +64
Partials 43 43 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm thanks
failing CI |
This reverts commit b439da2.
* chore: do not rely on leveldown * chore: replace level with classic-level
Motivation
Make sure
classic-level
is used consistently.Description
Remove older dependencies
level
andleveldown
.db
is already dependent onclassic-level
.Closes #6794