Skip to content

Remove farm penalty code #4199

Remove farm penalty code

Remove farm penalty code #4199

Triggered via pull request October 28, 2024 09:56
Status Failure
Total duration 3m 48s
Artifacts

actions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 9 warnings
Contracts / Rust tests
Process completed with exit code 101.
Contracts / Test Coverage
Process completed with exit code 1.
Contracts / Wasm tests
Process completed with exit code 101.
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L44: dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L44
warning: this operation has no effect --> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:44:44 | 44 | pub const TIMESTAMP_PER_EPOCH: Timestamp = 1 * 24 * 60 * 60; | ^^^^^^ help: consider reducing it to: `24` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op = note: `#[warn(clippy::identity_op)]` on by default
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L44: dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L44
warning: this operation has no effect --> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:44:44 | 44 | pub const TIMESTAMP_PER_EPOCH: Timestamp = 1 * 24 * 60 * 60; | ^^^^^^ help: consider reducing it to: `24` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op = note: `#[warn(clippy::identity_op)]` on by default
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L44: dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L44
warning: this operation has no effect --> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:44:44 | 44 | pub const TIMESTAMP_PER_EPOCH: Timestamp = 1 * 24 * 60 * 60; | ^^^^^^ help: consider reducing it to: `24` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op = note: `#[warn(clippy::identity_op)]` on by default
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L44: dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L44
warning: this operation has no effect --> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:44:44 | 44 | pub const TIMESTAMP_PER_EPOCH: Timestamp = 1 * 24 * 60 * 60; | ^^^^^^ help: consider reducing it to: `24` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op = note: `#[warn(clippy::identity_op)]` on by default
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L44: dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L44
warning: this operation has no effect --> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:44:44 | 44 | pub const TIMESTAMP_PER_EPOCH: Timestamp = 1 * 24 * 60 * 60; | ^^^^^^ help: consider reducing it to: `24` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op = note: `#[warn(clippy::identity_op)]` 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 / Test Coverage
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 / Wasm 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/