Skip to content

Refactor

Refactor #104

Triggered via pull request December 3, 2023 21:38
Status Success
Total duration 51m 58s
Artifacts

tests.yml

on: pull_request
Run clippy and unit tests
51m 50s
Run clippy and unit tests
Build the contract
1m 53s
Build the contract
Fit to window
Zoom out
Zoom in

Annotations

24 warnings
Build the contract
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run clippy and unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run clippy and unit tests: src/lib.rs#L190
unused variable: `caller`
Run clippy and unit tests: src/contracts/collections/pool_keys.rs#L20
method `remove` is never used
Run clippy and unit tests: src/contracts/collections/pools.rs#L30
method `remove` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L22
function `get_liquidity` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L95
function `get_liquidity_by_x` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L117
function `get_liquidity_by_x_sqrt_price` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L167
function `get_liquidity_by_y` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L190
function `get_liquidity_by_y_sqrt_price` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L238
function `calculate_x` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L262
function `calculate_y` is never used
Run clippy and unit tests
package `cumulus-pallet-parachain-system v0.3.0` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
Run clippy and unit tests
package `wasmi v0.31.0` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
Run clippy and unit tests: src/lib.rs#L190
unused variable: `caller`
Run clippy and unit tests: src/contracts/collections/pool_keys.rs#L20
method `remove` is never used
Run clippy and unit tests: src/contracts/collections/pools.rs#L30
method `remove` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L22
function `get_liquidity` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L95
function `get_liquidity_by_x` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L117
function `get_liquidity_by_x_sqrt_price` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L167
function `get_liquidity_by_y` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L190
function `get_liquidity_by_y_sqrt_price` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L238
function `calculate_x` is never used
Run clippy and unit tests: src/contracts/logic/math.rs#L262
function `calculate_y` is never used