-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
loaded accounts data size cost does not apply to vote transaction #33235
Conversation
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, but i don't have enough context on the loaded accounts data size cost to approve.
Does this need to be feature-gated since we're changing to cost of votes on testnet where the feature is already active? |
Codecov Report
@@ Coverage Diff @@
## master #33235 +/- ##
=======================================
Coverage 81.9% 81.9%
=======================================
Files 790 790
Lines 214213 214246 +33
=======================================
+ Hits 175589 175646 +57
+ Misses 38624 38600 -24 |
No that feature gate #30657 was blocked, not activated anyway yet. Hope to bp this fix to everywhere before that feature is unblocked. |
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.
sgtm!
turns out no need to back port it - relevant logics it fixes were not back ported. |
Problem
It is a bug to include Loaded_accounts_data_size_cost to Simple Vote transaction; if feature gate #30657 is activated, each vote transaction will have ~16K more CUs (vote tx does not have compute_budget instructions), therefore resulting less votes in block. Ideally vote should have stable cost, if not static.
It needs to be BP
Summary of Changes
Fixes #