diff --git a/tests/xcm-simulator/src/tests/experimental.rs b/tests/xcm-simulator/src/tests/experimental.rs index c139315274..bf0d706864 100644 --- a/tests/xcm-simulator/src/tests/experimental.rs +++ b/tests/xcm-simulator/src/tests/experimental.rs @@ -183,7 +183,7 @@ fn xcm_remote_transact_contract() { ); // check for flip status - let (res, _, _) = call_wasm_contract_method::>( + let (res, _, _) = call_wasm_contract_method::( ALICE.into(), contract_id.clone(), 0, @@ -192,7 +192,7 @@ fn xcm_remote_transact_contract() { SELECTOR_GET.to_vec(), true, ); - assert_eq!(res, Ok(true)); + assert_eq!(res, true); }); ParaB::execute_with(|| { @@ -229,7 +229,7 @@ fn xcm_remote_transact_contract() { // check for flip status, it should be false ParaA::execute_with(|| { - let (res, _, _) = call_wasm_contract_method::>( + let (res, _, _) = call_wasm_contract_method::( ALICE.into(), contract_id.clone(), 0, @@ -238,7 +238,7 @@ fn xcm_remote_transact_contract() { SELECTOR_GET.to_vec(), true, ); - assert_eq!(res, Ok(false)); + assert_eq!(res, false); }); } @@ -310,7 +310,7 @@ fn test_async_xcm_contract_call_no_ce() { // ParaA::execute_with(|| { assert_eq!( - call_wasm_contract_method::>( + call_wasm_contract_method::( ALICE.into(), contract_id.clone(), 0, @@ -343,7 +343,7 @@ fn test_async_xcm_contract_call_no_ce() { true, ) .0, - Ok(true) + true ); }); @@ -360,7 +360,7 @@ fn test_async_xcm_contract_call_no_ce() { // Check for contract method called ParaA::execute_with(|| { assert_eq!( - call_wasm_contract_method::, ()>>( + call_wasm_contract_method::>( ALICE.into(), contract_id.clone(), 0, @@ -370,7 +370,7 @@ fn test_async_xcm_contract_call_no_ce() { true, ) .0, - Ok(Some(true)) + Some(true) ); }); }