pub async fn get_update_proposals(
    context: &Context
) -> Result<HashMap<Hash, UpdateProposalStateDef>, Error>