feat: skip serializing gossip block when persisting to db - #5426
Merged
Conversation
Contributor
Performance Report鉁旓笍 no performance regression detected Full benchmark results
|
twoeths
force-pushed
the
tuyen/do_not_serialize_gossip_blocks
branch
from
May 3, 2023 08:41
7416368 to
b05b060
Compare
twoeths
marked this pull request as ready for review
May 3, 2023 09:20
dapplion
approved these changes
May 8, 2023
dapplion
suggested changes
May 8, 2023
dapplion
approved these changes
May 8, 2023
Member
|
馃帀 This PR is included in v1.9.0 馃帀 |
ensi321
added a commit
that referenced
this pull request
Jul 7, 2026
- PAYLOAD_DUE_BPS 7500 -> 5000 (consensus-specs #5414) - MIN_BUILDER_WITHDRAWABILITY_DELAY mainnet 8192 -> 64 (consensus-specs #5426) - MAX_BUILDER_DEPOSIT_REQUESTS_PER_PAYLOAD 256 -> 64 (consensus-specs #5420) - EnvelopesByRange cap uses MAX_REQUEST_PAYLOADS (consensus-specs #5383) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ensi321
added a commit
that referenced
this pull request
Jul 21, 2026
- PAYLOAD_DUE_BPS 7500 -> 5000 (consensus-specs #5414) - MIN_BUILDER_WITHDRAWABILITY_DELAY mainnet 8192 -> 64 (consensus-specs #5426) - MAX_BUILDER_DEPOSIT_REQUESTS_PER_PAYLOAD 256 -> 64 (consensus-specs #5420) - EnvelopesByRange cap uses MAX_REQUEST_PAYLOADS (consensus-specs #5383) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Right now when gossipsub deliver a gossip block, we already have serialized data but still have to serialize signed block when persisting to db
Description
WithBytes, WithOptionalBytesWithOptionalBytes<BlockInput>, at gossip we pass in bytes data, for blocks from other flow we keep them as isCloses #5422