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

Move from kovan to goerli #199

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Move from kovan to goerli #199

wants to merge 3 commits into from

Conversation

0xjocke
Copy link
Contributor

@0xjocke 0xjocke commented Aug 1, 2022

js-monrepo require goerli subgraphs to be defined. Left some question and I will also need help to deploy since I dont have the access key for our account

if (i === 0 && (getCurrentNetwork() !== 'optimism' || getCurrentNetwork() !== 'optimism-kovan')) {
if (
(i === 0 && (getCurrentNetwork() !== 'optimism' || getCurrentNetwork() !== 'optimism-goerli')) ||
getCurrentNetwork() !== 'goerli'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I assumed that guerli doesn't need to track exchanger_SynthetixOldTracking

@@ -127,7 +127,7 @@ exchangeRatesContractAddresses.forEach((ca, i) => {
});
});

if (getCurrentNetwork() === 'mainnet' || getCurrentNetwork() == 'kovan') {
if (getCurrentNetwork() === 'mainnet' || getCurrentNetwork() == 'goerli') {
// hack for chainlink, tracking of aggregator address changes
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this chainlink hack is required for goerli too?

subgraphs/utils/network.js Outdated Show resolved Hide resolved
@0xjocke 0xjocke requested review from noahlitvin and dbeal-eth and removed request for noahlitvin August 1, 2022 15:59
@0xjocke
Copy link
Contributor Author

0xjocke commented Aug 1, 2022

Also, if any of you have admin rights could you add @nosekit

@0xjocke 0xjocke marked this pull request as ready for review August 1, 2022 16:01
@0xjocke
Copy link
Contributor Author

0xjocke commented Aug 4, 2022

Deployed to goerli under my account and fully synced
https://thegraph.com/hosted-service/subgraph/bachstatter/goerli-main?selected=playground

The graph still haven't got support for goerli-optimism

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.

1 participant