-
Notifications
You must be signed in to change notification settings - Fork 493
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
ledger: move catchpoint related methods into a storage package #4835
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4835 +/- ##
==========================================
- Coverage 53.80% 53.55% -0.26%
==========================================
Files 421 422 +1
Lines 53827 53830 +3
==========================================
- Hits 28963 28827 -136
- Misses 22516 22687 +171
+ Partials 2348 2316 -32
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Please fix two minor findings in the subsequent PR
return | ||
} | ||
|
||
// LoadFullAccount converts baseAccountData into basics.AccountData and loads all resources as needed |
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.
comment: baseAccountData -> BaseAccountData
if err != nil { | ||
return | ||
} | ||
|
||
return |
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.
just return err
accountdb.go
into a store
package (4 of N)
Summary
Continue moving methods out of
accountdb.go
.Previous parts of this refactor:
Test Plan
Existing tests.