-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Identity from Kusama Relay #315
Remove Identity from Kusama Relay #315
Conversation
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
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 <adrian@parity.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <oliver.tale-yazdi@parity.io>
Judgement proxy migration
/merge |
5084967
into
polkadot-fellows:main
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 <bkontur@gmail.com> Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
As a follow up to the migration to a People Chain, we can remove everything Identity-related from the Relay Chain.