Skip to content

Commit 92c1453

Browse files
authored
removed hosted service column from table (#723)
* removed hosted service column from table * Fix code style issues identified by prettier
1 parent bb0b458 commit 92c1453

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

website/pages/en/developing/supported-networks.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const getStaticProps = getStaticPropsForSupportedNetworks(__filename)
1212
\* Baseline network support provided by the [upgrade Indexer](https://thegraph.com/blog/upgrade-indexer/).
1313
\*\* Integration with Graph Node: `evm`, `near`, `cosmos`, `osmosis` and `ar` have native handler and type support in Graph Node. Chains which are Firehose- and Substreams-compatible can leverage the generalised [Substreams-powered subgraph](/cookbook/substreams-powered-subgraphs) integration (this includes `evm` and `near` networks). &#8288;<sup>†</sup> Supports deployment of [Substreams-powered subgraphs](/cookbook/substreams-powered-subgraphs).
1414

15-
- The hosted service and Subgraph Studio rely on the stability and reliability of the underlying technologies, for example JSON-RPC, Firehose and Substreams endpoints.
15+
- Subgraph Studio relies on the stability and reliability of the underlying technologies, for example JSON-RPC, Firehose and Substreams endpoints.
1616
- Subgraphs indexing Gnosis Chain can now be deployed with the `gnosis` network identifier. `xdai` is still supported for existing hosted service subgraphs.
1717
- If a subgraph was published via the CLI and picked up by an Indexer, it could technically be queried even without support, and efforts are underway to further streamline integration of new networks.
1818
- For a full list of which features are supported on the decentralized network, see [this page](https://github.com/graphprotocol/indexer/blob/main/docs/feature-support-matrix.md).

website/src/supportedNetworks.tsx

+1-8
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,12 @@ export async function getSupportedNetworks() {
2828
return Array.from(SupportedNetworkMap.values()).flatMap((network) =>
2929
Array.from(network.chains)
3030
.map((chain) => {
31-
const supportedOnHostedService = chain.productDeployStatus.hostedService === ChainProductStatus.ALLOWED
3231
const supportedOnStudio = chain.productDeployStatus.studio === ChainProductStatus.ALLOWED
3332
const integrationType = ['evm', 'near', 'cosmos', 'osmosis', 'ar'].includes(chain.network)
3433
? chain.network
3534
: 'substreams'
3635

37-
if (
38-
!chain.graphCliName ||
39-
(!supportedOnStudio && !supportedOnHostedService && integrationType !== 'substreams')
40-
) {
36+
if (!chain.graphCliName || (!supportedOnStudio && integrationType !== 'substreams')) {
4137
return null as never // `as never` to work around the `.filter(Boolean)` below not narrowing the type
4238
}
4339

@@ -50,7 +46,6 @@ export async function getSupportedNetworks() {
5046
cliName: chain.graphCliName,
5147
chainId: chain.chainId,
5248
testnet: chain.testnet,
53-
supportedOnHostedService,
5449
supportedOnStudio,
5550
fullySupportedOnNetwork,
5651
substreams: chain.substreams ?? [],
@@ -71,7 +66,6 @@ export function SupportedNetworksTable({ networks }: { networks: Awaited<ReturnT
7166
<th>{t('supportedNetworks.network')}</th>
7267
<th>{t('supportedNetworks.cliName')}</th>
7368
<th align="center">{t('supportedNetworks.integrationType')}**</th>
74-
<th align="center">{t('supportedNetworks.hostedService')}</th>
7569
<th align="center">{t('supportedNetworks.subgraphStudio')}</th>
7670
<th align="center">{t('supportedNetworks.decentralizedNetwork')}</th>
7771
</tr>
@@ -82,7 +76,6 @@ export function SupportedNetworksTable({ networks }: { networks: Awaited<ReturnT
8276
<CodeInline>{network.cliName}</CodeInline>
8377
</td>
8478
<td align="center">{network.integrationType}</td>
85-
<td align="center">{network.supportedOnHostedService ? '✓' : null}</td>
8679
<td align="center">
8780
{network.supportedOnStudio ? '✓' : null}
8881
{network.substreams.includes('studio') ? <sup></sup> : null}

0 commit comments

Comments
 (0)