-
Notifications
You must be signed in to change notification settings - Fork 84
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
Library refactor #31
Comments
@Bhargavasomu I've submitted a request to have a bounty attached to this. |
On this. |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 250.0 DAI (250.0 USD @ $1.0/DAI) attached to it as part of the Ethereum Foundation fund.
|
@ceresstation as far as |
Hey @Bhargavasomu sorry about that, I just increased the maximum number of bounties you can work on so you're welcome to apply here if you think you can do all of them in a timely manner :) |
Issue Status: 1. Open 2. Cancelled Work has been started. These users each claimed they can complete the work by 6 months, 2 weeks ago. 1) joeblackwaslike has applied to start work (Funders only: approve worker | reject worker).
Additional Comments:
I have already started the work with Base class implementation and better docstrings for the functions. Will make a PR soon Learn more on the Gitcoin Issue Details page. |
Hey @joeblackwaslike I like your thoughts here, would be curious to get @pipermerriam's input. @Bhargavasomu since you were the first to discuss this issue I'm going to approve you now :) |
Thanks @ceresstation You are correct to approve @Bhargavasomu on this issue. @joeblackwaslike if something falls through with @Bhargavasomu we'll reach out but for now it's safe to assume this issue is being handled. |
|
Issue Status: 1. Open 2. Cancelled The funding of 250.0 DAI (250.0 USD @ $1.0/DAI) attached to this issue has been cancelled by the bounty submitter
|
By @Bhargavasomu from: #24 (comment)
The following things come to my mind.
FQ
,FQP
,FQ2
andFQ12
need not be reinitialized every time as they are not dependent on the type of curve or extension. So probably we could have these created infield_elements.py
and we could use them everywhere (bn128
,optimized_bn128
,bls
,optimized_bls
).BaseCurve
, and then maybe every curve (bn128_curve
,optimized_bn128_curve
, ...) could inherit this and make the changes specific to the inherited class.constants.py
)py_ecc/py_ecc/bn128/bn128_pairing.py
Lines 74 to 83 in 067a402
Optimized_FQPoint2D
could be replaced byFQPoint2D
). Similary the type hinting should be carried out for thebs12_381
andoptimized_bs12_381
submodules.Also the only difference I see in all the curves is
b
,b2
,b12
,G2
,G12
...twist
function@vbuterin are my facts right or am I missing anything.
@pipermerriam is the above design ok?
The text was updated successfully, but these errors were encountered: