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

Parachain system state check list #1083

Closed
9 tasks
AurevoirXavier opened this issue Feb 20, 2023 · 1 comment · Fixed by #1121
Closed
9 tasks

Parachain system state check list #1083

AurevoirXavier opened this issue Feb 20, 2023 · 1 comment · Fixed by #1121
Assignees

Comments

@AurevoirXavier
Copy link
Member

AurevoirXavier commented Feb 20, 2023

Before solo to para

After solo to para

  • Set the storage through sudo Set HRMP channels genesis state darwinia-2.0#275 (comment)
    • HRMP state: Get from relaychain hrmp.hrmpChannels and set it to parachain parachainSystem.lastHrmpMqcHeads.
    • DMP state: Get from relaychain dmp.downwardMessageQueueHeads and set it to parachain parachainSystem.lastDmqMqcHead.

Check

  • HRMP
  • DMP

After testing

  • Add back the assertions by removing the patch
@jiguantong
Copy link
Member

jiguantong commented Feb 27, 2023

darwinia-network/cumulus@c9f1eff
I added checks and expected last_hrmp_heads encoded results in this commit so that we can copy directly from the logs.
Please review and use it as needed.

--log cumulus_pallet_parachain_system=debug

@AurevoirXavier AurevoirXavier transferred this issue from darwinia-network/darwinia-2.0 Mar 30, 2023
@AurevoirXavier AurevoirXavier pinned this issue Mar 30, 2023
@boundless-forest boundless-forest unpinned this issue Apr 26, 2023
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 a pull request may close this issue.

3 participants