Skip to content

Remove ff::PrimeFieldRepr#223

Merged
str4d merged 10 commits into
zcash:masterfrom
str4d:remove-primefieldrepr
Apr 30, 2020
Merged

Remove ff::PrimeFieldRepr#223
str4d merged 10 commits into
zcash:masterfrom
str4d:remove-primefieldrepr

Conversation

@str4d
Copy link
Copy Markdown
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.
@str4d str4d force-pushed the remove-primefieldrepr branch from 1c2b203 to 49f119f Compare April 23, 2020 06:15
@codecov
Copy link
Copy Markdown

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
Copy Markdown
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
greg0x pushed a commit to valargroup/librustzcash that referenced this pull request Mar 12, 2026
Cache share_reveal params/keys with OnceLock and unify proving_key API
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