-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Bignum: Rename modulus input argument from m
to N
in bignum_mod
#6780
Comments
Hey , @minosgalanakis I am getting started with my open source journey and like to work on this issue.
Can you please explain it further ? Example : Line 42 in b402e4b
Like this : |
Hi @Mihir-Raj-Singh, and thank you for the interest in the project. Yes that is precicely the ask. Two different ways to represent the modulus have been introduced to the new interface: The issue is to replace it so that only
n order to make it simpler and quicker to review, I would recommend launching a series of small PR's in succession, each responsible for changing |
Thanks @minosgalanakis , I would like to work on this. Please assign me this issue. If anything is needed further, I will let you know. |
Hello @minosgalanakis , I tried renaming modulus input argument in a single function in both files You can refer it here : a433560
I'm a little nervous and don't want things to go wrong. |
Yes, something like that should suffice. But you need to make sure that the embedded tests are still passing:
After your personal branch you have made the changes is in good shape, and has passed the tests, you can make the PR request. Again using past PR's as reference can be usefull on how to structure the PR's description. One the first PR request is ready, and has passed CI you can repeat the process for all functions that need to be renamed. |
I tried searching but unable to understand myself. |
Hey @minosgalanakis , I'm getting this error while running check_files.py
|
The last line in the output you pasted is That means the top of the repository, so:
|
Thanks for the information. It works fine now. May I ask you what |
I will normally include this on examples I post where there is no output (like above) to make it clear that the command that I ran succeeded.
No, it shouldn't be. |
Hello ,
Review the PR : #6903
Checklist :
|
Suggested enhancement
Replace all references to modulus from
m -> N
in bignum_mod.c, bignum.h and test_suite_bignum_mod.functionJustification
This is a requirement that was discussed in the review of #6743 and aggreed upon as part of the common conventions for the new bignum interface #6684 .
The text was updated successfully, but these errors were encountered: