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

fix: add mp2 version as a path to the download params URL #140

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

silathdiir
Copy link
Contributor

@silathdiir silathdiir commented Jan 20, 2025

Copy link

linear bot commented Jan 20, 2025

@@ -21,8 +22,9 @@ pub(crate) struct Config
#[derive(Deserialize, Debug, Clone, PartialEq)]
pub(crate) struct PublicParamsConfig
{
pub(crate) url: String,
pub(crate) checksum_url: String,
// We will build the URLs with the mp2 version in functions
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these two be renamed e.g. param_files_root_url and checksum_root_url, as we will build them later?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I rename url to params_root_url and delete checksum_url (since it points to one file) in commit 17fd620. I add a constant PARAMS_CHECKSUM_FILENAME for the checksum hash filename which should also be used for params generation in DQ.

mp2_common = { git = "https://github.com/Lagrange-Labs/mapreduce-plonky2.git", branch = "lag-375-add-mp2-git-version" }
mp2_v1 = { git = "https://github.com/Lagrange-Labs/mapreduce-plonky2.git", branch = "lag-375-add-mp2-git-version" }
parsil = { git = "https://github.com/Lagrange-Labs/mapreduce-plonky2.git", branch = "lag-375-add-mp2-git-version" }
verifiable-db = { git = "https://github.com/Lagrange-Labs/mapreduce-plonky2.git", branch = "lag-375-add-mp2-git-version" }
Copy link
Contributor

Choose a reason for hiding this comment

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

Let us not forget to remove that before merging when the MR2 PR will have been merged :)

@silathdiir silathdiir changed the title [testing] fix: add mp2 version as a path to the download params URL fix: add mp2 version as a path to the download params URL Jan 23, 2025
@silathdiir
Copy link
Contributor Author

It could work on bromberg, but need to test more on dev1.

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.

4 participants