Create collection tests #32
Annotations
22 warnings
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:
src/contracts/collections/positions.rs#L2
unused import: `position`
|
Run clippy:
src/contracts/storage/position.rs#L16
unused import: `ink::prelude::vec`
|
Run clippy:
src/contracts/storage/position.rs#L17
unused import: `ink::primitives::AccountId`
|
Run clippy:
src/math/math.rs#L7
unused import: `super::percentage`
|
Run clippy:
src/lib.rs#L211
this `else { if .. }` block can be collapsed
|
Run clippy:
src/contracts/collections/pools.rs#L30
method `remove` is never used
|
Run clippy:
src/contracts/logic/math.rs#L22
function `get_liquidity` is never used
|
Run clippy:
src/contracts/logic/math.rs#L95
function `get_liquidity_by_x` is never used
|
Run clippy:
src/contracts/logic/math.rs#L117
function `get_liquidity_by_x_sqrt_price` is never used
|
Run clippy:
src/contracts/logic/math.rs#L167
function `get_liquidity_by_y` is never used
|
Install substrate-contracts-node
package `cumulus-pallet-parachain-system v0.3.0` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
|
Run unit tests:
src/test_helpers/lib.rs#L1
unused import: `decimal::*`
|
Run unit tests
`test_helpers` (lib) generated 1 warning (run `cargo fix --lib -p test_helpers` to apply 1 suggestion)
|
Run unit tests:
src/contracts/collections/positions.rs#L2
unused import: `position`
|
Run unit tests:
src/contracts/storage/position.rs#L16
unused import: `ink::prelude::vec`
|
Run unit tests:
src/contracts/storage/position.rs#L17
unused import: `ink::primitives::AccountId`
|
Run unit tests:
src/math/math.rs#L7
unused import: `super::percentage`
|
Run unit tests:
src/contracts/collections/pools.rs#L30
method `remove` is never used
|
Run unit tests:
src/contracts/logic/math.rs#L22
function `get_liquidity` is never used
|
Run unit tests:
src/contracts/logic/math.rs#L95
function `get_liquidity_by_x` is never used
|
Run unit tests:
src/contracts/logic/math.rs#L117
function `get_liquidity_by_x_sqrt_price` is never used
|
The logs for this run have expired and are no longer available.
Loading