-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Summary
Currently, fetch_dotrain_source() always queries the metaboard subgraph (a remote GraphQL service) to resolve dotrain source code, even when the local DB is available and syncing on-chain events. This creates an unnecessary dependency on an external service and adds latency.
Goal
Enable the local DB sync pipeline to index MetaV1_2 events from the metaboard contract, so dotrain sources can be resolved locally without hitting the subgraph. This follows the same "local first, remote fallback" pattern already established for order fetching.
Implementation Steps
- Add contract address to metaboard config — Add contract address field to MetaboardCfg #2444
- Index metaboard events in the sync pipeline — Index metaboard contract events in the sync pipeline #2445
- Use local DB in
fetch_dotrain_source()— Use local DB for fetching dotrain source #2446
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels