Skip to content

Commit

Permalink
not needed for quit_sub
Browse files Browse the repository at this point in the history
  • Loading branch information
kianenigma committed Dec 23, 2024
1 parent c2d3b05 commit 6243b22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion system-parachains/people/people-kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::Balances { .. } |
// `request_judgement` puts up a deposit to transfer to a registrar
RuntimeCall::Identity(pallet_identity::Call::request_judgement { .. }) |
// `set_subs`, `add_sub`, `quite_sub` will take and repatriate deposits from the proxied account, should not be allowed.
// `set_subs` and `add_sub` will take and repatriate deposits from the proxied
// account, should not be allowed.
RuntimeCall::Identity(pallet_identity::Call::add_sub { .. }) |
RuntimeCall::Identity(pallet_identity::Call::set_subs { .. }) |
RuntimeCall::Identity(pallet_identity::Call::quit_sub { .. })
Expand Down
4 changes: 2 additions & 2 deletions system-parachains/people/people-polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,10 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::Balances { .. } |
// `request_judgement` puts up a deposit to transfer to a registrar
RuntimeCall::Identity(pallet_identity::Call::request_judgement { .. }) |
// `set_subs`, `add_sub`, `quite_sub` will take and repatriate deposits from the proxied account, should not be allowed.
// `set_subs` and `add_sub` will take and repatriate deposits from the proxied
// account, should not be allowed.
RuntimeCall::Identity(pallet_identity::Call::add_sub { .. }) |
RuntimeCall::Identity(pallet_identity::Call::set_subs { .. }) |
RuntimeCall::Identity(pallet_identity::Call::quit_sub { .. })
),
ProxyType::CancelProxy => matches!(
c,
Expand Down

0 comments on commit 6243b22

Please sign in to comment.