Skip to content
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

Rococo Identity Migration Part 2 + Bug Fix #2946

Merged
merged 7 commits into from
Jan 18, 2024

Conversation

joepetrowski
Copy link
Contributor

@joepetrowski joepetrowski commented Jan 16, 2024

Order:

  • Start People Chain
  • Upgrade Rococo Relay (EnsureRoot -> EnsureSigned) (v1,006,002)
  • Migrate all identities
  • Upgrade Rococo People (remove call filter) (v1,006,002)

With added:

  • Upgrade Rococo People to fix poke_deposit bug (v1,006,001)

Note:

It's also possible to remove the Identity Migrator pallet from both the Relay Chain and the parachain at this time. I will leave them in for now to preserve the test cases until we run them on Kusama/Polkadot. We will also want a follow up to remove all Identity-related state from the Relay Chain.

@joepetrowski joepetrowski added R0-silent Changes should not be mentioned in any release notes T14-system_parachains This PR/Issue is related to system parachains. labels Jan 16, 2024
@joepetrowski joepetrowski changed the title Rococo Identity Migration Part 2 [Do not merge (yet)] Rococo Identity Migration Part 2 Jan 16, 2024
@joepetrowski joepetrowski force-pushed the joe-rococo-post-identity-migration branch from e818a7a to 903ec3d Compare January 16, 2024 19:05
@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable 3/3
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4936085

@joepetrowski joepetrowski requested review from a team January 17, 2024 07:08
@joepetrowski joepetrowski changed the title [Do not merge (yet)] Rococo Identity Migration Part 2 Rococo Identity Migration Part 2 + Bug Fix Jan 17, 2024
} else {
// If the item doesn't exist, there is no "old" deposit, and the new one is zero, so no
// need to call rejig, it'd just be zero -> zero.
Zero::zero()
Copy link
Contributor

Choose a reason for hiding this comment

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

Based on the identity migrator impl, calling Call::poke_deposit with a non existing target will never pay any fees -- is this the expected behaviour? I guess it should be fine since the call is gated by root.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah it is gated by root, and the only use in the impl of reap_identity would return an error if the target did not exist, so it shouldn't end up calling into poke_deposit at all.

@joepetrowski joepetrowski added this pull request to the merge queue Jan 18, 2024
Merged via the queue into master with commit f574868 Jan 18, 2024
123 of 124 checks passed
@joepetrowski joepetrowski deleted the joe-rococo-post-identity-migration branch January 18, 2024 07:29
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
Order:

- [x] Start People Chain
- [RPC
node](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-people-rpc.polkadot.io#/explorer)
- [x] Upgrade Rococo Relay (`EnsureRoot` -> `EnsureSigned`) (v1,006,002)
- Done
[here](https://rococo.subscan.io/extrinsic/0xef07e0f9dbb2b9e829305f132e6ce45d291239286e409177e20895e6687daa6c)
- [x] Migrate all identities
- Done, see extrinsics from [this
account](https://rococo.subscan.io/account/5FyNYrBwndvBttTkGUqGGCRAXtBH4Mh8xELDaxaFywTsjDKb)
- [x] Upgrade Rococo People (remove call filter) (v1,006,002)
- Authorized
[here](https://rococo.subscan.io/extrinsic/0xedf6a80229bd411b7ed8d3a489a767b0f773bed5c49239987a294c293a35b98b)

With added:

- [x] Upgrade Rococo People to fix `poke_deposit` bug (v1,006,001)
- Authorized
[here](https://rococo.subscan.io/extrinsic/0xd1dc3cd6e8274bd0196f8d9f13ed09f6e9c76e6a40f9786a1629f4cb22cf948d)

Note:

It's also possible to remove the Identity Migrator pallet from both the
Relay Chain and the parachain at this time. I will leave them in for now
to preserve the test cases until we run them on Kusama/Polkadot. We will
also want a follow up to remove all Identity-related state from the
Relay Chain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes T14-system_parachains This PR/Issue is related to system parachains.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants