pub fn vid_total_weight<TYPES: NodeType>( stake_table: &HSStakeTable<TYPES>, epoch: Option<TYPES::Epoch>, ) -> usize