Skip to content

chore: Avoid cloning NiDKG dealings when serializing data blocks#8819

Merged
eichhorl merged 1 commit intomasterfrom
eichhorl/dkg-dealing-clone
Feb 12, 2026
Merged

chore: Avoid cloning NiDKG dealings when serializing data blocks#8819
eichhorl merged 1 commit intomasterfrom
eichhorl/dkg-dealing-clone

Conversation

@eichhorl
Copy link
Contributor

@eichhorl eichhorl commented Feb 12, 2026

Each dealing is ~51 KB and we are considering including more of them into blocks in the future. It is not necessary to clone them in order to deserialize a data block. The From<Message> for pb::DkgMessage implementation is still needed by P2P when gossiping dealings by themselves.

@github-actions github-actions bot added the chore label Feb 12, 2026
@eichhorl eichhorl marked this pull request as ready for review February 12, 2026 14:59
@eichhorl eichhorl requested a review from a team as a code owner February 12, 2026 14:59
Copy link
Contributor

@kpop-dfinity kpop-dfinity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@eichhorl eichhorl added this pull request to the merge queue Feb 12, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 12, 2026
@eichhorl eichhorl added this pull request to the merge queue Feb 12, 2026
Merged via the queue into master with commit 22113a2 Feb 12, 2026
71 of 72 checks passed
@eichhorl eichhorl deleted the eichhorl/dkg-dealing-clone branch February 12, 2026 17:09
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