Closed remyroy closed 1 month ago
There seems to be a lingering issue with this PR and the unit tests in #49 . Let me fix it before finishing the review.
The c35380e9d0dd8fe6ce1198e27c717e7a124c2a2e commit should fix #49. There seems to be another unit test issue in https://github.com/eth-educators/ethstaker-deposit-cli/actions/runs/9273010996/job/25512131191?pr=48 which need more fixes.
It seems like all remaining issues are fixed. You can have another look @valefar-on-discord .
This PR adds parallelism using the ProcessPoolExecutor when and where we can benefit from executing multiple tasks on potentially multiple cores. This speeds up keys generation, keystores generation, voluntary exits generation and a bunch of verification especially when multiples are requested. It will default to using number of processors on the machine for the number of workers.
Fixes #40
Introduces #47