You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, go to the browser, and open the following url. It's a subgraph query: http://localhost:9000/subgraphs/name/oceanprotocol/ocean-subgraph/graphql?query=query+MyQuery+{%0A++predictContracts+{%0A++++id%0A++++token{%0A++++++name%0A++++}%0A++}%0A}
When I put that into the browser, it gives me "site can't be reached"
Debugging, to a solution
The ocean-subgraph repo gives instructions for starting barge as: ./start_ocean.sh --with-thegraph.
So I added --with-thegraph to the predictoor barge instructions:
How to replicate
In console, start barge with what predictoor.md instructs:
./start_ocean.sh --predictoor --with-pdr-trueval --with-pdr-trader --with-pdr-publisher --with-pdr-dfbuyer
Then, go to the browser, and open the following url. It's a subgraph query:
http://localhost:9000/subgraphs/name/oceanprotocol/ocean-subgraph/graphql?query=query+MyQuery+{%0A++predictContracts+{%0A++++id%0A++++token{%0A++++++name%0A++++}%0A++}%0A}
When I put that into the browser, it gives me "site can't be reached"
Debugging, to a solution
The ocean-subgraph repo gives instructions for starting barge as:
./start_ocean.sh --with-thegraph
.So I added
--with-thegraph
to the predictoor barge instructions:./start_ocean.sh --predictoor --with-pdr-trueval --with-pdr-trader --with-pdr-publisher --with-pdr-dfbuyer --with-the-graph
And, it works! :)
TODOs
Ensure that
---the-graph
is in every relevant READMEThe text was updated successfully, but these errors were encountered: