You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow pool to be destroyed with an extra (erroneous) consumer reference on the pool account (#4503)
addresses #4440 (will
close once we have this in prod runtimes).
related: #2037.
An extra consumer reference is preventing pools to be destroyed. When a
pool is ready to be destroyed, we
can safely clear the consumer references if any. Notably, I only check
for one extra consumer reference since that is a known bug. Anything
more indicates possibly another issue and we probably don't want to
silently absorb those errors as well.
After this change, pools with extra consumer reference should be able to
destroy normally.
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
3
+
4
+
title: Patch pool to handle extra consumer ref when destroying.
5
+
6
+
doc:
7
+
- audience: Runtime User
8
+
description: |
9
+
An erroneous consumer reference on the pool account is preventing pools from being destroyed. This patch removes the extra reference if it exists when the pool account is destroyed.
0 commit comments