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: add indexer to metadata #325

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

Sekhmet
Copy link
Contributor

@Sekhmet Sekhmet commented Nov 25, 2024

With support for multiple indexers in single Checkpoint instance we have to accomodate for those in our database.
This commit makes necessary changes in our metadata store.

Currently checkpoint still supports single indexer, but now metadata can accomodate it.

Test plan

  1. Run checkpoint-template with this PR (you need to call resetMetadata before reset).
  2. Run this query.
  3. All looks good (we don't expose indexer in metadata on GraphQL yet, next PR).
{
  posts {
    id
    content
    tag
    tx_hash
    created_at_block
  }
  _metadatas {
    id
    value
  }
}

With support for multiple indexers in single Checkpoint instance
we have to accomodate for those in our database.
This commit makes necessary changes in our metadata store.

Currently checkpoint still supports single indexer, but now metadata can accomodate it.
@Sekhmet Sekhmet requested a review from bonustrack November 25, 2024 13:00
Copy link
Contributor

@bonustrack bonustrack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK works well

@Sekhmet Sekhmet merged commit 2b4c811 into master Nov 26, 2024
1 check passed
@Sekhmet Sekhmet deleted the sekhmet/metadata-store-indexer branch November 26, 2024 08:57
Sekhmet added a commit that referenced this pull request Dec 4, 2024
With support for multiple indexers in single Checkpoint instance
we have to accomodate for those in our database.
This commit makes necessary changes in our metadata store.

Currently checkpoint still supports single indexer, but now metadata can accomodate it.
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