-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[R4R]: Cleanup bank keeper #2719
Conversation
Codecov Report
@@ Coverage Diff @@
## release/v0.26.0 #2719 +/- ##
===================================================
- Coverage 57.63% 57.62% -0.02%
===================================================
Files 154 154
Lines 9570 9563 -7
===================================================
- Hits 5516 5511 -5
+ Misses 3690 3688 -2
Partials 364 364 |
@cwgoes mind getting this in (I'd like another approval)? |
@alexanderbez Here is the context for why the Keepers are like this. #831 (comment) |
@rigelrozanski addressed your comments 👍 |
@sunnya97 I don't think we have diamond inheritance in this case, so this pattern seems OK. |
Yea there is no diamond inheritance here afaict. |
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.
utACK
The bank keeper was broken up into sub-interfaces (view, send, main). However, we were repeating a bulk of the methods in each. This simply removes duplicate code and DRYs it up.
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added entries in
PENDING.md
with issue #rereviewed
Files changed
in the github PR explorerFor Admin Use: