Skip to content

Incorrect Payments Subgraph URL for Base chain #1413

@MantisClone

Description

@MantisClone

Problem

Creating a request on Base fails due to an incorrect payments subgraph URL.

Correct URL:
https://api.studio.thegraph.com/query/67444/request-payments-base-2/version/latest

Incorrect URL because it's missing the -2 postfix

const THE_GRAPH_STUDIO_URL =
'https://api.studio.thegraph.com/query/67444/request-payments-$NETWORK/version/latest';

Bandaid Solution

 const THE_GRAPH_STUDIO_URL_BASE = 
   'https://api.studio.thegraph.com/query/67444/request-payments-base-2/version/latest'; 

Analysis - Why does Base have the -2 postfix when none of the other chains have this?

It's because a "DRAFT" request-payments-base already existed on the current owner, 0x68517f16b3Ceeb909dEba674de8560E7BE3b1af9 before the published request-payments-base was transferred from the previous owner, 0x4E64C2d06d19D13061e62E291b2C4e9fe5679b93
image

Possible Long-Term Solution

Deploy the Base Payments Subgraph to the request-payments-base slug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions