Skip to content

Upgrade contracts to 0.43.4 #31

Upgrade contracts to 0.43.4

Upgrade contracts to 0.43.4 #31

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Sep 28, 2023 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (7)

contracts/mystery-box/tests/mystery_box_setup/mod.rs|3 col 70| error[E0432]: unresolved import multiversx_sc_scenario::whitebox
--> contracts/mystery-box/tests/mystery_box_setup/mod.rs:3:70
|
3 | managed_biguint, managed_buffer, managed_token_id, rust_biguint, whitebox::*, DebugApi,
| ^^^^^^^^ could not find whitebox in multiversx_sc_scenario
contracts/mystery-box/tests/mystery_box_setup/mod.rs|15 col 17| error[E0412]: cannot find type BlockchainStateWrapper in this scope
--> contracts/mystery-box/tests/mystery_box_setup/mod.rs:15:17
|
15 | pub b_mock: BlockchainStateWrapper,
| ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use multiversx_sc_scenario::whitebox_legacy::BlockchainStateWrapper;
|
contracts/mystery-box/tests/mystery_box_setup/mod.rs|18 col 9| error[E0412]: cannot find type ContractObjWrapper in this scope
--> contracts/mystery-box/tests/mystery_box_setup/mod.rs:18:9
|
18 | ContractObjWrapper<mystery_box::ContractObj, MysteryBoxObjBuilder>,
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use multiversx_sc_scenario::whitebox_legacy::ContractObjWrapper;
|
contracts/mystery-box/tests/mystery_box_setup/mod.rs|27 col 26| error[E0433]: failed to resolve: use of undeclared type BlockchainStateWrapper
--> contracts/mystery-box/tests/mystery_box_setup/mod.rs:27:26
|
27 | let mut b_mock = BlockchainStateWrapper::new();
| ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type BlockchainStateWrapper
|
help: consider importing this struct
|
1 + use multiversx_sc_scenario::whitebox_legacy::BlockchainStateWrapper;
|
contracts/mystery-box/tests/mystery_box_setup/mod.rs|97 col 22| error[E0412]: cannot find type ContractObjWrapper in this scope
--> contracts/mystery-box/tests/mystery_box_setup/mod.rs:97:22
|
97 | mb_wrapper: &ContractObjWrapper<mystery_box::ContractObj, MysteryBoxObjBuilder>,
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use multiversx_sc_scenario::whitebox_legacy::ContractObjWrapper;
|
contracts/mystery-box/tests/mystery_box_setup/mod.rs|98 col 22| error[E0412]: cannot find type BlockchainStateWrapper in this scope
--> contracts/mystery-box/tests/mystery_box_setup/mod.rs:98:22
|
98 | b_mock: &mut BlockchainStateWrapper,
| ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use multiversx_sc_scenario::whitebox_legacy::BlockchainStateWrapper;
|
contracts/mystery-box/tests/mystery_box_setup/mod.rs|5 col 39| warning: unused import: MysteryBox
--> contracts/mystery-box/tests/mystery_box_setup/mod.rs:5:39
|
5 | use mystery_box::{config::RewardType, MysteryBox};
| ^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default