Configure Pallets #10
Annotations
3 errors
this operation will always return zero. This is likely not the intended outcome:
runtime/src/lib.rs#L248
error: this operation will always return zero. This is likely not the intended outcome
--> runtime/src/lib.rs:248:40
|
248 | pub const DepositFactor: Balance = (0 * 10u128.saturating_pow(TOKEN_DECIMALS)) // 0 token
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#erasing_op
= note: `#[deny(clippy::erasing_op)]` on by default
|
this operation has no effect:
runtime/src/lib.rs#L244
error: this operation has no effect
--> runtime/src/lib.rs:244:38
|
244 | pub const DepositBase: Balance = (1 * 10u128.saturating_pow(TOKEN_DECIMALS)) // 1 token
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider reducing it to: `10u128.saturating_pow(TOKEN_DECIMALS)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
= note: `-D clippy::identity-op` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::identity_op)]`
|
check
Clippy had exited with the 101 exit code
|