Skip to content

EraRewardSpan

EraRewardSpan #1337

Triggered via push October 12, 2023 06:21
Status Success
Total duration 1h 34m 55s
Artifacts

base_checks.yaml

on: push
clean-up-actions
2s
clean-up-actions
compile-and-check
1h 34m
compile-and-check
Fit to window
Zoom out
Zoom in

Annotations

11 errors
method `get` is never used: pallets/dapp-staking-v3/src/types.rs#L1367
error: method `get` is never used --> pallets/dapp-staking-v3/src/types.rs:1367:12 | 1367 | pub fn get(&self, era: EraNumber) -> Option<&EraReward> { | ^^^
method `push` is never used: pallets/dapp-staking-v3/src/types.rs#L1339
error: method `push` is never used --> pallets/dapp-staking-v3/src/types.rs:1339:12 | 1339 | pub fn push( | ^^^^
method `is_empty` is never used: pallets/dapp-staking-v3/src/types.rs#L1333
error: method `is_empty` is never used --> pallets/dapp-staking-v3/src/types.rs:1333:12 | 1333 | pub fn is_empty(&self) -> bool { | ^^^^^^^^
method `len` is never used: pallets/dapp-staking-v3/src/types.rs#L1328
error: method `len` is never used --> pallets/dapp-staking-v3/src/types.rs:1328:12 | 1328 | pub fn len(&self) -> usize { | ^^^
method `last_era` is never used: pallets/dapp-staking-v3/src/types.rs#L1323
error: method `last_era` is never used --> pallets/dapp-staking-v3/src/types.rs:1323:12 | 1323 | pub fn last_era(&self) -> EraNumber { | ^^^^^^^^
method `first_era` is never used: pallets/dapp-staking-v3/src/types.rs#L1318
error: method `first_era` is never used --> pallets/dapp-staking-v3/src/types.rs:1318:12 | 1318 | pub fn first_era(&self) -> EraNumber { | ^^^^^^^^^
associated function `new` is never used: pallets/dapp-staking-v3/src/types.rs#L1309
error: associated function `new` is never used --> pallets/dapp-staking-v3/src/types.rs:1309:12 | 1309 | pub fn new() -> Self { | ^^^
method `staked` is never used: pallets/dapp-staking-v3/src/types.rs#L1278
error: method `staked` is never used --> pallets/dapp-staking-v3/src/types.rs:1278:12 | 1278 | pub fn staked(&self) -> Balance { | ^^^^^^
method `staker_reward_pool` is never used: pallets/dapp-staking-v3/src/types.rs#L1273
error: method `staker_reward_pool` is never used --> pallets/dapp-staking-v3/src/types.rs:1273:12 | 1273 | pub fn staker_reward_pool(&self) -> Balance { | ^^^^^^^^^^^^^^^^^^
associated function `new` is never used: pallets/dapp-staking-v3/src/types.rs#L1265
error: associated function `new` is never used --> pallets/dapp-staking-v3/src/types.rs:1265:12 | 1265 | pub fn new(staker_reward_pool: Balance, staked: Balance) -> Self { | ^^^ | = note: `-D dead-code` implied by `-D warnings`
unused variable: `account`: pallets/dapp-staking-v3/src/lib.rs#L935
error: unused variable: `account` --> pallets/dapp-staking-v3/src/lib.rs:935:17 | 935 | let account = ensure_signed(origin)?; | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` | = note: `-D unused-variables` implied by `-D warnings`