-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Removes AccountsDataMeter from InvokeContext #34698
Removes AccountsDataMeter from InvokeContext #34698
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #34698 +/- ##
=======================================
Coverage 81.8% 81.8%
=======================================
Files 824 824
Lines 222725 222730 +5
=======================================
+ Hits 182317 182350 +33
+ Misses 40408 40380 -28 |
02e041c
to
27094cd
Compare
@@ -175,7 +175,7 @@ impl MessageProcessor { | |||
.map_err(|err| TransactionError::InstructionError(instruction_index as u8, err))?; | |||
} | |||
Ok(ProcessedMessageInfo { | |||
accounts_data_len_delta: invoke_context.get_accounts_data_meter().delta(), | |||
accounts_data_len_delta: 0, // unused |
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.
This will be removed in a subsequent PR.
@@ -187,7 +185,7 @@ impl<'a> InvokeContext<'a> { | |||
feature_set: Arc<FeatureSet>, | |||
blockhash: Hash, | |||
lamports_per_signature: u64, | |||
prev_accounts_data_len: u64, | |||
_prev_accounts_data_len: u64, |
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.
This will be removed in a subsequent PR.
What about the |
That's the next PR! #34727 |
Problem
InvokeContext
contains anAccountsDataMeter
, but it is not used anymore.Summary of Changes
Removes AccountsDataMeter from InvokeContext