def METHOD_NAME(self, tx: BaseTransaction) -> list[bytes]:
    assert tx.hash is not None
    assert tx.storage is not None
    with tx.storage.allow_partially_validated_context():
        it_rev_deps = map(tx.storage.get_transaction, self._get_rev_deps(tx.hash))
    return [not_none(rev.hash) for rev in it_rev_deps if tx.hash in rev.parents]