-
Notifications
You must be signed in to change notification settings - Fork 856
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
Gossip-support: draw random seed out of SessionInfo instead of invoking BABE API #842
Labels
I4-refactor
Code needs refactoring.
Comments
We don't care much about this difference as long as peers compute the topology deterministically for the same relay parent. In fact the behavior prior to paritytech/polkadot#5164 was worse, because each peer would switch to the new topology as soon as it imports a block with a new child session. Whereas with paritytech/polkadot#5164, we can use appropriate topology based on relay_parent/session_index. |
claravanstaden
pushed a commit
to Snowfork/polkadot-sdk
that referenced
this issue
Dec 8, 2023
helin6
pushed a commit
to boolnetwork/polkadot-sdk
that referenced
this issue
Feb 5, 2024
* Remove unwraps in RPC `pending_runtime_api` * clippy
bkchr
pushed a commit
that referenced
this issue
Apr 10, 2024
* Allow creation of authority lists with any number of authorities * Move keyring helpers into their own module * Add helper for generating list of test accounts * Fix import names in tests * Rename Keyring trait to Signer * Get list of accounts in a more functional way * Clarify meaning of `test_keyring` return type * Use concrete test account type instead of generics * Make sure voter set contains all authorities which signed off on pre-commits
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will have slightly different behavior, because of the fact that sessions change 1 block later in parachains than they do for BABE overall. However, there will only be a difference in the extracted random seed for a particular session for the very last block of the session (from the parachain protocol's perspective) - BABE would have given the random seed for the next session.
The text was updated successfully, but these errors were encountered: