Skip to content

[ECO-2492] Calculate the swap price client-side #3341

[ECO-2492] Calculate the swap price client-side

[ECO-2492] Calculate the swap price client-side #3341

Triggered via pull request November 25, 2024 20:44
@xbtmattxbtmatt
synchronize #412
ECO-2492
Status Failure
Total duration 5m 18s
Artifacts

pre-commit.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
pre-commit
@econia-labs/emojicoin-sdk#format:check: command (/home/runner/work/emojicoin-dot-fun/emojicoin-dot-fun/src/typescript/sdk) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format:check exited (1)
pre-commit: src/typescript/sdk/src/const.ts#L11
All imports in the declaration are only used as types. Use `import type`
pre-commit: src/typescript/sdk/src/emojicoin_dot_fun/calculate-swap-price.ts#L67
'cpammSimpleSwapOutputAmount' was used before it was defined
pre-commit: src/typescript/sdk/src/emojicoin_dot_fun/calculate-swap-price.ts#L73
'cpammSimpleSwapOutputAmount' was used before it was defined
pre-commit: src/typescript/sdk/src/emojicoin_dot_fun/calculate-swap-price.ts#L78
'getBPsFee' was used before it was defined
pre-commit: src/typescript/sdk/src/emojicoin_dot_fun/calculate-swap-price.ts#L80
'getBPsFee' was used before it was defined
pre-commit: src/typescript/sdk/src/emojicoin_dot_fun/calculate-swap-price.ts#L92
'getBPsFee' was used before it was defined
pre-commit: src/typescript/sdk/src/emojicoin_dot_fun/calculate-swap-price.ts#L99
'cpammSimpleSwapOutputAmount' was used before it was defined
pre-commit: src/typescript/sdk/src/emojicoin_dot_fun/calculate-swap-price.ts#L114
'cpammSimpleSwapOutputAmount' was used before it was defined
pre-commit: src/typescript/sdk/src/emojicoin_dot_fun/calculate-swap-price.ts#L122
'getBPsFee' was used before it was defined
pre-commit: src/typescript/sdk/tests/e2e/calculate-swap.test.ts#L13
'Types' is defined but never used. Allowed unused vars must match /^_/u
pre-commit: src/typescript/sdk/tests/e2e/calculate-swap.test.ts#L95
'secondSwapper' is assigned a value but never used. Allowed unused vars must match /^_/u
pre-commit: src/typescript/sdk/tests/e2e/calculate-swap.test.ts#L111
'idx' is assigned a value but never used. Allowed unused vars must match /^_/u
pre-commit: src/typescript/sdk/tests/e2e/calculate-swap.test.ts#L115
'idx' is assigned a value but never used. Allowed unused vars must match /^_/u
pre-commit: src/typescript/sdk/tests/e2e/calculate-swap.test.ts#L119
'idx' is assigned a value but never used. Allowed unused vars must match /^_/u
pre-commit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v3, actions/cache@v3, actions/cache/restore@v3, actions/cache/save@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
pre-commit
Cache save failed.