Function create_epoch_root_vote_collection_task_state

Source
async fn create_epoch_root_vote_collection_task_state<TYPES: NodeType, V: Versions>(
    info: &AccumulatorInfo<TYPES>,
    event: Arc<HotShotEvent<TYPES>>,
    sender: &Sender<Arc<HotShotEvent<TYPES>>>,
    upgrade_lock: UpgradeLock<TYPES, V>,
) -> Result<EpochRootVoteCollectionTaskState<TYPES, V>>