1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

switch subgraph URL for typings generation

This commit is contained in:
Matthias Kretschmann 2022-06-28 14:53:11 +01:00
parent 65045ba7b9
commit 470110894e
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ module.exports = {
client: {
service: {
name: 'ocean',
url: 'https://subgraph.rinkeby.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph',
url: 'https://subgraph.polygon.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph',
// optional disable SSL validation check
skipSSLValidation: true
}

View File

@ -1,5 +1,5 @@
overwrite: true
schema: 'https://subgraph.rinkeby.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph'
schema: 'https://subgraph.polygon.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph'
documents:
- './src/utils/subgraph.ts'
- './src/components/pages/History/PoolShares.tsx'

View File

@ -26,8 +26,8 @@ export function getDevelopmentConfig(): Partial<ConfigHelperConfig> {
fixedRateExchangeAddress: contractAddresses.development?.FixedRateExchange,
metadataContractAddress: contractAddresses.development?.Metadata,
oceanTokenAddress: contractAddresses.development?.Ocean,
// There is no subgraph in barge so we hardcode the Rinkeby one for now
subgraphUri: 'https://subgraph.rinkeby.oceanprotocol.com'
// There is no subgraph in barge so we hardcode the Polygon one for now
subgraphUri: 'https://subgraph.polygon.oceanprotocol.com'
}
}