Remove Identity from Kusama Relay#315
Conversation
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
|
Review required! Latest push from author must always be reviewed |
|
Review required! Latest push from author must always be reviewed |
Co-authored-by: Adrian Catangiu <[email protected]>
bkchr
left a comment
There was a problem hiding this comment.
One nitpick, otherwise looks good.
|
/merge |
|
/merge cancel |
|
Actually this is missing one thing (thanks try-runtime). We need to kill/update all Identity Judgement proxies (and should have included that in the migration to the parachain). |
|
Disabled Available commands
For more information see the documentation |
|
I discovered that we missed something in the migration, some users were in a So we need to do two things:
People will need to re-request judgement. Accounts with Script to reproduce: # https://polkascan.github.io/py-substrate-interface/getting-started/installation/
from substrateinterface import SubstrateInterface
chain = SubstrateInterface(
url="wss://kusama-people-rpc.polkadot.io"
)
print(f"Connected to {chain.name}: {chain.chain} v{chain.version}")
# Genesis Hash
block_hash = "0xc1af4cb4eb3918e5db15086c0cc5ec17fb334f728b7c65dd44bfe1e174ff8b3f"
query = chain.query_map('Identity', 'IdentityOf', block_hash=block_hash)
for acc, ii in query:
for jj in ii.value[0]['judgements']:
if isinstance(jj[1], dict) and 'FeePaid' in jj[1].keys():
print(f"Account: {acc} had request: {jj}") |
|
a call to clean up the wrong judgement requests #339 |
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Judgement proxy migration
|
/merge |
|
Enabled Available commands
For more information see the documentation |
Clear requested judgements that do not have corresponding deposits reserved. These judgements exist because the data migration did not take into consideration the deposits for requested judgements. More info: #315 (comment) --------- Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: joe petrowski <[email protected]>
As a follow up to the migration to a People Chain, we can remove everything Identity-related from the Relay Chain.