You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Have been experiencing this issue since a couple days (this worked before). Hope anyone can help me with this.
Here is a live example of the error: Sandbox
API doesn't fetch the Factory Pools
In order to get some routes I need to fetch the Factory Pools and the Crypto Factory Pools, as stated in the docs, but since a couple days I can't fetch the Factory Pools, instead it throws an error.
Expected Behavior
Connects to the Factory Pools.
Actual Behavior
Throws this error:
TypeError: Cannot read properties of undefined (reading 'map')
at new Interface (/src/packages/service/node_modules/@ethersproject/abi/lib/interface.js:100:65)
at BaseContract.getInterface (/src/packages/service/node_modules/@ethersproject/contracts/lib/index.js:764:16)
at Contract.BaseContract (/src/packages/service/node_modules/@ethersproject/contracts/lib/index.js:616:116)
at new Contract (/src/packages/service/node_modules/@ethersproject/contracts/lib/index.js:1053:42)
at /src/packages/service/node_modules/@curvefi/api/lib/factory/factory-api.js:113:27
at Array.forEach (<anonymous>)
at Curve.setFactorySwapContracts (/src/packages/service/node_modules/@curvefi/api/lib/factory/factory-api.js:110:21)
at Curve.<anonymous> (/src/packages/service/node_modules/@curvefi/api/lib/factory/factory-api.js:186:45)
at step (/src/packages/service/node_modules/@curvefi/api/lib/factory/factory-api.js:44:23)
at Object.next (/src/packages/service/node_modules/@curvefi/api/lib/factory/factory-api.js:25:53)
at fulfilled (/src/packages/service/node_modules/@curvefi/api/lib/factory/factory-api.js:16:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Steps to Reproduce
Step 1: Connect to curve API with the RPC provider and specifying the chain id, 1 in this case (mainnet).
Hi! Have been experiencing this issue since a couple days (this worked before). Hope anyone can help me with this.
Here is a live example of the error: Sandbox
API doesn't fetch the Factory Pools
In order to get some routes I need to fetch the Factory Pools and the Crypto Factory Pools, as stated in the docs, but since a couple days I can't fetch the Factory Pools, instead it throws an error.
Expected Behavior
Connects to the Factory Pools.
Actual Behavior
Throws this error:
Steps to Reproduce
Step 1: Connect to curve API with the RPC provider and specifying the chain id, 1 in this case (mainnet).
Step 2: Try the connection to the Factory Pools.
Additional Information
The text was updated successfully, but these errors were encountered: