Skip to content

Commit

Permalink
multisig interactor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Mar 26, 2024
1 parent 700f58c commit 335a54e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion contracts/examples/multisig/interact/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
gateway = 'https://testnet-gateway.multiversx.com'
gateway = 'https://devnet-gateway.multiversx.com'
quorum = 2
10 changes: 5 additions & 5 deletions contracts/examples/multisig/interact/src/multisig_interact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -309,7 +309,7 @@ impl MultisigInteract {
.to(self.state.multisig().to_address())
.typed(multisig_proxy::MultisigProxy)
.quorum_reached(action_id)
.returns(ReturnsResultConv::<bool>::new())
.returns(ReturnsResult)
.prepare_async()
.run()
.await
Expand All @@ -321,7 +321,7 @@ impl MultisigInteract {
.to(self.state.multisig().to_address())
.typed(multisig_proxy::MultisigProxy)
.signed(signer, action_id)
.returns(ReturnsResultConv::<bool>::new())
.returns(ReturnsResult)
.prepare_async()
.run()
.await
Expand Down Expand Up @@ -388,7 +388,7 @@ impl MultisigInteract {
.to(self.state.multisig().to_address())
.typed(multisig_proxy::MultisigProxy)
.quorum()
.returns(ReturnsResultConv::<usize>::new())
.returns(ReturnsResult)
.prepare_async()
.run()
.await;
Expand All @@ -403,7 +403,7 @@ impl MultisigInteract {
.to(self.state.multisig().to_address())
.typed(multisig_proxy::MultisigProxy)
.num_board_members()
.returns(ReturnsResultConv::<usize>::new())
.returns(ReturnsResult)
.prepare_async()
.run()
.await;
Expand Down

0 comments on commit 335a54e

Please sign in to comment.