Contracts upgrade 0.54.0 (2) #648
actions.yml
on: pull_request
Contracts
/
Wasm tests
2m 2s
Contracts
/
Test Coverage
55s
Contracts
/
Rust tests
41s
Contracts
/
Clippy linter check
16s
Annotations
9 errors and 13 warnings
Contracts / Rust tests:
contracts/paymaster/interactor/src/interactor_main.rs#L95
this function takes 2 arguments but 1 argument was supplied
|
|
Contracts / Rust tests
Process completed with exit code 101.
|
Contracts / Test Coverage:
contracts/paymaster/interactor/src/interactor_main.rs#L95
this function takes 2 arguments but 1 argument was supplied
|
|
Contracts / Test Coverage
Process completed with exit code 1.
|
Contracts / Wasm tests:
contracts/paymaster/interactor/src/interactor_main.rs#L95
this function takes 2 arguments but 1 argument was supplied
|
|
Contracts / Wasm tests
Process completed with exit code 101.
|
[clippy] contracts/mystery-box/tests/mystery_box_mod.rs#L80:
contracts/mystery-box/tests/mystery_box_mod.rs#L80
warning: very complex type used. Consider factoring parts into `type` definitions
--> contracts/mystery-box/tests/mystery_box_mod.rs:80:31
|
80 | let mut rewards_list: MultiValueEncoded<
| _______________________________^
81 | | StaticApi,
82 | | MultiValue6<
83 | | mystery_box_proxy::RewardType,
... |
89 | | >,
90 | | > = MultiValueEncoded::new();
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
[clippy] contracts/mystery-box/tests/mystery_box_mod.rs#L32:
contracts/mystery-box/tests/mystery_box_mod.rs#L32
warning: you should consider adding a `Default` implementation for `MysteryBoxSetup`
--> contracts/mystery-box/tests/mystery_box_mod.rs:32:5
|
32 | / pub fn new() -> Self {
33 | | let mut mystery_box = MysteryBoxSetup { world: world() };
34 | |
35 | | mystery_box.world.account(OWNER).nonce(1);
... |
59 | | mystery_box
60 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
31 + impl Default for MysteryBoxSetup {
32 + fn default() -> Self {
33 + Self::new()
34 + }
35 + }
|
|
[clippy] contracts/mystery-box/tests/mystery_box_mod.rs#L80:
contracts/mystery-box/tests/mystery_box_mod.rs#L80
warning: very complex type used. Consider factoring parts into `type` definitions
--> contracts/mystery-box/tests/mystery_box_mod.rs:80:31
|
80 | let mut rewards_list: MultiValueEncoded<
| _______________________________^
81 | | StaticApi,
82 | | MultiValue6<
83 | | mystery_box_proxy::RewardType,
... |
89 | | >,
90 | | > = MultiValueEncoded::new();
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` 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 / Rust tests:
contracts/paymaster/interactor/src/interactor_main.rs#L122
use of deprecated method `multiversx_sc_snippets::InteractorPrepareAsync::prepare_async`: Calling `.prepare_async()` no longer necessary, `.run()` can be called directly.
|
Contracts / Rust tests:
contracts/paymaster/interactor/src/interactor_main.rs#L174
use of deprecated method `multiversx_sc_snippets::InteractorPrepareAsync::prepare_async`: Calling `.prepare_async()` no longer necessary, `.run()` can be called directly.
|
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:
contracts/paymaster/interactor/src/interactor_main.rs#L122
use of deprecated method `multiversx_sc_snippets::InteractorPrepareAsync::prepare_async`: Calling `.prepare_async()` no longer necessary, `.run()` can be called directly.
|
Contracts / Test Coverage:
contracts/paymaster/interactor/src/interactor_main.rs#L174
use of deprecated method `multiversx_sc_snippets::InteractorPrepareAsync::prepare_async`: Calling `.prepare_async()` no longer necessary, `.run()` can be called directly.
|
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:
contracts/paymaster/interactor/src/interactor_main.rs#L122
use of deprecated method `multiversx_sc_snippets::InteractorPrepareAsync::prepare_async`: Calling `.prepare_async()` no longer necessary, `.run()` can be called directly.
|
Contracts / Wasm tests:
contracts/paymaster/interactor/src/interactor_main.rs#L174
use of deprecated method `multiversx_sc_snippets::InteractorPrepareAsync::prepare_async`: Calling `.prepare_async()` no longer necessary, `.run()` can be called directly.
|