Skip to content

TheGraph deployment doesn't work #272

@squadgazzz

Description

@squadgazzz

TheGraph deployment doesn't work on the current version. After updating the client to the latest version(#271), I was able to debug the issue. The script is currently generates the following command:
https://github.com/uniswap/v3-subgraph/blob/main/script/utils/deploy-utils.ts#L38-L40

graph deploy --node ${node} --ipfs ${ipfs} --deploy-key ${deployKey} --version-label ${gitHashString} ${subgraphName} ${subgraphType}-subgraph.yaml

When using with node https://api.thegraph.com/deploy/, it fails with 503 error. Instead, the --node and --ipfs keys must be dropped, so the following command works fine:

graph deploy --deploy-key ${deployKey} --version-label ${gitHashString} ${subgraphName} ${subgraphType}-subgraph.yaml

I haven't tested it with Alchemy, so specifying those URLs there might be mandatory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions