-
Notifications
You must be signed in to change notification settings - Fork 683
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
Skip slot before creating inherent data providers during major sync #5344
Skip slot before creating inherent data providers during major sync #5344
Conversation
b68fd63
to
35ca5f7
Compare
The CI pipeline was cancelled due to failure one of the required jobs. |
bot fmt |
@skunert https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7004354 was started for your command Comment |
@skunert Command |
@LGLO please merge master and run |
Review required! Latest push from author must always be reviewed |
Head branch was pushed to by a user without write access
@bkchr Done, sorry for delay, I was AFK for few days. |
178e699
* master: (36 commits) Bump the ci_dependencies group across 1 directory with 2 updates (#5401) Remove deprecated calls in cumulus-parachain-system (#5439) Make the PR template a default for new PRs (#5462) Only log the propagating transactions when they are not empty (#5424) [CI] Fix SemVer check base commit (#5361) Sync status refactoring (#5450) Add build options to the srtool build step (#4956) `MaybeConsideration` extension trait for `Consideration` (#5384) Skip slot before creating inherent data providers during major sync (#5344) Add symlinks for code of conduct and contribution guidelines (#5447) pallet-collator-selection: correctly register weight in `new_session` (#5430) Derive `Clone` on `EncodableOpaqueLeaf` (#5442) Moving `Find FAIL-CI` check to GHA (#5377) Remove panic, as proof is invalid. (#5427) Reactive syncing metrics (#5410) [bridges] Prune messages from confirmation tx body, not from the on_idle (#5006) Change the chain to Rococo in the parachain template Zombienet config (#5279) Improve the appearance of crates on `crates.io` (#5243) Add initial version of `pallet_revive` (#5293) Update OpenZeppelin template documentation (#5398) ...
Description
Moves
create_inherent_data_provider
after checking if major sync is in progress.Integration
Change is internal to sc-consensus-slots. It should be no-op unless someone is using fork of this SDK.
Review Notes
Motivation for this change is to avoid calling
create_inherent_data_providers
if it's result is going to be discarded anyway during major sync. This has potential to speed up node operations during major sync by not calling possibly expensivecreate_inherent_data_provider
.TODO: labels T0-node D0-simple
TODO: there is no tests for
Slots
, should I add one for this case?Checklist
T
required)