audit fixes (2) #3602
Triggered via pull request
September 20, 2023 22:28
Status
Failure
Total duration
11m 1s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
actions.yml
on: pull_request
Contracts
/
Wasm tests
10m 52s
Contracts
/
Rust tests
4m 9s
Contracts
/
Clippy linter check
1m 40s
Annotations
2 errors and 4 warnings
Contracts / Rust tests
Process completed with exit code 101.
|
Contracts / Wasm tests
Process completed with exit code 101.
|
[clippy] dex/farm/src/base_functions.rs#L227:
dex/farm/src/base_functions.rs#L227
warning: unneeded `return` statement
--> dex/farm/src/base_functions.rs:227:9
|
227 | return migrated_amount;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
= help: remove `return`
|
[clippy] farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs#L72:
farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs#L72
warning: unneeded `return` statement
--> farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs:72:9
|
72 | return migrated_amount;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
= help: remove `return`
|
[clippy] farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs#L72:
farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs#L72
warning: unneeded `return` statement
--> farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs:72:9
|
72 | return migrated_amount;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
= help: remove `return`
|
[clippy] dex/farm/src/base_functions.rs#L227:
dex/farm/src/base_functions.rs#L227
warning: unneeded `return` statement
--> dex/farm/src/base_functions.rs:227:9
|
227 | return migrated_amount;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
= help: remove `return`
|