Skip to content

Commit

Permalink
feat(crypto): CRP-2646 use AlgorithmID::VetKD in batch delivery for v…
Browse files Browse the repository at this point in the history
…etKD (#4064)

Since #3997 we use a dedicated
AlgorithmID for vetKD. However, the PR missed to use this algorithm ID
also in batch delivery, which led to the long running system test
`//rs/tests/consensus/vetkd:vetkd_key_life_cycle_test` getting broken
(see #4060). This PR fixes this by
using `AlgorithmID::VetKD` also in batch delivery.
  • Loading branch information
fspreiss authored Feb 22, 2025
1 parent 732f889 commit 256c598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/consensus/dkg/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub fn get_vetkey_public_keys(
(
key_id.clone().into(),
MasterPublicKey {
algorithm_id: AlgorithmId::ThresBls12_381,
algorithm_id: AlgorithmId::VetKD,
public_key: pubkey.into_bytes().to_vec(),
},
),
Expand Down

0 comments on commit 256c598

Please sign in to comment.