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

[CHIA-615] Rust BLS cache #18085

Merged
merged 1 commit into from
Jun 8, 2024
Merged

[CHIA-615] Rust BLS cache #18085

merged 1 commit into from
Jun 8, 2024

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented May 27, 2024

Purpose:

Transition the BLSCache type to use the rust version. This is a step towards validating transactions in python threads instead of processes.

One notable change is that the python version has a force_cache parameter. The rust implementation does not have this, and it's implied to be True. Therefore, this makes it more important to not use the cache in cases where we can be pretty sure we will have a very low cache hit rate.

Current Behavior:

BLSCache is a python class.

New Behavior:

BLSCache is a rust class.

Testing Notes:

@arvidn arvidn added the Changed Required label for PR that categorizes merge commit message as "Changed" for changelog label May 27, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the merge_conflict Branch has conflicts that prevent merge to main label May 29, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the merge_conflict Branch has conflicts that prevent merge to main label Jun 3, 2024
Copy link
Contributor

github-actions bot commented Jun 3, 2024

Conflicts have been resolved. A maintainer will review the pull request shortly.

@arvidn arvidn changed the title Rust BLS cache [CHIA-615] Rust BLS cache Jun 3, 2024
@arvidn arvidn marked this pull request as ready for review June 3, 2024 23:33
@arvidn arvidn requested a review from a team as a code owner June 3, 2024 23:33
@arvidn arvidn requested a review from matt-o-how June 3, 2024 23:33
@arvidn arvidn requested a review from wjblanke June 7, 2024 14:31
Copy link
Contributor

@wjblanke wjblanke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aok!

@arvidn arvidn added the ready_to_merge Submitter and reviewers think this is ready label Jun 7, 2024
@cmmarslender cmmarslender merged commit f9375a6 into main Jun 8, 2024
361 checks passed
@cmmarslender cmmarslender deleted the rust-bls-cache branch June 8, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changed Required label for PR that categorizes merge commit message as "Changed" for changelog ready_to_merge Submitter and reviewers think this is ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants