Raise Entry's VersionedTransaction preallocation limit#10179
Raise Entry's VersionedTransaction preallocation limit#10179cpubot merged 3 commits intoanza-xyz:masterfrom
Conversation
|
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. |
7db670a to
79d2666
Compare
3cf2da6 to
8fb6d7f
Compare
| Symbol<'a, unsafe extern "C" fn(hashes: *mut u8, num_hashes: *const u64)>, | ||
| } | ||
|
|
||
| const MAX_DATA_SHREDS_PER_SLOT: usize = 32_768; |
There was a problem hiding this comment.
The duplication here not ideal but I guess we have to in order to avoid circular dependency. Alex P brought it up a while ago but maybe time to break out agave-shred crate from solana-ledger. No action needed here tho
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #10179 +/- ##
=======================================
Coverage 82.7% 82.7%
=======================================
Files 853 853
Lines 319470 319529 +59
=======================================
+ Hits 264275 264335 +60
+ Misses 55195 55194 -1 🚀 New features to boost your workflow:
|
* Raise Entry's VersionedTransaction preallocation limit * Add unit tests * Use MAX_DATA_SHREDS_SIZE prealloc gate in ledger deserialize (cherry picked from commit b1e2367)
…t of #10179) (#10182) * Raise Entry's VersionedTransaction preallocation limit (#10179) * Raise Entry's VersionedTransaction preallocation limit * Add unit tests * Use MAX_DATA_SHREDS_SIZE prealloc gate in ledger deserialize (cherry picked from commit b1e2367) * Update to support wincode 0.1.x --------- Co-authored-by: Zach Brown <zach@zb.dev>
…t of anza-xyz#10179) (anza-xyz#10182) * Raise Entry's VersionedTransaction preallocation limit (anza-xyz#10179) * Raise Entry's VersionedTransaction preallocation limit * Add unit tests * Use MAX_DATA_SHREDS_SIZE prealloc gate in ledger deserialize (cherry picked from commit b1e2367) * Update to support wincode 0.1.x --------- Co-authored-by: Zach Brown <zach@zb.dev>
No description provided.