pub(super) fn weight<DB>(db: &Arc<DB>, ts: &Tipset) -> Result<BigInt, String>where DB: Blockstore,
Returns the weight of provided Tipset. This function will load power actor state and calculate the total weight of the Tipset.