-
Notifications
You must be signed in to change notification settings - Fork 201
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
Refactor - Remove program_accounts_map
from account_loader
#768
Refactor - Remove program_accounts_map
from account_loader
#768
Conversation
2593dd4
to
0650426
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #768 +/- ##
=======================================
Coverage 81.9% 81.9%
=======================================
Files 851 851
Lines 231209 231246 +37
=======================================
+ Hits 189495 189533 +38
+ Misses 41714 41713 -1 |
0650426
to
2a9e531
Compare
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.
You've asked me only to look at the second commit, so I did not review the first or #606.
Lgtm!
1e6ab0b
to
61ed3c4
Compare
…ata_from_program(), load_transaction_accounts() and load_accounts().
61ed3c4
to
2a4adcc
Compare
…z#768) Removes program_accounts / program_accounts_map from account_shared_data_from_program(), load_transaction_accounts() and load_accounts().
Revert - #879 and #768 (#3521) * Revert "Cleanup - Removes the owner form the result of `filter_executable_program_accounts()` (#879)" This reverts commit 5fe30cb. * Revert "Refactor - Remove `program_accounts_map` from account_loader (#768)" This reverts commit e7617a1. (cherry picked from commit 57bdb8e) Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
Problem
program_accounts_map
is currently collected in theTransactionBatchProcessor
and then wired all the way through account_loader.rs untilaccount_shared_data_from_program()
where it is actually not needed because we can just useloaded_program.account_owner()
instead.Summary of Changes
Removes
program_accounts_map
from account_loader.rs