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

feat: Multichain indexing #42

Merged
merged 13 commits into from
Aug 29, 2024
Merged

feat: Multichain indexing #42

merged 13 commits into from
Aug 29, 2024

Conversation

brunomenezes
Copy link
Collaborator

@brunomenezes brunomenezes commented Aug 22, 2024

Summary

The code changes add support for indexing multiple chains at once (based on configuration).

Changes:

  • A new entity chain was added to the schema.
  • Breaking Changes: A new form of ID is introduced for each entity, a mix of chainId-address and chainId-address-index for the Input entity.
  • Indexes were created, and two new fields were introduced, just the Address, to facilitate queries made by the front end. Also, a relationship was introduced for all entities with the new Entity Chain for easier filtering.
  • Packages from @subsquid were updated to their latest version, and the replacement of deprecated APIs was done.
  • Vitest (and related packages, i.e. coverage) and typescript were upgraded to the latest version, and configurations were updated.
  • The documentation (e.g., the README) was updated to clarify all available configurations (environment variables) and their purposes. Check here

@brunomenezes brunomenezes linked an issue Aug 22, 2024 that may be closed by this pull request
5 tasks
@brunomenezes brunomenezes merged commit e215b72 into main Aug 29, 2024
2 checks passed
@brunomenezes brunomenezes deleted the 41-multichain-indexing branch August 29, 2024 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants