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

Multi-subgraph structure #6

Merged
merged 59 commits into from
Nov 22, 2021
Merged

Multi-subgraph structure #6

merged 59 commits into from
Nov 22, 2021

Conversation

jdville03
Copy link
Member

@jdville03 jdville03 commented Nov 20, 2021

This major refactor is intended to work with tribute-contracts@v2.

Refactors structure of Tribute DAO subgraph to be modular. There is one Core subgraph that covers DaoFactory (dataSource), DaoRegistry (template), and BankExtension (template) contracts. Any subgraphs needed for adapters and other extensions can be added as separate subgraphs. We have started with an NFTExtension subgraph and a CouponOnboarding subgraph.

🥳 Adds

  • automated pull request template
  • lint style GH Action
  • integrates prettier to handle code style uniformity (with scripts to check and fix styles)
  • script for automated release drafts and tags

Updates

  • update subgraph-deployer.ts to handle deploying Core and any additional adapter/extension subgraphs
  • update documentation for handling deployment of multi-subgraph structure
  • update docker files for local deployment

⛔️ Removes

  • remove various proposal-related adapters used in legacy subgraph structure

🧹 Chores done

  • update code style
  • fix typos and clean up comments

@jdville03 jdville03 merged commit 8e1e909 into main Nov 22, 2021
@jdville03 jdville03 deleted the subgraph-struct-v2 branch November 22, 2021 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants