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

🧬 Indexing genesis state #78

Open
ErikssonJoakim opened this issue Aug 31, 2023 · 0 comments
Open

🧬 Indexing genesis state #78

ErikssonJoakim opened this issue Aug 31, 2023 · 0 comments

Comments

@ErikssonJoakim
Copy link
Contributor

ErikssonJoakim commented Aug 31, 2023

In order to have an accurate record of all entities in the database it is important to include the genesis state in the database.

Requirements

  • The genesis state needs to be added before indexation of blocks start.
  • In case start block other than block 1 it should not be added (question of keeping the record in relation with the intersecting blocks being indexed)
  • Only genesis data relevant to the entities indexed should be added

As of date SubQuery does not offer a way to add the genesis state to the postgres database (see subql issue regarding possible future implementation).

For an example state see the okp4-nemeton-1 chain genesis file

@AnjaMis AnjaMis moved this to 📋 Backlog in 💻 Development Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant