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

Remove ff::PrimeFieldRepr #223

Merged
merged 10 commits into from
Apr 30, 2020
Merged

Remove ff::PrimeFieldRepr #223

merged 10 commits into from
Apr 30, 2020

Conversation

str4d
Copy link
Contributor

@str4d str4d commented Apr 23, 2020

Closes #159.

@str4d str4d added the S-scratching-an-itch Status: Something we haven't planned for a sprint but are doing anyway label Apr 23, 2020
@str4d str4d requested a review from ebfull April 23, 2020 06:06
The ff::PrimeField::Repr associated type now has the minimal necessary
bounds, which can be satisfied by a newtype around a byte array.
@codecov
Copy link

codecov bot commented Apr 23, 2020

Codecov Report

Merging #223 into master will increase coverage by 14.25%.
The diff coverage is 59.19%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #223       +/-   ##
===========================================
+ Coverage   51.08%   65.34%   +14.25%     
===========================================
  Files          99      106        +7     
  Lines       13318    15041     +1723     
===========================================
+ Hits         6804     9828     +3024     
+ Misses       6514     5213     -1301     
Impacted Files Coverage Δ
bellman/src/domain.rs 63.58% <ø> (+63.58%) ⬆️
bellman/src/gadgets/multieq.rs 50.00% <ø> (-45.24%) ⬇️
ff/ff_derive/src/lib.rs 19.60% <0.00%> (ø)
group/src/lib.rs 11.76% <0.00%> (+11.76%) ⬆️
pairing/src/bls12_381/fq2.rs 61.77% <0.00%> (+61.77%) ⬆️
pairing/src/bls12_381/mod.rs 61.49% <0.00%> (+61.49%) ⬆️
pairing/src/tests/engine.rs 100.00% <ø> (ø)
bellman/src/groth16/tests/dummy_engine.rs 7.47% <14.28%> (+7.47%) ⬆️
zcash_primitives/src/primitives.rs 47.32% <33.33%> (-46.91%) ⬇️
zcash_primitives/src/sapling.rs 83.87% <33.33%> (-16.13%) ⬇️
... and 135 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97c21e0...49f119f. Read the comment docs.

@ebfull
Copy link
Collaborator

ebfull commented Apr 30, 2020

ACK though there's some more API fiddling I'd like to do, we can do it later.

@str4d str4d merged commit b02cf3b into zcash:master Apr 30, 2020
@ebfull ebfull mentioned this pull request Apr 30, 2020
18 tasks
@str4d str4d added this to the Core Sprint 2020-17 milestone Apr 30, 2020
@str4d str4d deleted the remove-primefieldrepr branch September 26, 2020 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-scratching-an-itch Status: Something we haven't planned for a sprint but are doing anyway
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor ff traits to match jubjub API
2 participants