Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Epoch Sync] Network message size optimization #11933

Closed
Tracked by #73
robin-near opened this issue Aug 13, 2024 · 0 comments · Fixed by #12058
Closed
Tracked by #73

[Epoch Sync] Network message size optimization #11933

robin-near opened this issue Aug 13, 2024 · 0 comments · Fixed by #12058

Comments

@robin-near
Copy link
Contributor

Currently on mainnet the EpochSyncProof is 42MB. We need to reduce this.

One option is to compress. It is possibly very compressible due to the list of validators repeating a lot.
Another option is to chunk it, but this is more complex.

github-merge-queue bot pushed a commit that referenced this issue Sep 9, 2024
Closes #11933 

This compresses the EpochSyncProof similar to how we compressed
ChunkStateWitness. In fact, the code is refactored out to a
CompressedData trait so we don't duplicate this code.
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 a pull request may close this issue.

1 participant