Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Companion for #6237 (Ensure Origin w/ OR) #1223

Closed
wants to merge 8 commits into from

Conversation

shawntabrizi
Copy link
Member

@shawntabrizi shawntabrizi commented Jun 9, 2020

This is a PR that updates the Polkadot and Kusama runtime to keep the ability for Root origin to access some functions through EnsureOrigin check

paritytech/substrate#6237

@shawntabrizi shawntabrizi added A0-please_review Pull request needs code review. A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. A9-companion-backlog labels Jun 9, 2020
@gavofyork gavofyork added A8-mergeoncegreen and removed A0-please_review Pull request needs code review. A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. labels Jun 10, 2020
@gavofyork gavofyork added B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Jun 10, 2020
@@ -109,6 +110,16 @@ impl Filter<Call> for BaseFilter {
pub struct IsCallable;
frame_support::impl_filter_stack!(IsCallable, BaseFilter, Call, is_callable);

#[cfg(feature = "runtime-benchmarks")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the feature gating? benchmarks should be reflective of the on-chain logic. and in any case, i would want the on-chain logic to be the EnsureOneOf value.

@gavofyork gavofyork mentioned this pull request Jun 10, 2020
@gavofyork
Copy link
Member

Subsumed in #1222

@gavofyork gavofyork closed this Jun 10, 2020
@bkchr bkchr deleted the shawntabrizi-ensure-origin branch June 10, 2020 11:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants