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

Arrabbiata: define Challenges structure #3022

Open
wants to merge 6 commits into
base: dw/add-accumulated-challenges
Choose a base branch
from

Conversation

dannywillems
Copy link
Member

@dannywillems dannywillems commented Feb 12, 2025

The goal is to be more explicit on the challenges the protocol defines. It will be easier in the code to refer to a particular name instead of an index. Also, we fix the number of challenges, hoping the structure will be linear in memory and we can enjoy the optimsiation of the CPU cache.

@dannywillems dannywillems changed the title Dw/use challenges structure Arrabbiata: define Challenges structure Feb 12, 2025
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

Attention: Patch coverage is 37.83784% with 23 lines in your changes missing coverage. Please review.

Please upload report for BASE (dw/add-accumulated-challenges@6551807). Learn more about missing BASE report.

Files with missing lines Patch % Lines
arrabbiata/src/columns.rs 28.12% 23 Missing ⚠️
Additional details and impacted files
@@                       Coverage Diff                        @@
##             dw/add-accumulated-challenges    #3022   +/-   ##
================================================================
  Coverage                                 ?   76.87%           
================================================================
  Files                                    ?      262           
  Lines                                    ?    62165           
  Branches                                 ?        0           
================================================================
  Hits                                     ?    47787           
  Misses                                   ?    14378           
  Partials                                 ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

/// Used by the accumulation protocol (folding) to perform a random linear
/// transformation of the witnesses and the public values.
/// Often noted `r` in the paper mentioning "folding protocols".
pub relation_randomiser: F,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that even though it is a challenge, it must be not accumulated by the accumulation scheme.

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.

1 participant