Commit 69d7061
committed
fix: add missing ipfsNodeURL parameter in IExecDataProtectorModule
This fix ensures that custom IPFS node URLs (e.g., local IPFS for testing)
are properly passed to the internal IExec instance.
Without this fix, tests using local IPFS (like Docker Compose setups)
fail with connection timeouts to production IPFS nodes because the IExec
instance was using default chain IPFS URLs instead of the custom configured ones.
Changes:
- Added ipfsNodeURL: ipfsNode to the IExec constructor options
- This parameter was already extracted from config but never used
- ipfsGatewayURL was already being passed, making this a missing piece
Impact:
- ✅ Tests with local IPFS now work correctly
- ✅ Custom IPFS configurations are properly respected
- ✅ No regression for production (spread operator still allows override)
- ✅ Consistent with ipfsGatewayURL handling1 parent 4db1403 commit 69d7061
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
0 commit comments