diff --git a/.github/workflows/dapp-deploy.yml b/.github/workflows/dapp-deploy.yml index bea0dcf..ed38a72 100644 --- a/.github/workflows/dapp-deploy.yml +++ b/.github/workflows/dapp-deploy.yml @@ -14,7 +14,7 @@ on: # prod environments (requires a tag starting with dapp-v) - bellecour-prod - arbitrum-sepolia-prod - - arbitrum-mainnet-prod + - arbitrum-prod jobs: extract-tag: diff --git a/deployment-dapp/package-lock.json b/deployment-dapp/package-lock.json index f3dbe11..d0e5a91 100644 --- a/deployment-dapp/package-lock.json +++ b/deployment-dapp/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "iexec": "^8.17.1", + "iexec": "^8.18.0", "typescript": "^5.0.4", "yup": "^1.2.0" }, @@ -3017,9 +3017,9 @@ "license": "BSD-3-Clause" }, "node_modules/iexec": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/iexec/-/iexec-8.17.1.tgz", - "integrity": "sha512-S6TZM6gZVn2qAd5spz3LOAPehQrpRsbrX/MsPVzvNHdE94c3FKptQ5o6vGwMIoL3soTLkhJPax7VM5EmH07wZA==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/iexec/-/iexec-8.18.0.tgz", + "integrity": "sha512-lj2La67p0IKyCHhpV4F2SZD7kmE1AFhGmD26jf8si7/sTelrXun3wNTun6WAOEO9uMi49J0AlA6MxUNBxuCflg==", "license": "Apache-2.0", "dependencies": { "@ensdomains/ens-contracts": "^1.2.5", diff --git a/deployment-dapp/package.json b/deployment-dapp/package.json index 4051bdb..0798fd3 100644 --- a/deployment-dapp/package.json +++ b/deployment-dapp/package.json @@ -18,7 +18,7 @@ "author": "", "license": "ISC", "dependencies": { - "iexec": "^8.17.1", + "iexec": "^8.18.0", "typescript": "^5.0.4", "yup": "^1.2.0" }, diff --git a/package-lock.json b/package-lock.json index c05c631..7c11327 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "buffer": "^6.0.3", "ethers": "^6.8.1", "graphql-request": "^6.1.0", - "iexec": "^8.17.1", + "iexec": "^8.18.0", "kubo-rpc-client": "^4.1.3", "yup": "^1.1.1" }, @@ -5322,9 +5322,9 @@ ] }, "node_modules/iexec": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/iexec/-/iexec-8.17.1.tgz", - "integrity": "sha512-S6TZM6gZVn2qAd5spz3LOAPehQrpRsbrX/MsPVzvNHdE94c3FKptQ5o6vGwMIoL3soTLkhJPax7VM5EmH07wZA==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/iexec/-/iexec-8.18.0.tgz", + "integrity": "sha512-lj2La67p0IKyCHhpV4F2SZD7kmE1AFhGmD26jf8si7/sTelrXun3wNTun6WAOEO9uMi49J0AlA6MxUNBxuCflg==", "license": "Apache-2.0", "dependencies": { "@ensdomains/ens-contracts": "^1.2.5", diff --git a/package.json b/package.json index 421575e..b999899 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "buffer": "^6.0.3", "ethers": "^6.8.1", "graphql-request": "^6.1.0", - "iexec": "^8.17.1", + "iexec": "^8.18.0", "kubo-rpc-client": "^4.1.3", "yup": "^1.1.1" }, diff --git a/src/config/config.ts b/src/config/config.ts index 3915359..5cd8635 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -35,9 +35,19 @@ export const CHAIN_CONFIG: Record = { 'https://thegraph.arbitrum-sepolia-testnet.iex.ec/api/subgraphs/id/5YjRPLtjS6GH6bB4yY55Qg4HzwtRGQ8TaHtGf9UBWWd', ipfsGateway: 'https://ipfs-gateway.arbitrum-sepolia-testnet.iex.ec', ipfsUploadUrl: 'https://ipfs-upload.arbitrum-sepolia-testnet.iex.ec', - whitelistSmartContract: '0x7291ff96100DA6CF97933C225B86124ef95aEc9b', // TODO: add the correct address + whitelistSmartContract: '0x7291ff96100DA6CF97933C225B86124ef95aEc9b', isExperimental: true, }, + 42161: { + name: 'arbitrum-mainnet', + dappAddress: undefined, // ENS not supported on this network, address will be resolved from Compass + prodWorkerpoolAddress: '0x2C06263943180Cc024dAFfeEe15612DB6e5fD248', + dataProtectorSubgraph: + 'https://thegraph.arbitrum.iex.ec/api/subgraphs/id/Ep5zs5zVr4tDiVuQJepUu51e5eWYJpka624X4DMBxe3u', + ipfsGateway: 'https://ipfs-gateway.arbitrum-mainnet.iex.ec', + ipfsUploadUrl: 'https://ipfs-upload.arbitrum-mainnet.iex.ec', + whitelistSmartContract: '0x53AFc09a647e7D5Fa9BDC784Eb3623385C45eF89', + }, }; export const getChainDefaultConfig = (