From 335a54e8a5a93eed59df8e2880f1c842d9c672f2 Mon Sep 17 00:00:00 2001 From: Andrei Marinica Date: Wed, 27 Mar 2024 01:05:44 +0200 Subject: [PATCH] multisig interactor cleanup --- contracts/examples/multisig/interact/config.toml | 2 +- .../multisig/interact/src/multisig_interact.rs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contracts/examples/multisig/interact/config.toml b/contracts/examples/multisig/interact/config.toml index 1a1e45429a..a3b733f73d 100644 --- a/contracts/examples/multisig/interact/config.toml +++ b/contracts/examples/multisig/interact/config.toml @@ -1,2 +1,2 @@ -gateway = 'https://testnet-gateway.multiversx.com' +gateway = 'https://devnet-gateway.multiversx.com' quorum = 2 diff --git a/contracts/examples/multisig/interact/src/multisig_interact.rs b/contracts/examples/multisig/interact/src/multisig_interact.rs index 60d4ad2359..c60d0c9fac 100644 --- a/contracts/examples/multisig/interact/src/multisig_interact.rs +++ b/contracts/examples/multisig/interact/src/multisig_interact.rs @@ -13,7 +13,7 @@ use multisig_interact_config::Config; use multisig_interact_state::State; use multiversx_sc_scenario::{ mandos_system::ScenarioRunner, - multiversx_sc::types::{BigUint, ReturnsNewAddress, ReturnsResultConv}, + multiversx_sc::types::{BigUint, ReturnsNewAddress, ReturnsResult}, scenario_format::interpret_trait::InterpretableFrom, standalone::retrieve_account_as_scenario_set_state, test_wallets, @@ -309,7 +309,7 @@ impl MultisigInteract { .to(self.state.multisig().to_address()) .typed(multisig_proxy::MultisigProxy) .quorum_reached(action_id) - .returns(ReturnsResultConv::::new()) + .returns(ReturnsResult) .prepare_async() .run() .await @@ -321,7 +321,7 @@ impl MultisigInteract { .to(self.state.multisig().to_address()) .typed(multisig_proxy::MultisigProxy) .signed(signer, action_id) - .returns(ReturnsResultConv::::new()) + .returns(ReturnsResult) .prepare_async() .run() .await @@ -388,7 +388,7 @@ impl MultisigInteract { .to(self.state.multisig().to_address()) .typed(multisig_proxy::MultisigProxy) .quorum() - .returns(ReturnsResultConv::::new()) + .returns(ReturnsResult) .prepare_async() .run() .await; @@ -403,7 +403,7 @@ impl MultisigInteract { .to(self.state.multisig().to_address()) .typed(multisig_proxy::MultisigProxy) .num_board_members() - .returns(ReturnsResultConv::::new()) + .returns(ReturnsResult) .prepare_async() .run() .await;