Skip to content

Conversation

@dharjeezy
Copy link
Contributor

closes #9851

@dharjeezy dharjeezy requested a review from a team as a code owner October 21, 2025 22:35
T::Currency::unreserve(&delegator, old_deposit);
let (proxies, old_deposit) = Proxies::<T>::take(delegator);
T::Currency::unreserve(delegator, old_deposit);
Self::deposit_event(Event::ProxiesRemoved { delegator: delegator.clone() });
Copy link
Member

Choose a reason for hiding this comment

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

Why not use the ProxyRemoved that we already have? Like this, UIs will only need to index and understand one kind of Event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Call to proxy.removeProxies does not raise event

2 participants