-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Update Mantle Payments Subgraph URL #1450
Conversation
Warning Rate limit exceeded@MantisClone has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 9 minutes and 5 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. WalkthroughThe change involves updating the URL used to access the Mantle subgraph in the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -16,7 +16,7 @@ const THE_GRAPH_URL_MANTLE_TESTNET = | |||
'https://graph.testnet.mantle.xyz/subgraphs/name/requestnetwork/request-payments-mantle-testnet'; | |||
|
|||
const THE_GRAPH_URL_MANTLE = | |||
'https://graph.fusionx.finance/subgraphs/name/requestnetwork/request-payments-mantle'; | |||
'https://subgraph-api.mantle.xyz/api/public/query_deployment?subgraph_id=QmfZ1KQXzpj3VgKv9qFEjXJEyiJzV6EtxFeWYLaM34sHQ5'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tip
Codebase Verification
Critical Issue: New URL Endpoint Returns 404 Error
The updated URL for THE_GRAPH_URL_MANTLE
is currently returning a "404 page not found" error. This indicates that the endpoint is incorrect or the subgraph ID is invalid. Please verify the correct URL or subgraph ID to ensure the application can interact with the Mantle subgraph as intended.
- Location:
packages/payment-detection/src/thegraph/client.ts
, line 19
Analysis chain
URL Update Approved; Verify Endpoint Functionality
The update to THE_GRAPH_URL_MANTLE
is approved as it points to a potentially more structured and reliable API endpoint. However, it's crucial to verify that the new URL is functional and returns the expected data.
Run the following script to verify the new endpoint's functionality:
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify the new URL endpoint for the Mantle subgraph.
# Test: Perform a simple query to the new URL. Expect: Successful response and correct data format.
curl -X POST -H "Content-Type: application/json" \
-d '{"query":"{ subgraphs { id } }"}' \
"https://subgraph-api.mantle.xyz/api/public/query_deployment?subgraph_id=QmfZ1KQXzpj3VgKv9qFEjXJEyiJzV6EtxFeWYLaM34sHQ5"
Length of output: 624
Towards RequestNetwork/payments-subgraph#90
Description of the changes
Summary by CodeRabbit
New Features
Bug Fixes