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

Check next ParaID and reserve it if needed #590

Merged
merged 2 commits into from
Sep 4, 2023
Merged

Conversation

AlexD10S
Copy link
Contributor

Fix for the Issue #586

Check the next paraId in the pallet registrar and compare it with the para_id to be onboarded:

  • If paraId = nextParaId means it needs to be reserved -> call the extrinsic reserve()
  • If paraId > nextParaId throws an Error, because teh para_id indicated should be the nextParaId
  • If paraId < nextParaId needs means is reserved, don't do anything

@AlexD10S AlexD10S requested a review from al3mart August 31, 2023 14:34
@al3mart al3mart merged commit b4dad2e into master Sep 4, 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 this pull request may close these issues.

2 participants