Skip to content

handle native decimals and set minimumNativeLocked to 1 #36

handle native decimals and set minimumNativeLocked to 1

handle native decimals and set minimumNativeLocked to 1 #36

Triggered via pull request October 15, 2024 21:06
Status Failure
Total duration 30s
Artifacts

CI.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
lint: src/utils/pricing.ts#L20
Replace `⏎····.div(denom)⏎····.times(exponentToBigDecimal(token0Decimals))⏎····` with `.div(denom).times(exponentToBigDecimal(token0Decimals))`
lint: tests/handlers/handleSwap.test.ts#L182
Replace `⏎········'totalValueLockedUSD',⏎········amount0⏎··········.times(newToken0DerivedETH)⏎··········.times(newEthPrice)⏎··········.toString(),⏎······` with `'totalValueLockedUSD',·amount0.times(newToken0DerivedETH).times(newEthPrice).toString()`
lint: tests/handlers/handleSwap.test.ts#L199
Replace `⏎········'totalValueLockedUSD',⏎········amount1⏎··········.times(newToken1DerivedETH)⏎··········.times(newEthPrice)⏎··········.toString(),⏎······` with `'totalValueLockedUSD',·amount1.times(newToken1DerivedETH).times(newEthPrice).toString()`
lint
Process completed with exit code 1.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/