-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Description
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
requestNetwork/packages/payment-detection/src/thegraph/client.ts
Lines 9 to 10 in 1d4ecce
| 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

Possible Long-Term Solution
Deploy the Base Payments Subgraph to the request-payments-base slug.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
✅ Done