Skip to content

Commit 545d7a5

Browse files
committed
rmv local thegraph & migrate to new env
1 parent 07618fc commit 545d7a5

File tree

2 files changed

+4
-61
lines changed

2 files changed

+4
-61
lines changed

apollo/.env.prod

Lines changed: 4 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,28 @@
1-
SUBSTRATE_DVM_ENDPOINT=https://subql.darwinia.network/subql-helix-
2-
S2S_BACKING=https://thegraph.darwinia.network/helix/subgraphs/name/s2sbacking
3-
S2S_ISSUING=https://thegraph.darwinia.network/helix/subgraphs/name/s2sissuing
4-
5-
SUB2ETH_BACKING=https://thegraph.darwinia.network/helix/subgraphs/name/sub2ethbacking/darwinia
6-
SUB2ETH_ISSUING=https://api.studio.thegraph.com/query/8943/xtokenv1-issuing-ethereum/v1.0.0
7-
SUB2ETH_INBOUND_DARWINIA=https://thegraph.darwinia.network/helix/subgraphs/name/sub2ethinboundLane/darwinia
8-
SUB2ETH_INBOUND_ETHEREUM=https://api.studio.thegraph.com/query/8943/xtokenv1-dispatch-ethereum/v1.0.0
9-
10-
DARWINIA_S2E_LN_ENDPOINT=https://thegraph.darwinia.network/helix/subgraphs/name/sub2ethln/darwinia
11-
ETHEREUM_S2E_LN_ENDPOINT=https://api.studio.thegraph.com/query/8943/lnv1-ethereum/v1.0.0
12-
131
LN_ETHEREUM_OPPOSITE_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnopposite-ethereum/v2.0.0
142
LN_ARBITRUM_OPPOSITE_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnopposite-arbitrum/v2.0.0
153
LN_ETHEREUM_DEFAULT_ENDPOINT=https://api.studio.thegraph.com/query/59403/lndefault-ethereum/v2.0.0
164
LN_ARBITRUM_DEFAULT_ENDPOINT=https://api.studio.thegraph.com/query/59403/lndefault-arbitrum/v2.0.0
17-
LN_MANTLE_DEFAULT_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lndefault/mantle
185
LN_POLYGON_DEFAULT_ENDPOINT=https://api.studio.thegraph.com/query/59403/lndefault-polygon/v2.0.0
196
LN_ZKSYNC_DEFAULT_ENDPOINT=https://api.studio.thegraph.com/query/59403/lndefault-zksync/v1.0.0
207
LN_SCROLL_DEFAULT_ENDPOINT=https://api.studio.thegraph.com/query/59403/lndefault-scroll/1.0.0
21-
LN_DARWINIA_DEFAULT_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lndefault/darwinia
22-
LN_DARWINIA_OPPOSITE_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lnopposite/darwinia
23-
LN_CRAB_DEFAULT_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lndefault/crab
248
LN_BSC_DEFAULT_ENDPOINT=https://api.studio.thegraph.com/query/59403/lndefault-bsc/v0.0.1
259
LN_BASE_DEFAULT_ENDPOINT=https://api.studio.thegraph.com/query/59403/lndefault-base/v1.0.0
2610
LN_OP_DEFAULT_ENDPOINT=https://api.studio.thegraph.com/query/59403/lndefault-optimism/v2.0.0
27-
LN_LINEA_DEFAULT_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lndefault/linea
2811

2912
POLYGON_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-polygon/v1.0.0
3013
ARBITRUM_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-arbitrum/v2.0.0
3114
BSC_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-bsc/v1.0.0
32-
LINEA_LNV3_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lnv3/linea
3315
OP_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-op/v1.0.0
3416
GNOSIS_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-gnosis/v1.0.0
35-
MANTLE_LNV3_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lnv3/mantle
3617
SCROLL_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-scroll/v1.0.1
37-
DARWINIA_LNV3_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lnv3/darwinia
3818
BLAST_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-blast/v1.0.0
3919
ASTAR_ZKEVM_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-astar-zkevm/v1.0.0
4020
MOONBEAM_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-moonbeam/v1.0.0
41-
ZIRCUIT_LNV3_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lnv3/zircuit
4221
BASE_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-base/version/latest
43-
LNV3_ENVIO_ENDPOINT=https://indexer.bigdevenergy.link/e5a45aa/v1/graphql
44-
45-
XTOKEN_DARWINIA_CRAB_BACKING=https://thegraph.darwinia.network/helix/subgraphs/name/xtokentransfer/darwinia-crab-backing
46-
XTOKEN_DARWINIA_CRAB_ISSUING=https://thegraph.darwinia.network/helix/subgraphs/name/xtokentransfer/darwinia-crab-issuing
47-
XTOKEN_CRAB_DARWINIA_BACKING=https://thegraph.darwinia.network/helix/subgraphs/name/xtokentransfer/crab-darwinia-backing
48-
XTOKEN_CRAB_DARWINIA_ISSUING=https://thegraph.darwinia.network/helix/subgraphs/name/xtokentransfer/crab-darwinia-issuing
49-
XTOKEN_DARWINIA_ETHEREUM_BACKING=https://thegraph.darwinia.network/helix/subgraphs/name/xtokentransfer/darwinia-ethereum-backing
50-
XTOKEN_DARWINIA_ETHEREUM_ISSUING=https://api.studio.thegraph.com/query/59403/xtoken-dar-ethereum-issuing/v1.0.2
51-
XTOKEN_CRAB=https://thegraph.darwinia.network/helix/subgraphs/name/xtokentransfer/crab
52-
XTOKEN_DISPATCH_DARWINIA=https://thegraph.darwinia.network/helix/subgraphs/name/xtokendispatch/darwinia
53-
XTOKEN_DISPATCH_CRAB=https://thegraph.darwinia.network/helix/subgraphs/name/xtokendispatch/crab
54-
XTOKEN_DISPATCH_ETHEREUM=https://api.studio.thegraph.com/query/59403/xtoken-dispatch-ethereum/v1.0.0
5522

56-
LNV3_SUPER_ENDPOINT = http://34.142.158.162:8202/lnv3/graphql
57-
LNV2_DEFAULT_ENDPOINT = http://34.142.158.162:8202/lnv2default/graphql
58-
LNV2_OPPOSITE_ENDPOINT = http://34.142.158.162:8202/lnv2opposite/graphql
59-
LNV3_FINALIZED_ENDPOINT = http://34.142.158.162:5002/lnv3/graphql
23+
LNV3_SUPER_ENDPOINT = http://g1.helixbox.darwinia.network:8202/lnv3/graphql
24+
LNV2_DEFAULT_ENDPOINT = http://g1.helixbox.darwinia.network:8202/lnv2default/graphql
25+
LNV2_OPPOSITE_ENDPOINT = http://g1.helixbox.darwinia.network:8202/lnv2opposite/graphql
26+
LNV3_FINALIZED_ENDPOINT = http://g1.helixbox.darwinia.network:5002/lnv3/graphql
6027

6128
CHAIN_TYPE=formal

apollo/src/lnv3/transfer.service.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,15 @@ export class TransferService extends BaseTransferServiceT2 {
1111
private readonly zksyncEndpoint = this.configService.get<string>('ZKSYNC_LNV3_ENDPOINT');
1212
private readonly polygonEndpoint = this.configService.get<string>('POLYGON_LNV3_ENDPOINT');
1313
private readonly bscEndpoint = this.configService.get<string>('BSC_LNV3_ENDPOINT');
14-
private readonly lineaEndpoint = this.configService.get<string>('LINEA_LNV3_ENDPOINT');
1514
private readonly opEndpoint = this.configService.get<string>('OP_LNV3_ENDPOINT');
1615
private readonly gnosisEndpoint = this.configService.get<string>('GNOSIS_LNV3_ENDPOINT');
17-
private readonly mantleEndpoint = this.configService.get<string>('MANTLE_LNV3_ENDPOINT');
1816
private readonly scrollEndpoint = this.configService.get<string>('SCROLL_LNV3_ENDPOINT');
19-
private readonly darwiniaEndpoint = this.configService.get<string>('DARWINIA_LNV3_ENDPOINT');
2017
private readonly blastEndpoint = this.configService.get<string>('BLAST_LNV3_ENDPOINT');
2118
private readonly baseEndpoint = this.configService.get<string>('BASE_LNV3_ENDPOINT');
2219
private readonly taikoEndpoint = this.configService.get<string>('TAIKO_LNV3_ENDPOINT');
2320
private readonly astarZkEVMEndpoint = this.configService.get<string>('ASTAR_ZKEVM_LNV3_ENDPOINT');
2421
private readonly morphEndpoint = this.configService.get<string>('MORPH_LNV3_ENDPOINT');
2522
private readonly moonbeamEndpoint = this.configService.get<string>('MOONBEAM_LNV3_ENDPOINT');
26-
private readonly zircuitEndpoint = this.configService.get<string>('ZIRCUIT_LNV3_ENDPOINT');
2723

2824
public readonly ponderEndpoint = this.configService.get<string>('PONDER_LNV3_ENDPOINT');
2925
private readonly fastIndexEndpoint = this.configService.get<string>('LNV3_SUPER_ENDPOINT');
@@ -103,11 +99,6 @@ export class TransferService extends BaseTransferServiceT2 {
10399
label: 'finalized',
104100
url: this.finalizedIndexEndpoint,
105101
},
106-
{
107-
indexerType: Level0IndexerType.thegraph,
108-
label: 'thegraph',
109-
url: this.lineaEndpoint,
110-
},
111102
],
112103
chainConfig: HelixChain.linea,
113104
},
@@ -163,11 +154,6 @@ export class TransferService extends BaseTransferServiceT2 {
163154
label: 'finalized',
164155
url: this.finalizedIndexEndpoint,
165156
},
166-
{
167-
indexerType: Level0IndexerType.thegraph,
168-
label: 'thegraph',
169-
url: this.mantleEndpoint,
170-
},
171157
],
172158
chainConfig: HelixChain.mantle,
173159
},
@@ -203,11 +189,6 @@ export class TransferService extends BaseTransferServiceT2 {
203189
label: 'finalized',
204190
url: this.finalizedIndexEndpoint,
205191
},
206-
{
207-
indexerType: Level0IndexerType.thegraph,
208-
label: 'thegraph',
209-
url: this.darwiniaEndpoint,
210-
},
211192
],
212193
chainConfig: HelixChain.darwiniaDvm,
213194
},
@@ -318,11 +299,6 @@ export class TransferService extends BaseTransferServiceT2 {
318299
label: 'finalized',
319300
url: this.finalizedIndexEndpoint,
320301
},
321-
{
322-
indexerType: Level0IndexerType.thegraph,
323-
label: 'thegraph',
324-
url: this.zircuitEndpoint,
325-
},
326302
],
327303
chainConfig: HelixChain.zircuit,
328304
},

0 commit comments

Comments
 (0)