diff --git a/networks/testnet.toml b/networks/testnet.toml index 15ac9b03..450f0532 100644 --- a/networks/testnet.toml +++ b/networks/testnet.toml @@ -37,4 +37,12 @@ balances = [ [[parachains.collators]] name = "pop" rpc_port = 9944 -args = ["-lruntime::contracts=debug", "-lpopapi::extension=debug"] \ No newline at end of file +args = ["-lruntime::contracts=debug", "-lpopapi::extension=debug", "-lxcm=trace"] + +[[parachains]] +id = 1000 +chain = "asset-hub-rococo-local" + +[[parachains.collators]] +name = "asset-hub" +args = ["-lxcm=trace"] \ No newline at end of file diff --git a/node/Cargo.toml b/node/Cargo.toml index 665f11e8..04de08e0 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -106,4 +106,4 @@ try-runtime = [ "sp-runtime/try-runtime", ] -on-chain-release-build = ["pop-runtime-mainnet/on-chain-release-build"] +on-chain-release-build = [ "pop-runtime-mainnet/on-chain-release-build" ] diff --git a/runtime/devnet/src/config/xcm.rs b/runtime/devnet/src/config/xcm.rs index 5a142dcf..40f18c7c 100644 --- a/runtime/devnet/src/config/xcm.rs +++ b/runtime/devnet/src/config/xcm.rs @@ -192,9 +192,7 @@ impl pallet_xcm::Config for Runtime { type UniversalLocation = UniversalLocation; type Weigher = FixedWeightBounds; type WeightInfo = pallet_xcm::TestWeightInfo; - type XcmExecuteFilter = Nothing; - // ^ Disable dispatchable execute on the XCM pallet. - // Needs to be `Everything` for local testing. + type XcmExecuteFilter = Everything; type XcmExecutor = XcmExecutor; // TODO: add filter to only allow reserve transfers of native to relay/asset hub type XcmReserveTransferFilter = Everything; diff --git a/runtime/testnet/src/config/xcm.rs b/runtime/testnet/src/config/xcm.rs index d548c2cb..4fe54a4f 100644 --- a/runtime/testnet/src/config/xcm.rs +++ b/runtime/testnet/src/config/xcm.rs @@ -192,9 +192,7 @@ impl pallet_xcm::Config for Runtime { type UniversalLocation = UniversalLocation; type Weigher = FixedWeightBounds; type WeightInfo = pallet_xcm::TestWeightInfo; - type XcmExecuteFilter = Nothing; - // ^ Disable dispatchable execute on the XCM pallet. - // Needs to be `Everything` for local testing. + type XcmExecuteFilter = Everything; type XcmExecutor = XcmExecutor; // TODO: add filter to only allow reserve transfers of native to relay/asset hub type XcmReserveTransferFilter = Everything;