Closed ebma closed 7 months ago
@pendulum-chain/product This task is related https://github.com/pendulum-chain/tasks/issues/60. It will change the indexer to offer the data that we need for https://github.com/pendulum-chain/tasks/issues/60
@bogdanS98 is see you already have started working on it? Can you please add your estimates to the ticket?
Our indexer currently does not offer much 'general' data. You cannot query the last blocks, extrinsics or events. The base version that is deployed in combination with the archive already exposes this data, see e.g. here. The code for that 'base squid' is here. Sometimes we do need to have access to this basic data. For example, solving https://github.com/pendulum-chain/tasks/issues/60 requires it.
TODO
We should extend the schema of our squids to also offer data about:
We should not add the
metadata
as it takes too much space and we will never query it from these indexers.The implementation should draw heavy inspiration from the implementation of the giant-squid. We should: