Skip to content

syscalls & program-runtime: drop SysvarSerialize - #14246

Merged
grod220 merged 1 commit into
anza-xyz:masterfrom
grod220:syscalls-serialize
Aug 1, 2026
Merged

syscalls & program-runtime: drop SysvarSerialize#14246
grod220 merged 1 commit into
anza-xyz:masterfrom
grod220:syscalls-serialize

Conversation

@grod220

@grod220 grod220 commented Jul 31, 2026

Copy link
Copy Markdown

Continuing to break down #12245. Progresses #10672.

@grod220
grod220 requested a review from a team as a code owner July 31, 2026 11:48
@grod220
grod220 force-pushed the syscalls-serialize branch from 0fe3cf8 to aae922c Compare July 31, 2026 12:10
@grod220
grod220 force-pushed the syscalls-serialize branch from aae922c to 18f4ae5 Compare July 31, 2026 12:50
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.87234% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 82.0%. Comparing base (698ac85) to head (18f4ae5).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #14246     +/-   ##
=========================================
- Coverage    82.0%    82.0%   -0.1%     
=========================================
  Files         899      899             
  Lines      354244   354275     +31     
=========================================
- Hits       290625   290562     -63     
- Misses      63619    63713     +94     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@grod220
grod220 requested review from buffalojoec and joncinque July 31, 2026 14:10
@grod220
grod220 added this pull request to the merge queue Aug 1, 2026
Merged via the queue into anza-xyz:master with commit 28f7bbf Aug 1, 2026
50 checks passed
@grod220
grod220 deleted the syscalls-serialize branch August 1, 2026 05:53
create_account_shared_data_for_test(&EpochSchedule::default()),
));
let mut account = AccountSharedData::new(1, solana_epoch_schedule::SIZE, &sysvar::id());
bincode::serialize_into(account.data_as_mut_slice(), &EpochSchedule::default()).unwrap();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Not a big deal, but why is this using bincode instead of wincode?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

maybe too conservative, but separating this refactor and actual switch to wincode isn't such a bad idea

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Whoops, didn't look hard enough to see if EpochSchedule had wincode attrs. Though, this is a test utility, so low impact regardless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants