[MEX-580] Add on behalf features for farm SC #4258
actions.yml
on: pull_request
Contracts
/
Wasm tests
2m 5s
Contracts
/
Test Coverage
1m 4s
Contracts
/
Rust tests
54s
Contracts
/
Clippy linter check
25s
Annotations
7 errors and 4 warnings
[clippy] dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_setup/mod.rs#L190:
dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_setup/mod.rs#L190
error[E0599]: no method named `set_permissions_hub_address` found for struct `ContractObj` in the current scope
--> dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_setup/mod.rs:190:20
|
190 | sc.set_permissions_hub_address(managed_address!(
| ---^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /home/runner/work/mx-exchange-sc/mx-exchange-sc/common/modules/permissions_hub_module/src/permissions_hub_module.rs:20:8
|
20 | fn set_permissions_hub_address(&self, address: ManagedAddress) {
| --------------------------- the method is available for `farm_with_locked_rewards::ContractObj<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>>` here
|
= note: the full type name has been written to '/home/runner/work/mx-exchange-sc/mx-exchange-sc/target/debug/deps/farm_with_locked_rewards_test-e6b0029091c5bf32.long-type-2673450033398296134.txt'
= note: consider using `--verbose` to print the full type name to the console
= help: items from traits can only be used if the trait is in scope
help: there is a method `permissions_hub_address` with a similar name, but with different arguments
--> /home/runner/work/mx-exchange-sc/mx-exchange-sc/common/modules/permissions_hub_module/src/permissions_hub_module.rs:6:1
|
6 | #[multiversx_sc::module]
| ^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the attribute macro `multiversx_sc::module` (in Nightly builds, run with -Z macro-backtrace for more info)
help: trait `PermissionsHubModule` which provides `set_permissions_hub_address` is implemented but not in scope; perhaps you want to import it
|
3 + use permissions_hub_module::PermissionsHubModule;
|
|
Contracts / Rust tests:
dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_setup/mod.rs#L190
no method named `set_permissions_hub_address` found for struct `farm_with_locked_rewards::ContractObj` in the current scope
|
Contracts / Rust tests
Process completed with exit code 101.
|
Contracts / Test Coverage:
dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_setup/mod.rs#L190
no method named `set_permissions_hub_address` found for struct `farm_with_locked_rewards::ContractObj` in the current scope
|
Contracts / Test Coverage
Process completed with exit code 1.
|
Contracts / Wasm tests:
dex/farm-with-locked-rewards/tests/farm_with_locked_rewards_setup/mod.rs#L190
no method named `set_permissions_hub_address` found for struct `farm_with_locked_rewards::ContractObj` in the current scope
|
Contracts / Wasm tests
Process completed with exit code 101.
|
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/
|