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

[3 / 5] Move crypto checks in the approval-distribution #4847

Conversation

alexggh
Copy link
Contributor

@alexggh alexggh commented Jun 20, 2024

Prerequisite

Start with reading #4849 (comment) first

Description

This PR contain changes, so that the crypto checks are performed by the approval-distribution subsystem instead of the approval-voting one. The benefit for these, is twofold:

  1. Approval-distribution won't have to wait every single time for the approval-voting to finish its job, so the work gets to be pipelined between approval-distribution and approval-voting.
  2. By running multiple instances of approval-distribution in parallel we get to parallelisation of this CPU intensive work.

@alexggh alexggh changed the title [WIP] Move crypto checks in the approval-distribution Move crypto checks in the approval-distribution Jun 20, 2024
@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-clippy
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6511460

@alexggh alexggh changed the title Move crypto checks in the approval-distribution [3 / 5] Move crypto checks in the approval-distribution Jun 20, 2024
@alexggh alexggh force-pushed the alexaggh/approval-voting-parallel-3-5 branch from 03945da to 78708d7 Compare July 2, 2024 11:40
@alexggh alexggh merged commit 78708d7 into alexaggh/approval-voting-parallel-2-5 Jul 2, 2024
9 of 13 checks passed
@alexggh alexggh force-pushed the alexaggh/approval-voting-parallel-2-5 branch from 31767a9 to 7add070 Compare July 2, 2024 11:40
@alexggh alexggh deleted the alexaggh/approval-voting-parallel-3-5 branch July 2, 2024 11:40
@cla-bot-2021
Copy link

cla-bot-2021 bot commented Jul 2, 2024

User @dashangcun, please sign the CLA here.

User @haouvw, please sign the CLA here.

@alexggh alexggh restored the alexaggh/approval-voting-parallel-3-5 branch July 2, 2024 11:41
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