Skip to content

Commit

Permalink
rename filter to xcm execute filter
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoka committed Jul 13, 2023
1 parent fe94afe commit 3c62c76
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion runtime/adapters/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ use xcm_executor::{
Assets,
};

pub mod filters;
pub mod inspect;
pub mod xcm_exchange;
pub mod xcm_execute_filter;

#[cfg(test)]
mod tests;
Expand Down
2 changes: 1 addition & 1 deletion runtime/adapters/src/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub mod mock;
pub mod trader;
pub mod xcm_exchange;
pub mod xcm_filter;
pub mod xcm_execute_filter;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::filters::AllowTransferAndSwap;
use crate::tests::mock::*;
use crate::xcm_execute_filter::AllowTransferAndSwap;
use codec::Encode;
use frame_support::pallet_prelude::Weight;
use frame_support::traits::Contains;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion runtime/hydradx/src/xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use xcm_builder::{
};
use xcm_executor::{Config, XcmExecutor};

use hydradx_adapters::filters::AllowTransferAndSwap;
use hydradx_adapters::xcm_execute_filter::AllowTransferAndSwap;

#[derive(Debug, Default, Encode, Decode, Clone, PartialEq, Eq, TypeInfo, MaxEncodedLen)]
pub struct AssetLocation(pub polkadot_xcm::v3::MultiLocation);
Expand Down

0 comments on commit 3c62c76

Please sign in to comment.