cumulus
cumulus copied to clipboard
Template to not allow any Teleport and allowing Reserve transfers as defaults
https://github.com/substrate-developer-hub/substrate-parachain-template/issues/99 long time coming
Looking to update the comments as suggested, I am not sure how this is enforcing what the comment says it does:
/// No local origins on this chain are allowed to dispatch XCM sends/executions.
pub type LocalOriginToLocation = SignedToAccountId32<RuntimeOrigin, AccountId, RelayNetwork>;
As we also have:
pub const RelayNetwork: NetworkId = NetworkId::Any;
IIUC NetworkId could be anything including "self" (the local/intrenal NetworkId)... is this a bug or am I missing something?
@NukeManDan @joepetrowski gentle nudge on this one. Without it, the parachain template does not provide a sane default XCM config for new parachain projects.