Skip to content

Upgrade contracts to 0.43.4 #39

Upgrade contracts to 0.43.4

Upgrade contracts to 0.43.4 #39

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

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (42)

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-a82c3ddbb61e590b.long-type-14213270425776754016.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