Skip to content

Conversation

@eichhorl
Copy link
Contributor

@eichhorl eichhorl commented Nov 27, 2025

In order to conserve bandwidth, some artifacts are stripped from the block payload and replaced by hashes (IDs), before the block is transmitted. Receivers of such a block then assemble the stripped block proposal by searching for the missing artifacts in their own pools, and if they cannot be found, download them from a different peer.

Previously, only ingress messages were stripped from block proposals. With this PR, we will start to do the same for IDkg dealings. This is done by removing any IDKG dealings from the block payload, and instead only inserting their IDs into a separate payload field as part of the "stripped block proposal".

In #7794, we implemented a way to insert missing IDKG dealings that were stripped from a block into the BlockProposalAssembler, which is the structure keeping track of all messages that are required in order to reassemble the full block proposal.

This PR adds the functionality to perform the assembling of the full block proposal, given a BlockProposalAssembler containing the stripped proposal, together with any missing ingress and IDKG dealing messages.

Finally, we extend existing benches and unit tests for ingress messages to also cover hashes in blocks for IDKG dealings.

Base automatically changed from eichhorl/idkg-hashes-in-blocks-assembler to master December 2, 2025 17:40
@eichhorl eichhorl added the CI_ALL_BAZEL_TARGETS Runs all bazel targets and uploads them to S3 label Dec 3, 2025
@eichhorl eichhorl removed the CI_ALL_BAZEL_TARGETS Runs all bazel targets and uploads them to S3 label Dec 4, 2025
@eichhorl eichhorl changed the title Draft: idkg hashes in blocks assembler2 feat: CON-1618 IDKG hashes in blocks assembler & stripper Dec 4, 2025
@github-actions github-actions bot added the feat label Dec 4, 2025
@eichhorl eichhorl marked this pull request as ready for review December 4, 2025 13:15
@eichhorl eichhorl requested a review from a team as a code owner December 4, 2025 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants