Skip to content

chore: CON-1453 Introduce a type for remote transcript results#10250

Merged
eichhorl merged 2 commits into
masterfrom
eichhorl/remote-dkg-type
May 19, 2026
Merged

chore: CON-1453 Introduce a type for remote transcript results#10250
eichhorl merged 2 commits into
masterfrom
eichhorl/remote-dkg-type

Conversation

@eichhorl
Copy link
Copy Markdown
Contributor

@eichhorl eichhorl commented May 19, 2026

Instead of the verbose (NiDkgId, CallbackId, Result<NiDkgTranscript, String>) triple, this PR introduces a dedicated struct for remote NiDKG transcript creation results.

Additionally, we remove all mentions of "early" remote transcripts. After #10055, "early" transcript creation (i.e. as part of data blocks) is the only way for remote transcripts to be created, since they can no longer be part of summary blocks. Therefore, we can drop the "early" prefix.

Note that, although we change the type of the summary payload, this change is backward/forward compatible (see passing cup_compatibility_test). This is because the hash function of the triple is equal to the one of the struct, therefore no migration is necessary.

@github-actions github-actions Bot added the chore label May 19, 2026
@eichhorl eichhorl marked this pull request as ready for review May 19, 2026 08:31
@eichhorl eichhorl requested a review from a team as a code owner May 19, 2026 08:31
Copy link
Copy Markdown
Contributor

@pierugo-dfinity pierugo-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

Comment thread rs/consensus/dkg/src/payload_validator.rs
@eichhorl eichhorl added this pull request to the merge queue May 19, 2026
Merged via the queue into master with commit 012afeb May 19, 2026
62 of 64 checks passed
@eichhorl eichhorl deleted the eichhorl/remote-dkg-type branch May 19, 2026 13:07
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