Skip to content

Commit

Permalink
Merge pull request #6214 from decentraland/hotfix/hotfix-20240612
Browse files Browse the repository at this point in the history
hotfix: add main The Graph subgraphs to use dcl provider (#6213)
  • Loading branch information
Kinerius authored Jun 12, 2024
2 parents d3f77d6 + c29085f commit 85b23a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion browser-interface/packages/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export namespace ethereumConfigurations {
wss: 'wss://rpc.decentraland.org/mainnet',
http: 'https://rpc.decentraland.org/mainnet',
etherscan: 'https://etherscan.io',
names: 'https://api.thegraph.com/subgraphs/name/decentraland/marketplace',
names: 'https://subgraph.decentraland.org/marketplace',

// contracts
LANDProxy: assertValue(contractInfo.mainnet.LANDProxy),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
public class TheGraph : ITheGraph
{
private const float DEFAULT_CACHE_TIME = 5 * 60;
private const string LAND_SUBGRAPH_URL_ORG = "https://api.thegraph.com/subgraphs/name/decentraland/land-manager";
private const string LAND_SUBGRAPH_URL_ZONE = "https://api.thegraph.com/subgraphs/name/decentraland/land-manager-sepolia";
private const string MANA_SUBGRAPH_URL_ETHEREUM = "https://api.thegraph.com/subgraphs/name/decentraland/mana-ethereum-mainnet";
private const string MANA_SUBGRAPH_URL_POLYGON = "https://api.thegraph.com/subgraphs/name/decentraland/mana-matic-mainnet";
private const string NFT_COLLECTIONS_SUBGRAPH_URL_ETHEREUM = "https://api.thegraph.com/subgraphs/name/decentraland/collections-ethereum-mainnet";
private const string NFT_COLLECTIONS_SUBGRAPH_URL_MATIC = "https://api.thegraph.com/subgraphs/name/decentraland/collections-matic-mainnet";
private const string LAND_SUBGRAPH_URL_ORG = "https://subgraph.decentraland.org/land-manager";
private const string LAND_SUBGRAPH_URL_ZONE = "https://api.studio.thegraph.com/query/49472/land-manager-sepolia/version/latest";
private const string MANA_SUBGRAPH_URL_ETHEREUM = "https://subgraph.decentraland.org/mana-ethereum-mainnet";
private const string MANA_SUBGRAPH_URL_POLYGON = "https://subgraph.decentraland.org/mana-matic-mainnet";
private const string NFT_COLLECTIONS_SUBGRAPH_URL_ETHEREUM = "https://subgraph.decentraland.org/collections-ethereum-mainnet";
private const string NFT_COLLECTIONS_SUBGRAPH_URL_MATIC = "https://subgraph.decentraland.org/collections-matic-mainnet";

private readonly IDataCache<List<Land>> landQueryCache = new DataCache<List<Land>>();

Expand Down

0 comments on commit 85b23a7

Please sign in to comment.