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

handle our view change with prospective parachain mode enabled in collation protocol #4253

Open
kishansagathiya opened this issue Oct 15, 2024 · 0 comments

Comments

@kishansagathiya
Copy link
Contributor

kishansagathiya commented Oct 15, 2024

Issue summary

https://github.com/paritytech/polkadot-sdk/blob/aa68ea58f389c2aa4eefab4bf7bc7b787dd56580/polkadot/node/network/collator-protocol/src/validator_side/mod.rs#L1303
If a new leaf is added

  • activate new leaf in implicit view
  • get the known, allowed relay-parents that are valid for parachain candidates which could be backed in a child of a given block for a given para ID
  • assign a parachain id to each relay parent

https://github.com/paritytech/polkadot-sdk/blob/aa68ea58f389c2aa4eefab4bf7bc7b787dd56580/polkadot/node/network/collator-protocol/src/validator_side/mod.rs#L1340
If a leaf is removed

  • deactivate a leaf

Other information and links

@kishansagathiya kishansagathiya changed the title handle our view change with prospective parachain mode enabled in collator protocol handle our view change with prospective parachain mode enabled in collation protocol Oct 15, 2024
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

No branches or pull requests

1 participant