Skip to content

Commit 12c1530

Browse files
ci: update deployment and configuration files
1 parent c1954c0 commit 12c1530

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

deployment-dapp/src/singleFunction/deployApp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const deployApp = async ({
2626

2727
const mrenclave = {
2828
framework: 'SCONE' as any, // workaround framework not auto capitalized
29-
version: 'v5',
29+
version: 'v5.9',
3030
entrypoint: 'node /app/app.js',
3131
heapSize: 1073741824,
3232
fingerprint,

src/config/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const CHAIN_CONFIG: Record<number, ChainConfig> = {
3232
dappAddress: undefined, // ENS not supported on this network, address will be resolved from Compass
3333
prodWorkerpoolAddress: '0x39c3cdd91a7f1c4ed59108a9da4e79de9a1c1b59',
3434
dataProtectorSubgraph:
35-
'https://thegraph.arbitrum-sepolia-testnet.iex.ec/api/subgraphs/id/5YjRPLtjS6GH6bB4yY55Qg4HzwtRGQ8TaHtGf9UBWWd',
35+
'https://gateway.thegraph.com/api/subgraphs/id/5YjRPLtjS6GH6bB4yY55Qg4HzwtRGQ8TaHtGf9UBWWd',
3636
ipfsGateway: 'https://ipfs-gateway.arbitrum-sepolia-testnet.iex.ec',
3737
ipfsUploadUrl: 'https://ipfs-upload.arbitrum-sepolia-testnet.iex.ec',
3838
whitelistSmartContract: '0x7291ff96100DA6CF97933C225B86124ef95aEc9b', // TODO: add the correct address

src/utils/subgraphQuery.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,11 @@ export const checkProtectedDataValidity = async (
9393
start: 0,
9494
range: 1,
9595
};
96-
96+
const headers = {
97+
Authorization: 'Bearer e4ad354aca9d53f18458c970dcb2784e',
98+
};
9799
const protectedDataResultQuery: GraphQLResponse =
98-
await graphQLClient.request(checkProtectedDataQuery, variables);
100+
await graphQLClient.request(checkProtectedDataQuery, variables, headers);
99101

100102
const { protectedDatas } = protectedDataResultQuery;
101103

0 commit comments

Comments
 (0)