Skip to content

Unnecessary base call filter #576

@al3mart

Description

@al3mart

FilteredCalls is used as BaseCallFilter for the system pallet. All filtered calls, force_adjust_total_issuance, force_set_balance, force_transfer, and force_unreserve, require Root origin. However, the behavior is that Root origin bypasses all filters, including BaseCallFilter. Therefore those filters do nothing.

Let's remove those unnecessary filters to avoid giving a false sense of security.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions