@@ -10,24 +10,16 @@ import { randomInt } from 'crypto';
1010import { getSignerFromPrivateKey } from 'iexec/utils' ;
1111
1212export const TEST_CHAIN = {
13- rpcURL : process . env . DRONE
14- ? 'http://bellecour-fork:8545'
15- : 'http://127.0.0.1:8545' ,
13+ rpcURL : 'http://127.0.0.1:8545' ,
1614 chainId : '134' ,
17- smsURL : process . env . DRONE ? 'http://sms:13300' : 'http://127.0.0.1:13300' ,
18- resultProxyURL : process . env . DRONE
19- ? 'http://result-proxy:13200'
20- : 'http://127.0.0.1:13200' ,
21- iexecGatewayURL : process . env . DRONE
22- ? 'http://market-api:3000'
23- : 'http://127.0.0.1:3000' ,
15+ smsURL : 'http://127.0.0.1:13300' ,
16+ resultProxyURL : 'http://127.0.0.1:13200' ,
17+ iexecGatewayURL : 'http://127.0.0.1:3000' ,
2418 voucherHubAddress : '0x3137B6DF4f36D338b82260eDBB2E7bab034AFEda' ,
2519 voucherManagerWallet : new Wallet (
2620 '0x2c906d4022cace2b3ee6c8b596564c26c4dcadddf1e949b769bcb0ad75c40c33'
2721 ) ,
28- voucherSubgraphURL : process . env . DRONE
29- ? 'http://graphnode:8000/subgraphs/name/bellecour/iexec-voucher'
30- : 'http://127.0.0.1:8000/subgraphs/name/bellecour/iexec-voucher' ,
22+ voucherSubgraphURL : 'http://127.0.0.1:8000/subgraphs/name/bellecour/iexec-voucher' ,
3123 learnProdWorkerpool : 'prod-v8-learn.main.pools.iexec.eth' ,
3224 learnProdWorkerpoolOwnerWallet : new Wallet (
3325 '0x800e01919eadf36f110f733decb1cc0f82e7941a748e89d7a3f76157f6654bb3'
@@ -40,7 +32,7 @@ export const TEST_CHAIN = {
4032 '0xa911b93e50f57c156da0b8bff2277d241bcdb9345221a3e246a99c6e7cedcde5'
4133 ) ,
4234 provider : new JsonRpcProvider (
43- process . env . DRONE ? 'http://bellecour-fork:8545' : 'http://127.0.0.1:8545' ,
35+ 'http://127.0.0.1:8545' ,
4436 undefined ,
4537 {
4638 pollingInterval : 1000 , // speed up tests
@@ -94,13 +86,10 @@ export const getTestConfig = (
9486 const ethProvider = getTestWeb3SignerProvider ( privateKey ) ;
9587 const options = {
9688 iexecOptions : getTestIExecOption ( ) ,
97- ipfsGateway : process . env . DRONE
98- ? 'http://ipfs:8080'
99- : 'http://127.0.0.1:8080' ,
100- ipfsNode : process . env . DRONE ? 'http://ipfs:5001' : 'http://127.0.0.1:5001' ,
101- dataProtectorSubgraph : process . env . DRONE
102- ? 'http://graphnode:8000/subgraphs/name/DataProtector-v2'
103- : 'http://127.0.0.1:8000/subgraphs/name/DataProtector-v2' ,
89+ ipfsGateway : 'http://127.0.0.1:8080' ,
90+ ipfsNode : 'http://127.0.0.1:5001' ,
91+ dataProtectorSubgraph :
92+ 'http://127.0.0.1:8000/subgraphs/name/DataProtector-v2' ,
10493 } ;
10594 return [ ethProvider , options ] ;
10695} ;
0 commit comments