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
| constTHE_GRAPH_STUDIO_URL= |
| 'https://api.studio.thegraph.com/query/67444/request-payments-$NETWORK/version/latest'; |
Bandaid Solution
constTHE_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

Possible Long-Term Solution
Deploy the Base Payments Subgraph to the request-payments-base slug.
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
-2postfixrequestNetwork/packages/payment-detection/src/thegraph/client.ts
Lines 9 to 10 in 1d4ecce
Bandaid Solution
Analysis - Why does Base have the
-2postfix when none of the other chains have this?It's because a "DRAFT"

request-payments-basealready existed on the current owner, 0x68517f16b3Ceeb909dEba674de8560E7BE3b1af9 before the publishedrequest-payments-basewas transferred from the previous owner, 0x4E64C2d06d19D13061e62E291b2C4e9fe5679b93Possible Long-Term Solution
Deploy the Base Payments Subgraph to the
request-payments-baseslug.