Skip to content

Remove farm penalty code #4189

Remove farm penalty code

Remove farm penalty code #4189

Triggered via pull request October 22, 2024 10:31
Status Failure
Total duration 1m 22s
Artifacts

actions.yml

on: pull_request
Contracts  /  Wasm tests
1m 10s
Contracts / Wasm tests
Contracts  /  Test Coverage
44s
Contracts / Test Coverage
Contracts  /  Rust tests
29s
Contracts / Rust tests
Contracts  /  Clippy linter check
35s
Contracts / Clippy linter check
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 8 warnings
Contracts / Rust tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: farm_boosted_yields::custom_reward_logic::EndpointWrappers` is not satisfied
Contracts / Rust tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: CustomRewardLogicModule` is not satisfied
Contracts / Rust tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: farm_boosted_yields::custom_reward_logic::EndpointWrappers` is not satisfied
Contracts / Rust tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: CustomRewardLogicModule` is not satisfied
Contracts / Rust tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: farm_boosted_yields::custom_reward_logic::EndpointWrappers` is not satisfied
Contracts / Rust tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: CustomRewardLogicModule` is not satisfied
Contracts / Rust tests: dex/farm/src/lib.rs#L20
the trait bound `Proxy<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
Contracts / Rust tests: dex/farm/src/lib.rs#L20
the trait bound `ProxyTo<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
Contracts / Rust tests: dex/farm/src/lib.rs#L20
the trait bound `Proxy<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
Contracts / Rust tests: dex/farm/src/lib.rs#L20
the trait bound `ProxyTo<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
Contracts / Test Coverage: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: farm_boosted_yields::custom_reward_logic::EndpointWrappers` is not satisfied
Contracts / Test Coverage: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: CustomRewardLogicModule` is not satisfied
Contracts / Test Coverage: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: farm_boosted_yields::custom_reward_logic::EndpointWrappers` is not satisfied
Contracts / Test Coverage: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: CustomRewardLogicModule` is not satisfied
Contracts / Test Coverage: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: farm_boosted_yields::custom_reward_logic::EndpointWrappers` is not satisfied
Contracts / Test Coverage: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: CustomRewardLogicModule` is not satisfied
Contracts / Test Coverage: dex/farm/src/lib.rs#L20
the trait bound `Proxy<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
Contracts / Test Coverage: dex/farm/src/lib.rs#L20
the trait bound `ProxyTo<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
Contracts / Test Coverage: dex/farm/src/lib.rs#L20
the trait bound `Proxy<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
Contracts / Test Coverage: dex/farm/src/lib.rs#L20
the trait bound `ProxyTo<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
Contracts / Wasm tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: farm_boosted_yields::custom_reward_logic::EndpointWrappers` is not satisfied
Contracts / Wasm tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: CustomRewardLogicModule` is not satisfied
Contracts / Wasm tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: farm_boosted_yields::custom_reward_logic::EndpointWrappers` is not satisfied
Contracts / Wasm tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: CustomRewardLogicModule` is not satisfied
Contracts / Wasm tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: farm_boosted_yields::custom_reward_logic::EndpointWrappers` is not satisfied
Contracts / Wasm tests: dex/farm/src/lib.rs#L20
the trait bound `ContractObj<A>: CustomRewardLogicModule` is not satisfied
Contracts / Wasm tests: dex/farm/src/lib.rs#L20
the trait bound `Proxy<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
Contracts / Wasm tests: dex/farm/src/lib.rs#L20
the trait bound `ProxyTo<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
Contracts / Wasm tests: dex/farm/src/lib.rs#L20
the trait bound `Proxy<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
Contracts / Wasm tests: dex/farm/src/lib.rs#L20
the trait bound `ProxyTo<A>: farm_boosted_yields::custom_reward_logic::ProxyTrait` is not satisfied
[clippy] energy-integration/farm-boosted-yields/src/lib.rs#L166: energy-integration/farm-boosted-yields/src/lib.rs#L166
warning: variable does not need to be mutable --> energy-integration/farm-boosted-yields/src/lib.rs:166:13 | 166 | let mut user_reward = cmp::min(max_rewards, boosted_reward_amount); | ----^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on 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#L166
variable does not need to be mutable
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 / 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 / Test Coverage: energy-integration/farm-boosted-yields/src/lib.rs#L166
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. 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#L166
variable does not need to be mutable