compound-v2-subgraph
compound-v2-subgraph copied to clipboard
Fix sync errors as mentioned in #15
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

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

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 :)
No problem. Happy to help :) Thanks @juanmardefago .
I have also quick-fixed the merge conflict, this PR is good to merge anytime.