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

Remove as_sub capability from NonTransfer #1310

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion runtime/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,9 @@ impl InstanceFilter<Call> for ProxyType {
Call::Attestations(..) |
Call::Slots(..) |
Call::Registrar(..) |
Call::Utility(..) |
Call::Utility(utility::Call::batch(..)) |
Call::Utility(utility::Call::as_limited_sub(..)) |
// Specifically omitting Utility `as_sub`
Call::Identity(..) |
Call::Society(..) |
Call::Recovery(recovery::Call::as_recovered(..)) |
Expand Down
4 changes: 3 additions & 1 deletion runtime/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,9 @@ impl InstanceFilter<Call> for ProxyType {
Call::Vesting(vesting::Call::vest(..)) |
Call::Vesting(vesting::Call::vest_other(..)) |
// Specifically omitting Vesting `vested_transfer`, and `force_vested_transfer`
Call::Utility(..) |
Call::Utility(utility::Call::batch(..)) |
Call::Utility(utility::Call::as_limited_sub(..)) |
// Specifically omitting Utility `as_sub`
// Specifically omitting Sudo pallet
Call::Identity(..) |
Call::Proxy(..) |
Expand Down
4 changes: 3 additions & 1 deletion runtime/westend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,9 @@ impl InstanceFilter<Call> for ProxyType {
Call::Parachains(..) |
Call::Attestations(..) |
Call::Registrar(..) |
Call::Utility(..) |
Call::Utility(utility::Call::batch(..)) |
Call::Utility(utility::Call::as_limited_sub(..)) |
// Specifically omitting Utility `as_sub`
Call::Identity(..) |
Call::Recovery(recovery::Call::as_recovered(..)) |
Call::Recovery(recovery::Call::vouch_recovery(..)) |
Expand Down