cumulus icon indicating copy to clipboard operation
cumulus copied to clipboard

Template to not allow any Teleport and allowing Reserve transfers as defaults

Open nuke-web3 opened this issue 3 years ago • 2 comments

https://github.com/substrate-developer-hub/substrate-parachain-template/issues/99 long time coming

nuke-web3 avatar Nov 22 '22 01:11 nuke-web3

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?

nuke-web3 avatar Nov 23 '22 19:11 nuke-web3

@NukeManDan @joepetrowski gentle nudge on this one. Without it, the parachain template does not provide a sane default XCM config for new parachain projects.

stiiifff avatar Aug 18 '23 13:08 stiiifff