Skip to content
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

Improve subgraph local deployment testing #108

Open
ryley-o opened this issue Sep 23, 2022 · 0 comments
Open

Improve subgraph local deployment testing #108

ryley-o opened this issue Sep 23, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@ryley-o
Copy link
Contributor

ryley-o commented Sep 23, 2022

This repository's testing is great, but additional testing associated with running a subgraph locally can catch many other important bugs. For example, the contents of subgraph.yaml can only be tested in this manner, since testing in matchstick requires us to route events to their appropriate handlers directly.

We already have scripts to test locally (e.g. yarn deploy:local can be used to deploy to local graph node), but defining and documenting some general scripted commands on a contract suite would make sense. See the discussion in this PR in our smart-contracts repo: ArtBlocks/artblocks-contracts#302 (comment)

Ideally, we could incorporate something like what is described in the link above to streamline and document local deployments of subgraphs.

@ryley-o ryley-o added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 23, 2022
@ryley-o ryley-o mentioned this issue Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant