Skip to content

Remove farm penalty code #4191

Remove farm penalty code

Remove farm penalty code #4191

Triggered via pull request October 24, 2024 06:38
Status Success
Total duration 4m 51s
Artifacts 4

actions.yml

on: pull_request
Contracts  /  Wasm tests
4m 41s
Contracts / Wasm tests
Contracts  /  Test Coverage
1m 44s
Contracts / Test Coverage
Contracts  /  Rust tests
1m 25s
Contracts / Rust tests
Contracts  /  Clippy linter check
40s
Contracts / Clippy linter check
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
[clippy] energy-integration/farm-boosted-yields/src/lib.rs#L168: energy-integration/farm-boosted-yields/src/lib.rs#L168
warning: variable does not need to be mutable --> energy-integration/farm-boosted-yields/src/lib.rs:168:13 | 168 | let mut user_reward = cmp::min(max_rewards, boosted_reward_amount); | ----^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
[clippy] energy-integration/farm-boosted-yields/src/lib.rs#L168: energy-integration/farm-boosted-yields/src/lib.rs#L168
warning: variable does not need to be mutable --> energy-integration/farm-boosted-yields/src/lib.rs:168:13 | 168 | let mut user_reward = cmp::min(max_rewards, boosted_reward_amount); | ----^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
Contracts / Clippy linter check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Contracts / Rust tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Contracts / Rust tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Test Coverage
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3, peter-evans/find-comment@v2, peter-evans/create-or-update-comment@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Contracts / Test Coverage: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3, dawidd6/action-download-artifact@v2, peter-evans/find-comment@v2, peter-evans/create-or-update-comment@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Contracts / Wasm tests: energy-integration/farm-boosted-yields/src/lib.rs#L168
variable does not need to be mutable
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "coverage", "mxpy_report", "report", "report-markdown". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
coverage
25.7 KB
mxpy_report
46.7 KB
report
6.62 KB
report-markdown
4.76 KB