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

Implement Sinsemilla #164

Closed
wants to merge 6 commits into from
Closed

Implement Sinsemilla #164

wants to merge 6 commits into from

Conversation

therealyingtong
Copy link
Collaborator

@therealyingtong therealyingtong commented Feb 2, 2021

Closes #73.

TODOs:

  • Decide how to constrain (x_q, y_q) (the point used to initialise the hash) in the circuit. We could introduce a custom gate but that's rather a waste of a fixed column.
  • Decide on personalisation input to generate Q.

@codecov-io
Copy link

codecov-io commented Feb 5, 2021

Codecov Report

Merging #164 (04e95cc) into main (c5c0dbe) will increase coverage by 1.94%.
The diff coverage is 88.94%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #164      +/-   ##
==========================================
+ Coverage   81.12%   83.07%   +1.94%     
==========================================
  Files          44       47       +3     
  Lines        4721     4915     +194     
==========================================
+ Hits         3830     4083     +253     
+ Misses        891      832      -59     
Impacted Files Coverage Δ
src/gadget/sinsemilla/chip/generator_table.rs 84.44% <84.44%> (ø)
src/gadget/sinsemilla/chip.rs 87.71% <87.71%> (ø)
src/gadget/sinsemilla.rs 100.00% <100.00%> (ø)
src/plonk/prover.rs 99.55% <0.00%> (+<0.01%) ⬆️
src/plonk/lookup/prover.rs 90.84% <0.00%> (+1.46%) ⬆️
src/plonk/keygen.rs 95.83% <0.00%> (+1.46%) ⬆️
src/plonk/circuit.rs 64.87% <0.00%> (+1.95%) ⬆️
... and 5 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 c5c0dbe...04e95cc. Read the comment docs.

@therealyingtong therealyingtong force-pushed the sinsemilla branch 2 times, most recently from 909b3da to cd240cd Compare February 9, 2021 05:21
@therealyingtong therealyingtong changed the title [WIP] Implement Sinsemilla Implement Sinsemilla Feb 14, 2021
@therealyingtong therealyingtong marked this pull request as ready for review February 14, 2021 15:27
src/gadget/sinsemilla.rs Outdated Show resolved Hide resolved
src/gadget/sinsemilla.rs Outdated Show resolved Hide resolved
src/gadget/sinsemilla/chip.rs Outdated Show resolved Hide resolved
src/gadget/sinsemilla/chip.rs Outdated Show resolved Hide resolved
src/gadget/sinsemilla/chip.rs Show resolved Hide resolved
@therealyingtong therealyingtong changed the base branch from sinsemilla-base to main February 23, 2021 02:05
@therealyingtong
Copy link
Collaborator Author

Superseded by zcash/orchard#24 and zcash/orchard#25.

@str4d str4d deleted the sinsemilla branch February 26, 2021 11:37
str4d added a commit that referenced this pull request Jan 19, 2022
[book] decomposition.md: avoid introducing `m` when we already have `range`
han0110 pushed a commit to han0110/halo2 that referenced this pull request May 29, 2023
* add a constructor

* add more comment

* fix as review

* remove clone

* remove

* no need to use new variable

* change comment

* fix clippy

* rename to from_parts

* remove n declaration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Sinsemilla gadget
5 participants