Skip to content

Fix a bug where building a package that includes @orca-so/whirlpools using tsc fails #551

Fix a bug where building a package that includes @orca-so/whirlpools using tsc fails

Fix a bug where building a package that includes @orca-so/whirlpools using tsc fails #551

Triggered via pull request November 1, 2024 13:54
Status Failure
Total duration 9m 29s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
build
Process completed with exit code 1.
lint
Process completed with exit code 1.
test
Cannot find module '../dist/nodejs/orca_whirlpools_core_js_bindings' or its corresponding type declarations.
test
Cannot find module '../dist/nodejs/orca_whirlpools_core_js_bindings' or its corresponding type declarations.
test
Cannot find module '../dist/nodejs/orca_whirlpools_core_js_bindings' or its corresponding type declarations.
tests/e2e.test.ts > e2e > Splash pool: ts-sdk/core/dist/orca_whirlpools_core_js_bindings.js#L667
TypeError: Cannot read properties of undefined (reading 'priceToSqrtPrice') ❯ Module.priceToSqrtPrice ../core/dist/orca_whirlpools_core_js_bindings.js:667:22 ❯ createConcentratedLiquidityPoolInstructions src/createPool.ts:158:28 ❯ testInitSplashPool tests/e2e.test.ts:100:7 ❯ tests/e2e.test.ts:357:25
tests/e2e.test.ts > e2e > Concentrated liquidity pool: ts-sdk/core/dist/orca_whirlpools_core_js_bindings.js#L667
TypeError: Cannot read properties of undefined (reading 'priceToSqrtPrice') ❯ Module.priceToSqrtPrice ../core/dist/orca_whirlpools_core_js_bindings.js:667:22 ❯ Module.createConcentratedLiquidityPoolInstructions src/createPool.ts:158:28 ❯ testInitConcentratedLiquidityPool tests/e2e.test.ts:113:7 ❯ tests/e2e.test.ts:370:25
test
Process completed with exit code 1.