diff --git a/runtime/astar/src/lib.rs b/runtime/astar/src/lib.rs index ed3545789..43a100dee 100644 --- a/runtime/astar/src/lib.rs +++ b/runtime/astar/src/lib.rs @@ -108,7 +108,7 @@ mod chain_extensions; pub mod genesis_config; mod precompiles; mod weights; -mod xcm_config; +pub mod xcm_config; pub type AstarAssetLocationIdConverter = AssetLocationIdConverter; diff --git a/runtime/shibuya/src/lib.rs b/runtime/shibuya/src/lib.rs index 72be7c2ba..eb078daeb 100644 --- a/runtime/shibuya/src/lib.rs +++ b/runtime/shibuya/src/lib.rs @@ -120,7 +120,7 @@ mod chain_extensions; pub mod genesis_config; mod precompiles; mod weights; -mod xcm_config; +pub mod xcm_config; pub type ShibuyaAssetLocationIdConverter = AssetLocationIdConverter; diff --git a/runtime/shiden/src/lib.rs b/runtime/shiden/src/lib.rs index 73aa01f8e..5f5541a10 100644 --- a/runtime/shiden/src/lib.rs +++ b/runtime/shiden/src/lib.rs @@ -109,7 +109,7 @@ mod chain_extensions; pub mod genesis_config; mod precompiles; mod weights; -mod xcm_config; +pub mod xcm_config; pub type ShidenAssetLocationIdConverter = AssetLocationIdConverter; diff --git a/tests/integration/src/xcm_api.rs b/tests/integration/src/xcm_api.rs index 586ae5eaf..0686e7e83 100644 --- a/tests/integration/src/xcm_api.rs +++ b/tests/integration/src/xcm_api.rs @@ -236,14 +236,14 @@ fn dry_run_xcm_is_ok() { #[test] fn xcm_recorder_configuration_is_ok() { new_test_ext().execute_with(|| { - let result = pallet_xcm::Pallet::::should_record(); + let result = ::XcmRecorder::should_record(); assert!( !result, "XCM recorder should NOT record incoming XCMs by default." ); - pallet_xcm::Pallet::::set_record_xcm(true); - let result = pallet_xcm::Pallet::::should_record(); + ::XcmRecorder::set_record_xcm(true); + let result = ::XcmRecorder::should_record(); assert!( result, "XCM recorder must be ready to record incoming XCMs."