-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: main
Are you sure you want to change the base?
Conversation
lgn-worker/src/config/mod.rs
Outdated
@@ -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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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" } |
There was a problem hiding this comment.
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 :)
It could work on bromberg, but need to test more on |
Related with this discussion
Related with PRs:
Lagrange-Labs/mapreduce-plonky2#434
https://github.com/Lagrange-Labs/distributed-query/pull/1025
TODO