Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Create Call Filter for Launch #64

Closed
joepetrowski opened this issue May 13, 2021 · 3 comments · Fixed by #75
Closed

Create Call Filter for Launch #64

joepetrowski opened this issue May 13, 2021 · 3 comments · Fixed by #75
Assignees

Comments

@joepetrowski
Copy link
Collaborator

When we launch on Kusama, we don't want this to be completely open. balances calls and calls from Root | BodyId::Executive should be allowed.

@riusricardo
Copy link
Contributor

riusricardo commented May 14, 2021

This PR should also address the changes for EnsureRoot and BodyId::Unit

	pub const UnitBody: BodyId = BodyId::Unit;
}

/// We allow root and the Relay Chain council to execute privileged asset operations.
pub type AssetsForceOrigin =  EnsureOneOf<
	AccountId,
	EnsureRoot<AccountId>,
	EnsureXcm<IsMajorityOfBody<DotLocation, UnitBody>>,
>;

@apopiak
Copy link
Contributor

apopiak commented May 18, 2021

@riusricardo BodyId was already set to Executive in another PR so this is fine to close, right?

@riusricardo
Copy link
Contributor

Yes 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants