Skip to content

Raise Entry's VersionedTransaction preallocation limit#10179

Merged
cpubot merged 3 commits intoanza-xyz:masterfrom
cpubot:entry-versioned-tx-prealloc
Jan 24, 2026
Merged

Raise Entry's VersionedTransaction preallocation limit#10179
cpubot merged 3 commits intoanza-xyz:masterfrom
cpubot:entry-versioned-tx-prealloc

Conversation

@cpubot
Copy link

@cpubot cpubot commented Jan 23, 2026

No description provided.

@cpubot cpubot added the v3.1 Backport to v3.1 branch label Jan 23, 2026
@cpubot cpubot requested a review from t-nelson January 23, 2026 20:32
@mergify
Copy link

mergify bot commented Jan 23, 2026

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.

@cpubot cpubot requested a review from steviez January 23, 2026 20:32
t-nelson
t-nelson previously approved these changes Jan 23, 2026
Copy link

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. good forethought!

@cpubot cpubot force-pushed the entry-versioned-tx-prealloc branch from 7db670a to 79d2666 Compare January 23, 2026 21:45
@cpubot cpubot force-pushed the entry-versioned-tx-prealloc branch from 3cf2da6 to 8fb6d7f Compare January 23, 2026 22:56
@cpubot cpubot requested a review from t-nelson January 24, 2026 00:06
Symbol<'a, unsafe extern "C" fn(hashes: *mut u8, num_hashes: *const u64)>,
}

const MAX_DATA_SHREDS_PER_SLOT: usize = 32_768;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@cpubot cpubot enabled auto-merge January 24, 2026 00:09
@cpubot cpubot added this pull request to the merge queue Jan 24, 2026
@codecov-commenter
Copy link

codecov-commenter commented Jan 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.7%. Comparing base (75b1733) to head (8fb6d7f).
⚠️ Report is 3 commits behind head on master.

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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Merged via the queue into anza-xyz:master with commit b1e2367 Jan 24, 2026
50 checks passed
@cpubot cpubot deleted the entry-versioned-tx-prealloc branch January 24, 2026 01:18
mergify bot pushed a commit that referenced this pull request Jan 24, 2026
* Raise Entry's VersionedTransaction preallocation limit

* Add unit tests

* Use MAX_DATA_SHREDS_SIZE prealloc gate in ledger deserialize

(cherry picked from commit b1e2367)
steviez pushed a commit that referenced this pull request Jan 26, 2026
…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>
davidrhodus pushed a commit to PipeNetwork/agave that referenced this pull request Feb 4, 2026
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v3.1 Backport to v3.1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants