Skip to content

Commit

Permalink
Merge pull request #79 from Proof-Of-Humanity/testnets
Browse files Browse the repository at this point in the history
Testnets
  • Loading branch information
martillansky authored Sep 20, 2024
2 parents 61f94ae + 277fe4a commit 23058a0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/config/subgraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export type queryReturnType<Q extends queryType> = Record<
export const subgraph_url = {
[mainnet.id]: (
(configSetSelection.id === configSets.main.id) ?
"https://api.studio.thegraph.com/query/64099/poh-origin-mainnet/version/latest"
"https://api.studio.thegraph.com/query/64099/poh-origin-mainnet/v0.0.1"
//"https://api.studio.thegraph.com/query/64099/poh-origin-mainnet/version/latest"
: (configSetSelection.id === configSets.mainOld.id) ?
"https://api.studio.thegraph.com/query/64099/proof-of-humanity-mainnet/version/latest"
: (configSetSelection.id === configSets.mainPreAudit.id) ?
Expand All @@ -23,7 +24,8 @@ export const subgraph_url = {
),
[gnosis.id]: (
(configSetSelection.id === configSets.main.id) ?
"https://api.studio.thegraph.com/query/64099/poh-origin-gnosis/version/latest"
"https://api.studio.thegraph.com/query/64099/poh-origin-gnosis/v0.0.1"
//"https://api.studio.thegraph.com/query/64099/poh-origin-gnosis/version/latest"
: (configSetSelection.id === configSets.mainOld.id) ?
"https://api.studio.thegraph.com/query/64099/proof-of-humanity-gnosis/version/latest"
: (configSetSelection.id === configSets.mainPreAudit.id) ?
Expand All @@ -32,8 +34,8 @@ export const subgraph_url = {
),
[sepolia.id]: (
(configSetSelection.id === configSets.testOld.id) ?
"https://api.studio.thegraph.com/query/64099/proof-of-humanity-sepolia-test/version/latest" // OLD
//"https://api.studio.thegraph.com/query/64099/proof-of-humanity-sepolia/v0.1.5" // OLD
"https://api.studio.thegraph.com/query/64099/proof-of-humanity-sepolia-test/v0.0.5" // OLD
//"https://api.studio.thegraph.com/query/64099/proof-of-humanity-sepolia-test/version/latest" // OLD
: (configSetSelection.id === configSets.testNew.id) ?
"https://api.studio.thegraph.com/query/64099/proof-of-humanity-sepolia/version/latest"
: ""
Expand Down

0 comments on commit 23058a0

Please sign in to comment.