Skip to content

Commit

Permalink
[no ci] link to #1695
Browse files Browse the repository at this point in the history
  • Loading branch information
ggutoski committed Sep 8, 2023
1 parent cf20099 commit b4a5dc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/task-impls/src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ pub enum SequencingHotShotEvent<TYPES: NodeType, I: NodeImplementation<TYPES>> {
/// Vid disperse data has been received from the network; handled by the DA task
///
/// Like [`DAProposalRecv`].
/// TODO GG: lots of boilerplate here eg. `VidDisperse[Send|Recv]`. If we need both [Send|Recv] then maybe partition [`SequencingHotShotEvent`] into separate enums?
/// TODO GG: should [`VidDisperse`] be of the form [`Proposal<DAProposal<TYPES>>`] to mirror [`DAProposalRecv`]? We need things like `Committable`, etc.
VidDisperseRecv(VidDisperse<TYPES>, TYPES::SignatureKey),
/// Send a VID vote to the VID leader; emitted by VID storage nodes in the DA task after seeing a valid VID dispersal
///
Expand Down
3 changes: 3 additions & 0 deletions crates/types/src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ pub type VidScheme = jf_primitives::vid::advz::Advz<ark_bls12_381::Bls12_381, sh
pub use jf_primitives::vid::VidScheme as VidSchemeTrait;

/// VID dispersal data
///
/// TODO https://github.com/EspressoSystems/HotShot/issues/1695
/// `VidDisperse` should be of the form `Proposal<DAProposal<TYPES>>` to mirror `DAProposalRecv`. We need things like `Committable`, etc.
#[derive(Debug, Serialize, Deserialize, Clone, Eq, PartialEq, Hash)]
pub struct VidDisperse<TYPES: NodeType> {
/// The view number for which this VID data is intended
Expand Down

0 comments on commit b4a5dc1

Please sign in to comment.