Skip to content

Commit

Permalink
add new graph urls (#8795)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecsavvy authored Jun 11, 2024
1 parent f6ce3e0 commit 32ffd84
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions comms/discovery/the_graph/discovery_nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ type Peer struct {

func Query(isStaging, isContent bool) ([]Peer, error) {

endpoint := `https://api.thegraph.com/subgraphs/name/audius-infra/audius-network-mainnet`
endpoint := `https://gateway-arbitrum.network.thegraph.com/api/3e9ce54904ec5ee003de7785f0d24a21/subgraphs/id/F8TjrYuTLohz64J8uuDke9htSR1aY9TGCuEjJVVjUJaD`
if isStaging {
endpoint = `https://api.thegraph.com/subgraphs/name/audius-infra/audius-network-sepolia`
endpoint = `https://gateway-arbitrum.network.thegraph.com/api/7d7b938a80fe712cd8390bf42c88456a/subgraphs/id/Du8Zhnj3ap95TTusD6EnFNohfeVBtQftbqFgcruLCMA`
}

nodeType := "discovery-node"
Expand Down
4 changes: 2 additions & 2 deletions mediorum/registrar/the_graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import (
)

func NewGraphStaging() PeerProvider {
endpoint := `https://api.thegraph.com/subgraphs/name/audius-infra/audius-network-sepolia`
endpoint := `https://gateway-arbitrum.network.thegraph.com/api/7d7b938a80fe712cd8390bf42c88456a/subgraphs/id/Du8Zhnj3ap95TTusD6EnFNohfeVBtQftbqFgcruLCMA`
return &graphProvider{endpoint}
}

func NewGraphProd() PeerProvider {
endpoint := `https://api.thegraph.com/subgraphs/name/audius-infra/audius-network-mainnet`
endpoint := `https://gateway-arbitrum.network.thegraph.com/api/3e9ce54904ec5ee003de7785f0d24a21/subgraphs/id/F8TjrYuTLohz64J8uuDke9htSR1aY9TGCuEjJVVjUJaD`
return &graphProvider{endpoint}
}

Expand Down
4 changes: 2 additions & 2 deletions monitoring/uptime/registrar/the_graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import (
)

func NewGraphStaging() PeerProvider {
endpoint := `https://api.thegraph.com/subgraphs/name/audius-infra/audius-network-sepolia`
endpoint := `https://gateway-arbitrum.network.thegraph.com/api/7d7b938a80fe712cd8390bf42c88456a/subgraphs/id/Du8Zhnj3ap95TTusD6EnFNohfeVBtQftbqFgcruLCMA`
return &graphProvider{endpoint}
}

func NewGraphProd() PeerProvider {
endpoint := `https://api.thegraph.com/subgraphs/name/audius-infra/audius-network-mainnet`
endpoint := `https://gateway-arbitrum.network.thegraph.com/api/3e9ce54904ec5ee003de7785f0d24a21/subgraphs/id/F8TjrYuTLohz64J8uuDke9htSR1aY9TGCuEjJVVjUJaD`
return &graphProvider{endpoint}
}

Expand Down
4 changes: 2 additions & 2 deletions protocol-dashboard/.env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ VITE_ETH_OWNER_WALLET=0xC7310a03e930DD659E15305ed7e1F5Df0F0426C5
VITE_ETH_PROVIDER_URL=https://eth-mainnet.alchemyapi.io/v2/hELYSivAlDc8LV29Mw_LumSdCZ4HQEge,https://eth-mainnet.alchemyapi.io/v2/Iy15fLTuL7wfRNqhMWZOyusLiqG2LGHJ,https://eth-mainnet.alchemyapi.io/v2/dKWeJWSF5lz5y_o0lQNVR2BfcmYglClO,https://eth-mainnet.alchemyapi.io/v2/W--Uss7AqotdfKao0PH6aTQa9bOG4osc
VITE_ETH_REGISTRY_ADDRESS=0xd976d3b4f4e22a238c1A736b6612D22f17b6f64C
VITE_ETH_TOKEN_ADDRESS=0x18aAA7115705e8be94bfFEBDE57Af9BFc265B998
VITE_GQL_BACKUP_URI=https://api.thegraph.com/subgraphs/name/audius-infra/audius-network-mainnet
VITE_GQL_URI=https://gateway.thegraph.com/api/bd9947826d9fef2ca3da545366c3ca8a/subgraphs/id/CptFsHp6zar7kdfGYbVAqMeF1wNA1pJs6GaaJvPgeCfu
VITE_GQL_BACKUP_URI=https://gateway-arbitrum.network.thegraph.com/api/3e9ce54904ec5ee003de7785f0d24a21/subgraphs/id/F8TjrYuTLohz64J8uuDke9htSR1aY9TGCuEjJVVjUJaD
VITE_GQL_URI=https://gateway-arbitrum.network.thegraph.com/api/3e9ce54904ec5ee003de7785f0d24a21/subgraphs/id/F8TjrYuTLohz64J8uuDke9htSR1aY9TGCuEjJVVjUJaD
VITE_IDENTITY_SERVICE_ENDPOINT=https://identityservice.audius.co
VITE_QUERY_PROPOSAL_START_BLOCK=11818009
VITE_REGISTRY_ADDRESS=0xC611C82150b56E6e4Ec5973AcAbA8835Dd0d75A2
Expand Down
2 changes: 1 addition & 1 deletion protocol-dashboard/.env.stage
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ VITE_ETH_OWNER_WALLET=
VITE_ETH_PROVIDER_URL=https://eth-sepolia.g.alchemy.com/v2/J1Pj86H-g87FqUZVMUbLGgnyoaQTHP1P
VITE_ETH_REGISTRY_ADDRESS=0xc682C2166E11690B64338e11633Cb8Bb60B0D9c0
VITE_ETH_TOKEN_ADDRESS=0x1376180Ee935AA64A27780F4BE97726Df7B0e2B2
VITE_GQL_URI=https://api.thegraph.com/subgraphs/name/audius-infra/audius-network-sepolia
VITE_GQL_URI=https://gateway-arbitrum.network.thegraph.com/api/7d7b938a80fe712cd8390bf42c88456a/subgraphs/id/Du8Zhnj3ap95TTusD6EnFNohfeVBtQftbqFgcruLCMA
VITE_IDENTITY_SERVICE_ENDPOINT=https://identityservice.staging.audius.co
VITE_QUERY_PROPOSAL_START_BLOCK=1
VITE_REGISTRY_ADDRESS=0x793373aBF96583d5eb71a15d86fFE732CD04D452
Expand Down

0 comments on commit 32ffd84

Please sign in to comment.