Skip to content

accounts-db,version: digest BlockhashQueue and Version with wincode only - #15861

Merged
kskalski merged 2 commits into
anza-xyz:masterfrom
kskalski:ks/drop-bincode-abi-digests
Oct 8, 2026
Merged

kskalski merged 2 commits into
anza-xyz:masterfrom
kskalski:ks/drop-bincode-abi-digests

Conversation

@kskalski

@kskalski kskalski commented Oct 8, 2026

Copy link
Copy Markdown

Problem

  • the BlockhashQueue and Version digests run under bincode as well as wincode, though only wincode encodes either type
  • BlockhashQueue and HashInfo keep serde derives, and accounts-db keeps its serde dependency, only for the bincode digest
  • Version carries hand-written serde impls and serde dependencies, while gossip encodes it with wincode and RPC reports it as a plain string.

Summary of Changes

  • narrow both abi_serializer lists to "wincode", keeping the digest values
  • drop the BlockhashQueue and HashInfo serde derives and accounts-db's serde dependency
  • Remove the serde impls, the serde attributes on the packed wire types, and the serde and solana-serde-varint dependencies.

Testing

CI

Problem

- the BlockhashQueue and Version digests run under bincode as well as wincode, though only wincode encodes either type
- BlockhashQueue and HashInfo keep serde derives, and accounts-db keeps its serde dependency, only for the bincode digest

Summary of Changes

- narrow both abi_serializer lists to "wincode", keeping the digest values
- drop the BlockhashQueue and HashInfo serde derives and accounts-db's serde dependency
Problem

Version carries hand-written serde impls and serde dependencies, while gossip encodes it with wincode and RPC reports it as a plain string.

Summary of Changes

Remove the serde impls, the serde attributes on the packed wire types, and the serde and solana-serde-varint dependencies.
@kskalski
kskalski marked this pull request as ready for review October 8, 2026 07:41
@kskalski
kskalski requested a review from a team as a code owner October 8, 2026 07:41
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.4%. Comparing base (b4d53f0) to head (052d0aa).
⚠️ Report is 20 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #15861    +/-   ##
========================================
  Coverage    82.3%    82.4%            
========================================
  Files         938      938            
  Lines      374330   374282    -48     
========================================
+ Hits       308244   308574   +330     
+ Misses      66086    65708   -378     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kskalski
kskalski added this pull request to the merge queue Oct 8, 2026
Merged via the queue into anza-xyz:master with commit 23df8f2 Oct 8, 2026
57 checks passed
@kskalski
kskalski deleted the ks/drop-bincode-abi-digests branch October 8, 2026 12:16
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.

3 participants