compound-v2-subgraph icon indicating copy to clipboard operation
compound-v2-subgraph copied to clipboard

Fix sync errors as mentioned in #15

Open cwang25 opened this issue 4 years ago • 2 comments

Fix #15. Changes the uses of getUnderlyingPrice, name, symbol to try_getUnderlyingPrice, try_name, try_symbol...etc

Current subgraph is stuck at Block 12,996,808 image

By add try_ to those functions, it would be able to sync to the head just fine. image

cwang25 avatar Nov 11 '21 18:11 cwang25

Hey @cwang25, thanks for the extra code fixes!

I'll be merging my fix first, since the deployment for that fix is already synced on the hosted service (and it should automatically and instantly fix the official subgraph), but after merging that one I'll review your code and most likely merge that too, so it starts syncing in parallel to fix any further issues :)

juanmardefago avatar Nov 15 '21 15:11 juanmardefago

No problem. Happy to help :) Thanks @juanmardefago .

I have also quick-fixed the merge conflict, this PR is good to merge anytime.

cwang25 avatar Nov 15 '21 20:11 cwang25