Skip to content

Upgrade contracts to 0.43.4 #93

Upgrade contracts to 0.43.4

Upgrade contracts to 0.43.4 #93

GitHub Actions / clippy succeeded Sep 15, 2023 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (49)

contracts/liquid-locking/tests/liquid_locking_test.rs|6 col 9| error[E0432]: unresolved import multiversx_sc_scenario::scenario_model::StepHandler
--> contracts/liquid-locking/tests/liquid_locking_test.rs:6:9
|
6 | StepHandler, TxExpect,
| ^^^^^^^^^^^ no StepHandler in scenario::model
contracts/liquid-locking/tests/liquid_locking_test.rs|5 col 48| warning: use of deprecated trait multiversx_sc_scenario::scenario_model::IntoBlockchainCall: The recommended syntax is a variation of sc_call or sc_deploy with a scenario step built from the ContractCall.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:5:48
|
5 | Account, CheckAccount, CheckStateStep, IntoBlockchainCall, ScCallStep, SetStateStep,
| ^^^^^^^^^^^^^^^^^^
|
= note: #[warn(deprecated)] on by default
contracts/liquid-locking/tests/liquid_locking_test.rs|67 col 29| error[E0599]: no method named into_blockchain_call found for struct ContractDeploy in the current scope
--> contracts/liquid-locking/tests/liquid_locking_test.rs:69:10
|
67 | let (new_address, ()) = contract
| ____________________-
68 | | .init(10u64)
69 | | .into_blockchain_call()
| | -^^^^^^^^^^^^^^^^^^^^ method not found in ContractDeploy<VMHooksApi<DebugApiBackend>, ()>
| |
|
|
|
= note: the full type name has been written to '/home/runner/work/mx-contracts-rs/mx-contracts-rs/target/debug/deps/liquid_locking_test-4a83331c53294768.long-type-8082510899132075917.txt'
contracts/liquid-locking/tests/liquid_locking_test.rs|89 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:89:10
|
89 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|93 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:93:23
|
93 | .call(contract.whitelist_token(TokenIdentifier::from(whitelisted_token_1_id)))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|96 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:96:10
|
96 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|100 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:100:23
|
100 | .call(contract.whitelist_token(TokenIdentifier::from(whitelisted_token_2_id)))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|134 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:134:10
|
134 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|139 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:139:23
|
139 | .call(contract.lock())
| ---- ^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|142 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:142:10
|
142 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|147 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:147:23
|
147 | .call(contract.lock())
| ---- ^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|150 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:150:10
|
150 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|154 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:154:23
|
154 | .call(contract.lock())
| ---- ^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|161 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:161:10
|
161 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|166 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:166:23
|
166 | .call(contract.lock())
| ---- ^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|169 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:169:10
|
169 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|174 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:174:23
|
174 | .call(contract.lock())
| ---- ^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|177 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:177:10
|
177 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|183 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:183:23
|
183 | .call(contract.lock())
| ---- ^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|269 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:269:10
|
269 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|273 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:273:23
|
273 | .call(contract.unlock(unlock_single_esdt))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|276 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:276:10
|
276 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|280 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:280:23
|
280 | .call(contract.unlock(unlock_multiple_esdt))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|305 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:305:10
|
305 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|309 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:309:23
|
309 | .call(contract.unlock(unlock_single_esdt.clone()))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|312 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:312:10
|
312 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|316 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:316:23
|
316 | .call(contract.unlock(unlock_multiple_esdt))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|319 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:319:10
|
319 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|323 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:323:23
|
323 | .call(contract.unlock(unlock_single_esdt.clone()))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|327 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:327:10
|
327 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|331 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:331:23
|
331 | .call(contract.unlock(unlock_single_esdt))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|456 col 11| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:456:11
|
456 | world.sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|460 col 19| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:460:19
|
460 | .call(contract.unbond(unbond_tokens))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|465 col 11| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:465:11
|
465 | world.sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|469 col 19| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:469:19
|
469 | .call(contract.unbond(unbond_tokens))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|479 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:479:10
|
479 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|483 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:483:23
|
483 | .call(contract.unbond(unbond_tokens))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|491 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:491:10
|
491 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|495 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:495:23
|
495 | .call(contract.unbond(unbond_tokens))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|503 col 10| warning: use of deprecated method multiversx_sc_scenario::facade::scenario_world_steps_deprecated::<impl multiversx_sc_scenario::ScenarioWorld>::sc_call_step: Renamed to sc_call.
--> contracts/liquid-locking/tests/liquid_locking_test.rs:503:10
|
503 | .sc_call_step(
| ^^^^^^^^^^^^
contracts/liquid-locking/tests/liquid_locking_test.rs|507 col 23| error[E0277]: the trait bound multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>: multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not satisfied
--> contracts/liquid-locking/tests/liquid_locking_test.rs:507:23
|
507 | .call(contract.unbond(unbond_tokens))
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc::types::ContractCall<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>> is not implemented for multiversx_sc::types::ContractCallNoPayment<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>, ()>
| |
| required by a bound introduced by this call
|
= help: the trait multiversx_sc::types::ContractCall<SA> is implemented for multiversx_sc::types::ContractCallNoPayment<SA, OriginalResult>
note: required by a bound in multiversx_sc_scenario::scenario_model::ScCallStep::call
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.43.3/src/scenario/model/step/sc_call_step.rs:120:13
|
118 | pub fn call(mut self, contract_call: CC) -> TypedScCallCC::OriginalResult
| ---- required by a bound in this associated function
119 | where
120 | CC: ContractCall,
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScCallStep::call
contracts/liquid-locking/tests/liquid_locking_test.rs|5 col 48| warning: unused import: IntoBlockchainCall
--> contracts/liquid-locking/tests/liquid_locking_test.rs:5:48
|
5 | Account, CheckAccount, CheckStateStep, IntoBlockchainCall, ScCallStep, SetStateStep,
| ^^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
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