-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
I try a demo code:
const balancer = new BalancerSDK({
network: 1, // Mainnet
rpcUrl: "https://my-eth-rpc" // rpc endpoint
})
const { swaps } = balancer // Swaps module is abstracting SOR
const pools = await swaps.fetchPools();
throws exception:
Unknown pool type: HighAmpComposableStable 0xea912e1afa137c15f1638142e32f978e92fbce390000000000000000000003b4
(anonymous function) onChainData.ts:58
bi onChainData.ts:56
getPools subgrap…oolDataService.ts:92
processTicksAndRejections task_queues:95
Async call from await
(anonymous function) poolCacher.ts:51
(anonymous function) tslib.es6.js:74
__awaiter tslib.es6.js:70
fetchPools poolCacher.ts:49
(anonymous function) wrapper.ts:73
(anonymous function) tslib.es6.js:74
__awaiter tslib.es6.js:70
fetchPools wrapper.ts:72
fetchPools swaps.module.ts:292
(anonymous function) app.ts:45
(anonymous function) app.ts:8
__awaiter app.ts:4
(anonymous function) app.ts:38
dispatch index.js:42
(anonymous function) router.js:425
dispatch index.js:42
(anonymous function) index.js:34
dispatch router.js:430
dispatch index.js:42
bodyParser index.js:78
processTicksAndRejections task_queues:95
Async call from await
dispatch index.js:42
(anonymous function) index.js:34
handleRequest application.js:186
handleRequest application.js:157
emit events:511
emit domain:489
parserOnIncoming _http_server:1105
parserOnHeadersComplete _http_common:119
Async call from HTTPINCOMINGMESSAGE
init inspector_async_hook:25
emitInitNative async_hooks:202
connectionListenerInternal _http_server:638
defaultTriggerAsyncIdScope async_hooks:465
connectionListener _http_server:611
emit events:511
emit domain:489
onconnection net:2095
callbackTrampoline async_hooks:130
Async call from TCPSERVERWRAP
init inspector_async_hook:25
emitInitNative async_hooks:202
createServerHandle net:1736
setupListenHandle net:1779
listenInCluster net:1860
Server.listen net:1948
listen application.js:88
(anonymous function) app.ts:469
Module._compile loader:1267
m._compile index.ts:1618
Module._extensions..js loader:1321
require.extensions.<computed> index.ts:1621
Module.load loader:1125
Module._load loader:965
executeUserEntryPoint run_main:83
phase4 bin.ts:649
bootstrap bin.ts:95
main bin.ts:55
(anonymous function) bin.ts:800
Module._compile loader:1267
Module._extensions..js loader:1321
Module.load loader:1125
Module._load loader:965
executeUserEntryPoint run_main:83
(anonymous function) run_main_module:23
Unknown pool type: HighAmpComposableStable 0x1d1b44a4c5a047bdc9b3f06842566e5ea9c1966d0000000000000000000003b3
(anonymous function) onChainData.ts:58
bi onChainData.ts:56
getPools subgrap…oolDataService.ts:92
processTicksAndRejections task_queues:95
Async call from await
(anonymous function) poolCacher.ts:51
(anonymous function) tslib.es6.js:74
__awaiter tslib.es6.js:70
fetchPools poolCacher.ts:49
(anonymous function) wrapper.ts:73
(anonymous function) tslib.es6.js:74
__awaiter tslib.es6.js:70
fetchPools wrapper.ts:72
fetchPools swaps.module.ts:292
(anonymous function) app.ts:45
(anonymous function) app.ts:8
__awaiter app.ts:4
(anonymous function) app.ts:38
dispatch index.js:42
(anonymous function) router.js:425
dispatch index.js:42
(anonymous function) index.js:34
dispatch router.js:430
dispatch index.js:42
bodyParser index.js:78
processTicksAndRejections task_queues:95
Async call from await
dispatch index.js:42
(anonymous function) index.js:34
handleRequest application.js:186
handleRequest application.js:157
emit events:511
emit domain:489
parserOnIncoming _http_server:1105
parserOnHeadersComplete _http_common:119
Async call from HTTPINCOMINGMESSAGE
init inspector_async_hook:25
emitInitNative async_hooks:202
connectionListenerInternal _http_server:638
defaultTriggerAsyncIdScope async_hooks:465
connectionListener _http_server:611
emit events:511
emit domain:489
onconnection net:2095
callbackTrampoline async_hooks:130
Async call from TCPSERVERWRAP
init inspector_async_hook:25
emitInitNative async_hooks:202
createServerHandle net:1736
setupListenHandle net:1779
listenInCluster net:1860
Server.listen net:1948
listen application.js:88
(anonymous function) app.ts:469
Module._compile loader:1267
m._compile index.ts:1618
Module._extensions..js loader:1321
require.extensions.<computed> index.ts:1621
Module.load loader:1125
Module._load loader:965
executeUserEntryPoint run_main:83
phase4 bin.ts:649
bootstrap bin.ts:95
main bin.ts:55
(anonymous function) bin.ts:800
Module._compile loader:1267
Module._extensions..js loader:1321
Module.load loader:1125
Module._load loader:965
executeUserEntryPoint run_main:83
(anonymous function) run_main_module:23
Error: fetchPools(): Error: Issue with multicall execution.
(anonymous function) poolCacher.ts:58
rejected tslib.es6.js:72
processTicksAndRejections task_queues:95
please help
Metadata
Metadata
Assignees
Labels
No labels