-
Notifications
You must be signed in to change notification settings - Fork 36
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
Devops #4
Conversation
I think the ABIs should be fixed to the live version of the protocol when choosing mainnet. |
package-lock.json | ||
*.log | ||
.env | ||
subgraph.yaml |
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.
redundant cr
.gitignore
Outdated
subgraph.yaml | ||
docker-compose.yml | ||
config.json | ||
abis |
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.
redundant cr
@tsuberim which bug in ganache you are referring to ? |
@orenyodfat The bug is trufflesuite/ganache#907 which has been fixed but not yet released as a new version. |
@ben-kaufman just to be clear I only mean the ABI interface definitions (not the whole |
Is that effect graph-node code or the code added for this pr ? Is there a way to bypass that ? |
Please note that the deployment addresses can also potentially |
|
@tsuberim so it is basically a graph-node issue ? graphprotocol/graph-node#375 ? |
@orenyodfat No, its ganache not following the spec (not setting the |
Hi @orenyodfat I updated the issue graphprotocol/graph-node#375 with the steps to run ganache locally (that works with graph-node). It has the fix, that's not released yet. Hope it helps! |
I see that you import the ABI json files directly from Arc, while the version of the contract being used currently on the mainnet is different from the one in Arc, meaning the ABI is different than the ABI of the live contract. |
Right . we need to put some thoughts on how to handle multiple versions of the same contracts (with different abi or not) |
README.md
Outdated
Develop locally: | ||
## Configure the project | ||
|
||
### .env variables |
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.
please add an .env template file
I guess it will be nice to add ganache-cli to package.json and have a script to run it with the mnemonic |
Should we add ganache-cli to package.json so it can be run manually regardless docker ? |
07c7ee3
to
69ab80c
Compare
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.
👍
Lets merge this pr and open issues if needed.
|
||
# Get started | ||
DAOstack subgraph for [TheGraph](https://thegraph.com/) project. |
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.
Add a link to graph-node GitHub as theGraph
|
||
# Get started | ||
DAOstack subgraph for [TheGraph](https://thegraph.com/) project. |
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.
Maybe "DAOstack subgraph using graph-node project."
@daostack/arc
automatically as part ofcodegen
mainnet
/development
using yaml templating.ganache
)docker
&docker-compose
.