-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add docs for subgraph debug forking #31
add docs for subgraph debug forking #31
Conversation
|
||
Using **subgraph forking** we can essentially eliminate this step. Here is how it looks: | ||
|
||
0. Spin-up a local Graph node with the ***appropriate fork-base*** set. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this list and the one on line 83 start with 0?
I like how computers index things, but I guess humans are weird... 😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is that these steps starting with 0 are really "setup" steps and not part of the debug loop.
Yeah... Humans have their quirks, hah.
I said it on the last time I've reviewed your documentation, but I would like to note it again, I really like the humor in your writing 😄 |
} | ||
``` | ||
|
||
Oops, how unfortunate, when I deploy my perfect looking subgraph to the [HostedService](https://thegraph.com/hosted-service/) it fails with the *"Gravatar not found!"* error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VIVelev Usually, we refer to "Hosted Service" not "HostedService"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed here: #121
Migrated over from docs-archived.
Reference: graphprotocol/graph-node#2995