mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
Allow (temporary) Statemine send xcm messages
This commit is contained in:
@@ -236,7 +236,9 @@ pub type XcmRouter = (
|
||||
impl pallet_xcm::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
// We want to disallow users sending (arbitrary) XCMs from this chain.
|
||||
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, ()>;
|
||||
// TODO:check-parameter - temporary fix - allow send XCM messages from here
|
||||
// TODO:check-parameter - after xcm-v3 rebase, fix/add/find_out kind of filter to allow sending just to BridgeHub?
|
||||
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>;
|
||||
type XcmRouter = XcmRouter;
|
||||
// We support local origins dispatching XCM executions in principle...
|
||||
type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>;
|
||||
|
||||
Reference in New Issue
Block a user