Closed neysofu closed 1 year ago
@tilacog I really think removing the plethora of state logic makes things easier here, but I'd like to hear your opinion before merging. We can find a hybrid approach if it doesn't convince you
I agree with you about removing the state logic. There is no reason to keep state around if we don't compare versions as they change.
Fixes #176.
Additionaly, this PR removes some unneeded subgraph state logic as well as the
SubgraphApi
trait in favor of more "real-world" testing with actual HTTP requests. The result is a simpler API i.e. thequery_subgraph
function.