-
Notifications
You must be signed in to change notification settings - Fork 154
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
feat(subgraph): add subgraph module for indexing data #1203
feat(subgraph): add subgraph module for indexing data #1203
Conversation
✅ Deploy Preview for maci-typedoc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
@hangleang thanks, take a look at the maci-contracts package and you can reuse eslint config and tsconfig from there. Left some comments to fix.
UPDATEDWe no longer need to manually generate the |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
@hangleang thanks, can you squash your commits to fix commitlint check and describe in commit message general work done for this task?
Update subgraph/src/poll.ts Co-authored-by: Anton <14254374+0xmad@users.noreply.github.com> Update subgraph/src/poll.ts Co-authored-by: Anton <14254374+0xmad@users.noreply.github.com> Update subgraph/src/maci.ts Co-authored-by: Anton <14254374+0xmad@users.noreply.github.com> Update subgraph/src/poll.ts Co-authored-by: Anton <14254374+0xmad@users.noreply.github.com>
dac31dc
into
privacy-scaling-explorations:feat/subgraph-pr
Congrats, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2024 MACI Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
Description
Add subgraph module and integrate into the workspace with the following functionality:
networks.json
file for generatingsubgraph.yaml
Poll
related events, which has been deployed from theMACI
contract instanceAdditional Notes
every deployment of MACI contracts will be automatically updated the
networks.json
file, but you need to manually generate thesubgraph.yaml
by runningpnpm run codegen:local
in the subgraph directoryThere is also some limitation of current implementation including:
All of those will be improved later on while review the PR
Related issue(s)
Not related to any issue
Confirmation