desync-labs / fathom-stablecoin-smart-contracts

GNU Affero General Public License v3.0
14 stars 3 forks source link

Subgraph Implementation - for Bot #17

Open Briggs20 opened 1 year ago

Briggs20 commented 1 year ago
Tarunshrma commented 1 year ago
Tarunshrma commented 1 year ago

Tested the subgraph, it is working as expected, however there is a problem that need to be addressed:

Bot listen event and query to graph node even before it is fully synced to latest block that leads to inconsistent data. I have tried it with hosted node. I may need to implement that polling approach to make sure graph node is fully synced upto target block before making a query.

Putting this task on HOLD to resume https://github.com/Into-the-Fathom/fathom-stablecoin-smart-contracts/issues/27