bump solana-stake-interface from 2.0.0 to 2.0.1#7919
Merged
vadorovsky merged 1 commit intoanza-xyz:masterfrom Sep 7, 2025
Merged
bump solana-stake-interface from 2.0.0 to 2.0.1#7919vadorovsky merged 1 commit intoanza-xyz:masterfrom
vadorovsky merged 1 commit intoanza-xyz:masterfrom
Conversation
`StakeHistory::get` in solana-stake-interface was performing a binary search for every requested epoch, which was a visible performance bottleneck. solana-program/stake#81 fixed that by subtracting the indices. The fix was released in 2.0.1.
a6c430f to
d4f88da
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7919 +/- ##
=========================================
- Coverage 83.1% 83.1% -0.1%
=========================================
Files 810 810
Lines 357419 357416 -3
=========================================
- Hits 297211 297120 -91
- Misses 60208 60296 +88 🚀 New features to boost your workflow:
|
jstarry
approved these changes
Sep 7, 2025
|
Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis. |
mergify Bot
pushed a commit
that referenced
this pull request
Sep 9, 2025
`StakeHistory::get` in solana-stake-interface was performing a binary search for every requested epoch, which was a visible performance bottleneck. solana-program/stake#81 fixed that by subtracting the indices. The fix was released in 2.0.1. (cherry picked from commit 8c21276) # Conflicts: # Cargo.toml # programs/sbf/Cargo.toml
vadorovsky
added a commit
that referenced
this pull request
Sep 11, 2025
`StakeHistory::get` in solana-stake-interface was performing a binary search for every requested epoch, which was a visible performance bottleneck. solana-program/stake#81 fixed that by subtracting the indices. The fix was released in 2.0.1. (cherry picked from commit 8c21276)
vadorovsky
added a commit
that referenced
this pull request
Sep 15, 2025
) (#7958) bump solana-stake-interface from 2.0.0 to 2.0.1 (#7919) `StakeHistory::get` in solana-stake-interface was performing a binary search for every requested epoch, which was a visible performance bottleneck. solana-program/stake#81 fixed that by subtracting the indices. The fix was released in 2.0.1. (cherry picked from commit 8c21276) Co-authored-by: Michal R <vad.sol@proton.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
StakeHistory::getin solana-stake-interface was performing a binary search for every requested epoch, which was a visible performance bottleneck.Summary of Changes
solana-program/stake#81 fixed that by subtracting the indices. The fix was released in 2.0.1.