near / near-indexer-for-explorer

Watch NEAR network and store all the data from NEAR blockchain to PostgreSQL database
https://near-indexers.io/docs/projects/near-indexer-for-explorer
GNU General Public License v3.0
123 stars 56 forks source link

refactor: Upgrade NEAR Indexer dependency to 0.9.0. #96

Closed khorolets closed 3 years ago

khorolets commented 3 years ago

Make corresponding changes to db_adapters:

This is a work in progress PR, we still need to decide what to do with Execution Outcomes as they actually don't belong to specific chunk but to specific shard.

Perhaps we need to remove the relation exectuion_outcomes.executed_in_chunk_hash and add field shard_id to be more accurate with data representation we have. Need to discuss and decide, but currently db_adapters::execution_outcomes is broken completely.

khorolets commented 3 years ago

@chefsale could you look at failing FOSA check to help with identifying the nature of the error?