[WIP] index data on The Graph using subgraph #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rather than parse 400,000 blocks in the user's browser and break Infura's rate limiting (see #3), this attempts to move this championship-level block parsing to a subgraph on thegraph.com
Unfortunately, The Graph's Ethereum API does not currently provide a way to find failed transactions. I've requested such support here: graphprotocol/support#51
If we're going to only show successful DAO creations and info about each of these, we may still want to go with The Graph, rather than process all of this data on the user's machine. If we go that direction, we can use
eventHandlers, rather thanblockHandlersorcallHandlers.callHandlersseems cool, but does not work on Rinkeby, and we want Rinkeby statsblockHandlersseems to pretty limited, currentlyeventHandlersseems like the most common way to use The Graph, from looking through some example subgraphs