Skip to content

docs: note archive-node requirement for MATIC_RPC_URL and expand provider list - #71

Open
akegaviar wants to merge 1 commit into
Polymarket:mainfrom
akegaviar:docs-matic-rpc-archive-node
Open

docs: note archive-node requirement for MATIC_RPC_URL and expand provider list#71
akegaviar wants to merge 1 commit into
Polymarket:mainfrom
akegaviar:docs-matic-rpc-archive-node

Conversation

@akegaviar

@akegaviar akegaviar commented Jun 4, 2026

Copy link
Copy Markdown

The Environment Variables section says MATIC_RPC_URL can be any Polygon RPC, but Graph Node indexes from each subgraph's startBlock (some from 2020) and issues historical eth_calls during indexing — e.g. the ERC-20 metadata reads in fpmm-subgraph (try_name/try_symbol/try_decimals). Full/pruned nodes can't serve those, which surfaces as hard-to-diagnose indexing failures.

This PR:

  • Notes that an archive node is needed.
  • Clarifies the value is the full https:// URL and points to where it's consumed (ethereum: 'matic:${MATIC_RPC_URL}' in docker-compose.yml).
  • Rounds out the provider list (alphabetical).

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 .env example now shows a full https:// URL placeholder instead of an empty value. New copy explains that MATIC_RPC_URL must be the complete Polygon mainnet endpoint and how it is wired into Graph Node (ethereum: 'matic:${MATIC_RPC_URL}' in docker-compose.yml).

The doc now states that an archive node is required (historical replay from early startBlocks and historical eth_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.

…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant