Skip to content

🧬 Indexing genesis state #78

@ErikssonJoakim

Description

@ErikssonJoakim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions