Skip to content

invert sign on amounts in swap handler #60

invert sign on amounts in swap handler

invert sign on amounts in swap handler #60

Triggered via pull request January 31, 2025 15:32
Status Failure
Total duration 34s
Artifacts

CI.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
lint: tests/handlers/handleSwap.test.ts#L186
Replace `⏎········'totalValueLockedUSD',⏎········amount0⏎··········.times(newToken0DerivedETH)⏎··········.times(newEthPrice)⏎··········.toString(),⏎······` with `'totalValueLockedUSD',·amount0.times(newToken0DerivedETH).times(newEthPrice).toString()`
lint: tests/handlers/handleSwap.test.ts#L203
Replace `⏎········'totalValueLockedUSD',⏎········amount1⏎··········.times(newToken1DerivedETH)⏎··········.times(newEthPrice)⏎··········.toString(),⏎······` with `'totalValueLockedUSD',·amount1.times(newToken1DerivedETH).times(newEthPrice).toString()`
lint
Process completed with exit code 1.
lint
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
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/