Tier params & config init solution #1375
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
base_checks.yaml
on: push
clean-up-actions
2s
compile-and-check
1h 37m
Annotations
4 errors
associated function `calculate_number_of_slots` is never used:
pallets/dapp-staking-v3/src/types.rs#L1500
error: associated function `calculate_number_of_slots` is never used
--> pallets/dapp-staking-v3/src/types.rs:1500:12
|
1500 | pub fn calculate_number_of_slots(native_price: FixedU64) -> u16 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
method `calculate_new` is never used:
pallets/dapp-staking-v3/src/types.rs#L1435
error: method `calculate_new` is never used
--> pallets/dapp-staking-v3/src/types.rs:1435:12
|
1435 | pub fn calculate_new(&self, native_price: FixedU64, params: &TierSlotParameters<NT>) -> Self {
| ^^^^^^^^^^^^^
|
method `is_valid` is never used:
pallets/dapp-staking-v3/src/types.rs#L1424
error: method `is_valid` is never used
--> pallets/dapp-staking-v3/src/types.rs:1424:12
|
1424 | pub fn is_valid(&self) -> bool {
| ^^^^^^^^
|
method `is_valid` is never used:
pallets/dapp-staking-v3/src/types.rs#L1395
error: method `is_valid` is never used
--> pallets/dapp-staking-v3/src/types.rs:1395:12
|
1395 | pub fn is_valid(&self) -> bool {
| ^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
|