-
Notifications
You must be signed in to change notification settings - Fork 107
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
fix: Inconsistent Docs for Downloading ZKP Params #6464
Conversation
This commit also removes the prefix `retry_` from the function names that download the parameters. The reason for removing it was that I consider the retries implicit, and the primary objective of the functions is to download the params, not retry to download them.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6464 +/- ##
==========================================
+ Coverage 77.75% 77.89% +0.13%
==========================================
Files 304 304
Lines 39681 39678 -3
==========================================
+ Hits 30855 30906 +51
+ Misses 8826 8772 -54 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thank you!
I may remember us saying we want to keep these as *_RETRIES
and update the code to make retries + 1
attempts for fixes to this finding (e.g. PR #6460), but I'm not sure and that's not a blocker in any case.
Co-authored-by: Arya <[email protected]>
Thanks for pointing that out, I wasn't aware of that. I switched back to retries, adjusted the code, and edited the PR description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for making the change to retries!
Motivation
Close #6340.
Solution
This PR:
PARAMETER_DOWNLOAD_MAX_RETRIES
is regarded as the max number of retries instead of attempts;retry_
from functions that download the parameters;Reviewer Checklist