[MEX-580] Add on behalf features for farm SC #4257
actions.yml
on: pull_request
Contracts
/
Wasm tests
2m 9s
Contracts
/
Test Coverage
56s
Contracts
/
Rust tests
46s
Contracts
/
Clippy linter check
36s
Annotations
7 errors and 4 warnings
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L168:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L168
error[E0599]: no method named `set_permissions_hub_address` found for struct `farm::ContractObj` in the current scope
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:168:20
|
168 | 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::ContractObj<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>>` here
|
= 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
|
4 + use permissions_hub_module::PermissionsHubModule;
|
|
Contracts / Rust tests:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L168
no method named `set_permissions_hub_address` found for struct `farm::ContractObj` in the current scope
|
Contracts / Rust tests
Process completed with exit code 101.
|
Contracts / Test Coverage:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L168
no method named `set_permissions_hub_address` found for struct `farm::ContractObj` in the current scope
|
Contracts / Test Coverage
Process completed with exit code 1.
|
Contracts / Wasm tests:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L168
no method named `set_permissions_hub_address` found for struct `farm::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/
|