Describe the bug
2025-10-29 11:28:40 | info | Calculated ticks - Lower: 9486, Upper: 17959
2025-10-29 11:28:40 | info | Current pool tick: 14594
2025-10-29 11:28:40 | error | Failed to open position: Cannot convert 1.5e+21 to a BigInt {} | SyntaxError: Cannot
convert 1.5e+21 to a BigInt
at BigInt ()
at new Fraction (/home/bot/gateway/node_modules/.pnpm/@[email protected]/node_modules/@pancakeswap/s
wap-sdk-core/dist/index.js:81:22)
at new CurrencyAmount (/home/bot/gateway/node_modules/.pnpm/@[email protected]/node_modules/@pancake
swap/swap-sdk-core/dist/index.js:200:5)
at CurrencyAmount.fromRawAmount (/home/bot/gateway/node_modules/.pnpm/@[email protected]/node_module
s/@pancakeswap/swap-sdk-core/dist/index.js:211:12)
at Object. (/home/bot/gateway/dist/connectors/pancakeswap/clmm-routes/openPosition.js:113:57)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-10-29 11:28:40 | error | Unexpected error opening position: Cannot convert 1.5e+21 to a BigInt {} |
SyntaxError: Cannot convert 1.5e+21 to a BigInt
at BigInt ()
at new Fraction (/home/bot/gateway/node_modules/.pnpm/@[email protected]/node_modules/@pancakeswap/s
wap-sdk-core/dist/index.js:81:22)
at new CurrencyAmount (/home/bot/gateway/node_modules/.pnpm/@[email protected]/node_modules/@pancake
swap/swap-sdk-core/dist/index.js:200:5)
at CurrencyAmount.fromRawAmount (/home/bot/gateway/node_modules/.pnpm/@[email protected]/node_module
s/@pancakeswap/swap-sdk-core/dist/index.js:211:12)
at Object. (/home/bot/gateway/dist/connectors/pancakeswap/clmm-routes/openPosition.js:113:57)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Steps to reproduce
-
-
-
Release version
2.9.0
Type of installation
Source
Attach required files
No response
Fixed in https://github.com/hummingbot/gateway/pull/543