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

Merge develop into master (after a while) #2734

Merged
merged 219 commits into from
Nov 1, 2024

Conversation

volhovm
Copy link
Member

@volhovm volhovm commented Oct 29, 2024

Develop has not been merged into master for a year or so. Ideally master should contain all the changes from develop.

Highlighting some changes in master (but not develop) that I found hard to reconcile with develop:

  • Move tests to sub-directories
  • SRS refactoring in poly-commitment/src that gets rid of srs.rs etc.
    • This was annoying to resolve since it's a big refactoring.
  • posedidon changes: see commit 34dd760 and around
  • chunked.rs was removed from poly-commitment
  • Precomputed srs stuff, master has precomputed srs for bn256 too.

Copy link

codecov bot commented Oct 29, 2024

Codecov Report

Attention: Patch coverage is 80.13245% with 60 lines in your changes missing coverage. Please review.

Project coverage is 73.00%. Comparing base (ba2d00c) to head (295c19f).
Report is 263 commits behind head on master.

Files with missing lines Patch % Lines
kimchi/src/circuits/constraints.rs 0.00% 20 Missing ⚠️
utils/src/serialization.rs 75.36% 17 Missing ⚠️
kimchi/src/circuits/expr.rs 0.00% 4 Missing ⚠️
poly-commitment/src/hash_map_cache.rs 89.65% 3 Missing ⚠️
poly-commitment/src/kzg.rs 57.14% 3 Missing ⚠️
kimchi/src/precomputed_srs.rs 60.00% 2 Missing ⚠️
msm/src/test/logup.rs 0.00% 2 Missing ⚠️
o1vm/src/legacy/main.rs 0.00% 2 Missing ⚠️
o1vm/src/pickles/main.rs 0.00% 2 Missing ⚠️
poly-commitment/src/ipa.rs 98.16% 2 Missing ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2734      +/-   ##
==========================================
+ Coverage   72.50%   73.00%   +0.49%     
==========================================
  Files         247      247              
  Lines       57706    57443     -263     
==========================================
+ Hits        41842    41937      +95     
+ Misses      15864    15506     -358     

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

Copy link
Member

@shimkiv shimkiv left a comment

Choose a reason for hiding this comment

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

Small change requested, other than that looks good CI wise.

.github/workflows/ci.yml Show resolved Hide resolved
@@ -43,3 +43,7 @@ pub trait SquareRootField: Field {
/// Sets `self` to be the square root of `self`, if it exists.
fn sqrt_in_place(&mut self) -> Option<&mut Self>;
}

// @volhovm: do we need this?
Copy link
Member

Choose a reason for hiding this comment

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

It seems tests are duplicated. See curves/tests.

@@ -0,0 +1,86 @@
name: proof-systems-github-runners
Copy link
Member

Choose a reason for hiding this comment

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

What's this? I have never seen it before.

Copy link
Member Author

Choose a reason for hiding this comment

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

@@ -0,0 +1,5 @@
use crate::pasta::fields::{Fp as Fr, Fq};
Copy link
Member

Choose a reason for hiding this comment

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

Seems duplicated. See curves/tests.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, nice catch, thanks! Duplicates removed now.

@@ -0,0 +1,3 @@
mod batch_15_wires;
Copy link
Member

Choose a reason for hiding this comment

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

This can be removed. Tests are in poly-commitment/tests, not in poly-commitment/src/tests anymore.

Copy link
Member

@dannywillems dannywillems left a comment

Choose a reason for hiding this comment

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

Only small comments that can be done in a follow-up.

Copy link
Member

@shimkiv shimkiv left a comment

Choose a reason for hiding this comment

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

LGTM!

@dannywillems
Copy link
Member

dannywillems commented Oct 31, 2024

You'll need to rebase on top of master to get the new CI configuration (sorry :( )

Ah, no, my bad. We need to update the CI configuration.

@dannywillems
Copy link
Member

I updated the CI branch protection. node was added to version 20, and therefore branch protection had to changed.
I removed:

Run checks and tests (1.73, 4.14) 
Run checks and tests (1.73, 4.14) 
Run checks and tests (1.73, 4.14) 
Run checks and tests (1.73, 4.14)

and added

CI / Run checks and tests (1.71, 4.14, 20) 
CI / Run checks and tests (1.72, 4.14, 20) 
CI / Run checks and tests (1.73, 4.14, 20) 
CI / Run checks and tests (1.74, 4.14, 20)  

@dannywillems
Copy link
Member

Feel free to merge @volhovm

@volhovm volhovm merged commit 99eb8ff into master Nov 1, 2024
8 checks passed
@volhovm volhovm deleted the volhovm/merge-develop-into-master-epic-2024-10-25 branch November 1, 2024 08:15
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.