Skip to content

[MEX-580] Add on behalf features for farm SC #4220

[MEX-580] Add on behalf features for farm SC

[MEX-580] Add on behalf features for farm SC #4220

Triggered via pull request November 3, 2024 00:28
Status Success
Total duration 4m 40s
Artifacts 4

actions.yml

on: pull_request
Contracts  /  Wasm tests
4m 30s
Contracts / Wasm tests
Contracts  /  Test Coverage
1m 31s
Contracts / Test Coverage
Contracts  /  Rust tests
1m 15s
Contracts / Rust tests
Contracts  /  Clippy linter check
34s
Contracts / Clippy linter check
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
[clippy] farm-staking/farm-staking-proxy/src/proxy_actions/claim.rs#L47: farm-staking/farm-staking-proxy/src/proxy_actions/claim.rs#L47
warning: this expression creates a reference which is immediately dereferenced by the compiler --> farm-staking/farm-staking-proxy/src/proxy_actions/claim.rs:47:57 | 47 | self.get_attributes_as_part_of_fixed_supply(&payment, &dual_yield_token_mapper); | ^^^^^^^^ help: change this to: `payment` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
[clippy] farm-staking/farm-staking-proxy/src/proxy_actions/external_interaction.rs#L101: farm-staking/farm-staking-proxy/src/proxy_actions/external_interaction.rs#L101
warning: this expression creates a reference which is immediately dereferenced by the compiler --> farm-staking/farm-staking-proxy/src/proxy_actions/external_interaction.rs:101:57 | 101 | self.get_attributes_as_part_of_fixed_supply(&payment, &dual_yield_token_mapper); | ^^^^^^^^ help: change this to: `payment` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
[clippy] farm-staking/farm-staking-proxy/src/proxy_actions/claim.rs#L47: farm-staking/farm-staking-proxy/src/proxy_actions/claim.rs#L47
warning: this expression creates a reference which is immediately dereferenced by the compiler --> farm-staking/farm-staking-proxy/src/proxy_actions/claim.rs:47:57 | 47 | self.get_attributes_as_part_of_fixed_supply(&payment, &dual_yield_token_mapper); | ^^^^^^^^ help: change this to: `payment` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
[clippy] farm-staking/farm-staking-proxy/src/proxy_actions/external_interaction.rs#L101: farm-staking/farm-staking-proxy/src/proxy_actions/external_interaction.rs#L101
warning: this expression creates a reference which is immediately dereferenced by the compiler --> farm-staking/farm-staking-proxy/src/proxy_actions/external_interaction.rs:101:57 | 101 | self.get_attributes_as_part_of_fixed_supply(&payment, &dual_yield_token_mapper); | ^^^^^^^^ help: change this to: `payment` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
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, 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 / 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/
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
26.1 KB
mxpy_report
46.7 KB
report
6.62 KB
report-markdown
4.66 KB