I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
Hello everyone, I'm facing an issue getting the following error on console:
ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'WXDAI_GNOSIS')
TypeError: Cannot read properties of undefined (reading 'WXDAI_GNOSIS')
at Module.WXDAI_GNOSIS (gas-price-provider.js:5:1)
at 12037 (chains.js:228:23)
at __webpack_require__ (bootstrap:19:1)
at 84177 (UniswapInterfaceMulticall__factory.js:122:1)
at __webpack_require__ (bootstrap:19:1)
at 38863 (chains.js:346:1)
at __webpack_require__ (bootstrap:19:1)
at 77840 (caching-token-list-provider.js:6:39)
at __webpack_require__ (bootstrap:19:1)
at 59127 (gas-price-provider.js:5:1)
at resolvePromise (zone.js:1255:1)
at resolvePromise (zone.js:1209:1)
at zone.js:1321:1
at ZoneDelegate.invokeTask (zone.js:434:1)
at Object.onInvokeTask (core.mjs:25463:33)
at ZoneDelegate.invokeTask (zone.js:433:1)
at Zone.runTask (zone.js:205:1)
at drainMicroTaskQueue (zone.js:620:1)
This happens when I initialize AlphaRouter:
import { AlphaRouter } from '@uniswap/smart-order-router';
.
.
.
let chainId = 3
let web3Provider = new ethers.providers.JsonRpcProvider(MY_PROVIDER);
let router = new AlphaRouter({ chainId: chainId, provider: web3Provider})
Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg.
Here is my package.json
I'm submitting a ... [x] bug report [ ] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project
Summary Hello everyone, I'm facing an issue getting the following error on console:
This happens when I initialize AlphaRouter:
And my nodejs version: 14.15.0
Thank you for your help