docs: note archive-node requirement for MATIC_RPC_URL and expand provider list - #71
Open
akegaviar wants to merge 1 commit into
Open
docs: note archive-node requirement for MATIC_RPC_URL and expand provider list#71akegaviar wants to merge 1 commit into
akegaviar wants to merge 1 commit into
Conversation
…ider list Graph Node indexes from each subgraph's startBlock (some from 2020) and issues historical eth_call requests while indexing (e.g. ERC-20 metadata reads in fpmm-subgraph), which full/pruned nodes can't serve. Clarify that an archive node is needed, note the value is the full https:// URL and where it is consumed in docker-compose.yml, and round out the provider list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Environment Variables section says
MATIC_RPC_URLcan be any Polygon RPC, but Graph Node indexes from each subgraph'sstartBlock(some from 2020) and issues historicaleth_calls during indexing — e.g. the ERC-20 metadata reads infpmm-subgraph(try_name/try_symbol/try_decimals). Full/pruned nodes can't serve those, which surfaces as hard-to-diagnose indexing failures.This PR:
https://URL and points to where it's consumed (ethereum: 'matic:${MATIC_RPC_URL}'indocker-compose.yml).Docs-only; no code changes.
Note
Low Risk
Documentation-only; no runtime, config template, or subgraph logic changes.
Overview
README Environment Variables section is expanded so operators set up Polygon RPC correctly for local Graph Node.
The
.envexample now shows a fullhttps://URL placeholder instead of an empty value. New copy explains thatMATIC_RPC_URLmust be the complete Polygon mainnet endpoint and how it is wired into Graph Node (ethereum: 'matic:${MATIC_RPC_URL}'indocker-compose.yml).The doc now states that an archive node is required (historical replay from early
startBlocks and historicaleth_calls during indexing), and lists example providers: Alchemy, Chainstack, Infura, and QuickNode.Reviewed by Cursor Bugbot for commit 69c068f. Bugbot is set up for automated code reviews on this repo. Configure here.