round down compute-unit-price to its nearest 1_000 microlamport#31469
round down compute-unit-price to its nearest 1_000 microlamport#31469tao-stones wants to merge 7 commits into
Conversation
|
|
|
blocked by #31549 |
f997009 to
e69a2f6
Compare
e69a2f6 to
bb9a700
Compare
c053a45 to
2e08bdf
Compare
apfitzge
left a comment
There was a problem hiding this comment.
some initial comments, need to take another pass
26742c3 to
46db185
Compare
|
Draft change itself looks fine to me. I feel like we need a SIMD for this though to fully justify why we want to do this, and to enable folks like Pyth to chime in on any impact it may have on their transactions and if/when they can make changes in their design to deal with it |
Sounds good, I'll chat with David then open a SIMD today. |
There was a problem hiding this comment.
these should all be true since bank has all features enabled at ln 3805
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #31469 +/- ##
========================================
Coverage 82.0% 82.0%
========================================
Files 769 769
Lines 209137 209250 +113
========================================
+ Hits 171587 171696 +109
- Misses 37550 37554 +4 |
dd8c403 to
fe17691
Compare
fe17691 to
012c504
Compare
|
@eugene-chen @SpaceMonkeyForever would you be able to review? |
|
I am definitely not qualified to review the code 😁 |
86ba4bf to
5ccd09a
Compare
5ccd09a to
5cf0e18
Compare
apfitzge
left a comment
There was a problem hiding this comment.
No more comments on this one from me in terms of the implementation, but think we should get the SIMD (solana-foundation/solana-improvement-documents#50) accept prior to merging & moving forward - make sure this is the path we want to take forward.
|
Think we had agreed on this PR, would love to have it merged before drifting too far away from |
|
Overall looks good to me. Performance impact should be insignificant overall but may increase a little the average CU consumed by compute budget program. |
2. round compute-unit-price down to nearest lamports if feature acvitated; 3. add / update tests
5cf0e18 to
c39e284
Compare
|
approved, but still we should be waiting on the SIMD acceptance. |
🙇🏼 |
|
This repository is no longer in use. Please re-open this pull request in the agave repo: https://github.com/anza-xyz/agave |
Problem
Rounding compute-unit-price down to nearest 1_000 micro-lamport, effectively making its minimum change to be 0.001 lamport.
Summary of Changes
Feature Gate Issue: #31453