Skip to content

Commit

Permalink
Merge pull request #16 from gnosisguild/fix-deployment
Browse files Browse the repository at this point in the history
replace goerli with sepolia in subgraph client
  • Loading branch information
samepant authored Jul 5, 2024
2 parents 782d8c1 + 824cfb4 commit 9536041
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/app/src/services/subgraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if (!process.env.REACT_APP_SUBGRAPH_GNOSIS_CHAIN) {
if (!process.env.REACT_APP_SUBGRAPH_MAINNET) {
throw new Error("REACT_APP_SUBGRAPH_MAINNET is not set")
}
if (!process.env.REACT_APP_SUBGRAPH_GOERLI) {
throw new Error("REACT_APP_SUBGRAPH_GOERLI is not set")
if (!process.env.REACT_APP_SUBGRAPH_SEPOLIA) {
throw new Error("REACT_APP_SUBGRAPH_SEPOLIA is not set")
}
if (!process.env.REACT_APP_SUBGRAPH_POLYGON) {
throw new Error("REACT_APP_SUBGRAPH_POLYGON is not set")
Expand All @@ -44,7 +44,7 @@ if (!process.env.REACT_APP_SUBGRAPH_OPTIMISM) {

const BASE_SUBGRAPH_URL = process.env.REACT_APP_SUBGRAPH_BASE_URL
const SUBGRAPH_GNOSIS_CHAIN = process.env.REACT_APP_SUBGRAPH_GNOSIS_CHAIN
const SUBGRAPH_GOERLI = process.env.REACT_APP_SUBGRAPH_GOERLI
const SUBGRAPH_SEPOLIA = process.env.REACT_APP_SUBGRAPH_SEPOLIA
const SUBGRAPH_MAINNET = process.env.REACT_APP_SUBGRAPH_MAINNET
const SUBGRAPH_POLYGON = process.env.REACT_APP_SUBGRAPH_POLYGON
const SUBGRAPH_ARBITRUM = process.env.REACT_APP_SUBGRAPH_ARBITRUM
Expand All @@ -57,8 +57,8 @@ const getUrl = (network?: Network) => {
return BASE_SUBGRAPH_URL + SUBGRAPH_MAINNET
case Network.GNOSIS:
return BASE_SUBGRAPH_URL + SUBGRAPH_GNOSIS_CHAIN
case Network.GOERLI:
return BASE_SUBGRAPH_URL + SUBGRAPH_GOERLI
case Network.SEPOLIA:
return BASE_SUBGRAPH_URL + SUBGRAPH_SEPOLIA
case Network.POLYGON:
return BASE_SUBGRAPH_URL + SUBGRAPH_POLYGON
case Network.OPTIMISM:
Expand All @@ -68,7 +68,7 @@ const getUrl = (network?: Network) => {
// case Network.OPTIMISM_ON_GNOSIS:
// return BASE_SUBGRAPH_URL + SUBGRAPH_OPTIMISM_ON_GNOSIS_CHAIN
default:
return BASE_SUBGRAPH_URL + SUBGRAPH_GOERLI
return BASE_SUBGRAPH_URL + SUBGRAPH_SEPOLIA
}
}

Expand Down

0 comments on commit 9536041

Please sign in to comment.