Skip to content
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

Simplify Indexer Service #139

Merged
merged 14 commits into from
Nov 12, 2024
Merged

Simplify Indexer Service #139

merged 14 commits into from
Nov 12, 2024

Conversation

marcus-snx
Copy link
Contributor

@marcus-snx marcus-snx commented Nov 11, 2024

There is now only 1 indexer service: indexer-v2. To start indexing, run the service using docker compose and specify a network and config:

docker compose run indexer-v2 --network_name base_mainnet --config_name synthetix-v3

An optional list of --contract_names can also be provided to index only these contracts from the config:

docker compose run indexer-v2 --network_name base_mainnet --config_name synthetix-v3 --contract_names CoreProxy,MarketProxy

Other changes:

  • add Arbitrum curve USDx/USDe pool to config to showcase external data indexing
  • stringify all hex addresses in yaml configs as sometimes the python parser is converting these values to dec
  • simplify the subsquid patching to use internal data to get the latest block to index

@marcus-snx marcus-snx requested a review from Tburm November 12, 2024 00:29
@Tburm Tburm merged commit 6e2bf2a into main Nov 12, 2024
2 checks passed
@Tburm Tburm deleted the feat/simplify-indexer-service branch November 12, 2024 18:30
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.

2 participants