File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed
Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ export class IExecWeb3mail {
126126 allowExperimentalNetworks : this . options . allowExperimentalNetworks ,
127127 } ) ;
128128
129- // assigning config from options and fallback to default config
130129 const subgraphUrl =
131130 this . options ?. dataProtectorSubgraph ||
132131 chainDefaultConfig ?. dataProtectorSubgraph ;
@@ -141,7 +140,6 @@ export class IExecWeb3mail {
141140 const ipfsNode =
142141 this . options ?. ipfsNode || chainDefaultConfig ?. ipfsUploadUrl ;
143142
144- // throw if any config field is missing
145143 const missing = [ ] ;
146144 if ( ! subgraphUrl ) missing . push ( 'dataProtectorSubgraph' ) ;
147145 if ( ! dappAddressOrENS ) missing . push ( 'dappAddress' ) ;
Original file line number Diff line number Diff line change @@ -19,21 +19,6 @@ describe('IExecWeb3mail()', () => {
1919 expect ( web3mail ) . toBeInstanceOf ( IExecWeb3mail ) ;
2020 } ) ;
2121
22- it ( 'should verify Arbitrum Sepolia configuration is properly defined' , ( ) => {
23- const arbitrumSepoliaConfig = getChainDefaultConfig ( 421614 , { allowExperimentalNetworks : true } ) ;
24- expect ( arbitrumSepoliaConfig ) . not . toBeNull ( ) ;
25-
26- // Verify all required fields are present
27- expect ( arbitrumSepoliaConfig ! . name ) . toBe ( 'arbitrum-sepolia-testnet' ) ;
28- expect ( arbitrumSepoliaConfig ! . dappAddress ) . toBe ( 'web3mail.apps.iexec.eth' ) ;
29- expect ( arbitrumSepoliaConfig ! . prodWorkerpoolAddress ) . toBe ( '0x39c3cdd91a7f1c4ed59108a9da4e79de9a1c1b59' ) ;
30- expect ( arbitrumSepoliaConfig ! . dataProtectorSubgraph ) . toBe ( 'https://thegraph.iex.ec/subgraphs/name/bellecour/dataprotector-v2' ) ;
31- expect ( arbitrumSepoliaConfig ! . ipfsGateway ) . toBe ( 'https://ipfs-gateway.arbitrum-sepolia-testnet.iex.ec' ) ;
32- expect ( arbitrumSepoliaConfig ! . ipfsUploadUrl ) . toBe ( 'https://ipfs-upload.arbitrum-sepolia-testnet.iex.ec' ) ;
33- expect ( arbitrumSepoliaConfig ! . whitelistSmartContract ) . toBe ( '0x781482C39CcE25546583EaC4957Fb7Bf04C277D2' ) ;
34- expect ( arbitrumSepoliaConfig ! . isExperimental ) . toBe ( true ) ;
35- } ) ;
36-
3722 it ( 'should use default ipfs gateway url when ipfsGateway is not provided' , async ( ) => {
3823 const wallet = Wallet . createRandom ( ) ;
3924 const web3mail = new IExecWeb3mail (
You can’t perform that action at this time.
0 commit comments