Skip to content

Conversation

@antonis19
Copy link
Member

#18667

This PR removes the touchmap field from the branchdata serialization format. This simplifies the code and saves 2 bytes per branch serialization.

Using this git branch I was able to successfully sync hoodi from scratch (using --no-downloader, and with commitment history enabled) which produced state snapshots with a new version of commitment snapshots (where touchmap is not serialized).

Space savings (as of recent block 2043962 )

With touchmap (before) Without touchmap (after) Space reduction
Commitment domain size 24.24 GiB 23.85 GiB 1.6%
Commitment history size 110.82 GiB 110.02 GiB 0.72%

The space savings for domain and history snapshots are modest, but given that the code gets simplified, it might be worth considering for a future version of snapshots (potentially with other schema changes).

@antonis19 antonis19 marked this pull request as draft January 16, 2026 16:09
@awskii
Copy link
Member

awskii commented Jan 23, 2026

started on any node? how was the merges?

@antonis19
Copy link
Member Author

Running successfully a node on hoodi. I generated new snapshots from scratch without touchmap using --no-downloader.

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