Skip to content

Commit

Permalink
fix restricted transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Aug 13, 2024
1 parent 90f5f63 commit f14673f
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions runtime/integration-tests/src/cases/restricted_transfers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ use cfg_types::{
};
use cumulus_primitives_core::WeightLimit;
use frame_support::{assert_noop, assert_ok, dispatch::RawOrigin, traits::PalletInfo};
use pallet_liquidity_pools_gateway_queue::MessageNonceStore;
use runtime_common::remarks::Remark;
use sp_runtime::traits::Zero;
use staging_xcm::{
Expand Down Expand Up @@ -358,7 +357,6 @@ mod xcm {

mod eth_address {
use super::*;
use crate::utils::last_event;

const TRANSFER: u32 = 10;
const CHAIN_ID: u64 = 1;
Expand Down Expand Up @@ -425,22 +423,6 @@ mod eth_address {
curr_contract,
curr.val(TRANSFER),
));

assert_ok!(
pallet_liquidity_pools_gateway_queue::Pallet::<T>::process_message(
RawOrigin::Signed(Keyring::Alice.into()).into(),
MessageNonceStore::<T>::get(),
)
);

let last_event = last_event::<T, pallet_liquidity_pools_gateway_queue::Event<T>>();
assert!(matches!(
last_event,
pallet_liquidity_pools_gateway_queue::Event::<T>::MessageExecutionFailure {
error,
..
} if error == pallet_axelar_router::Error::<T>::RouterNotFound.into()
));
});
}
}

0 comments on commit f14673f

Please sign in to comment.