def has_tx_succeeded(tx_receipt):
    """
    We check tx has succeeded by reading the `status` on the `tx_receipt`
    More info: https://docs.pantheon.pegasys.tech/en/latest/Reference/JSON-RPC-API-Objects/#transaction-receipt-object
    """
    status = tx_receipt.get("status", None)
    if status == 1:
        return True
    return False