diff --git a/precompiles/xcm/src/tests.rs b/precompiles/xcm/src/tests.rs index c5c08d812a..f6671b8333 100644 --- a/precompiles/xcm/src/tests.rs +++ b/precompiles/xcm/src/tests.rs @@ -116,7 +116,7 @@ mod xcm_old_interface_test { ]) .write(H256::repeat_byte(0xF1)) .write(false) - .write(U256::from(1_u64)) // parachain id should be + .write(U256::from(1_u64)) .write(U256::from(0_u64)) .build(), ) diff --git a/runtime/astar/src/lib.rs b/runtime/astar/src/lib.rs index 851d65e46b..e73d590c05 100644 --- a/runtime/astar/src/lib.rs +++ b/runtime/astar/src/lib.rs @@ -210,13 +210,6 @@ impl Contains for BaseFilter { _ => true, }, - // We don't allow xcm assets transfer functions from `pallet-xcm` - // use orml_xtokens for token transfers using xcm - RuntimeCall::PolkadotXcm(method) => match method { - pallet_xcm::Call::limited_reserve_transfer_assets { .. } - | pallet_xcm::Call::reserve_transfer_assets { .. } => false, - _ => true, - }, // These modules are not allowed to be called by transactions: // To leave collator just shutdown it, next session funds will be released // Other modules should works: diff --git a/runtime/shibuya/src/lib.rs b/runtime/shibuya/src/lib.rs index 054f73b001..f89fa911ba 100644 --- a/runtime/shibuya/src/lib.rs +++ b/runtime/shibuya/src/lib.rs @@ -242,13 +242,6 @@ impl Contains for BaseFilter { // registering the asset location should be good enough for users, any change can be handled via issue ticket or help request _ => false, }, - // We don't allow xcm assets transfer functions from `pallet-xcm` - // use orml_xtokens for token transfers using xcm - RuntimeCall::PolkadotXcm(method) => match method { - pallet_xcm::Call::limited_reserve_transfer_assets { .. } - | pallet_xcm::Call::reserve_transfer_assets { .. } => false, - _ => true, - }, // These modules are not allowed to be called by transactions: // Other modules should works: _ => true, diff --git a/runtime/shiden/src/lib.rs b/runtime/shiden/src/lib.rs index e576d8ab19..36e827d609 100644 --- a/runtime/shiden/src/lib.rs +++ b/runtime/shiden/src/lib.rs @@ -213,13 +213,6 @@ impl Contains for BaseFilter { _ => true, }, - // We don't allow xcm assets transfer functions from `pallet-xcm` - // use orml_xtokens for token transfers using xcm - RuntimeCall::PolkadotXcm(method) => match method { - pallet_xcm::Call::limited_reserve_transfer_assets { .. } - | pallet_xcm::Call::reserve_transfer_assets { .. } => false, - _ => true, - }, // These modules are not allowed to be called by transactions: // To leave collator just shutdown it, next session funds will be released // Other modules should works: