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

feat(eigen-client-extra-features): Add option to download points #361

Merged
merged 7 commits into from
Nov 28, 2024

Conversation

gianbelinche
Copy link

What ❔

This PR adds an option to download points files instead of using a path

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zkstack dev fmt and zkstack dev lint.

@gianbelinche gianbelinche marked this pull request as ready for review November 26, 2024 20:06
@gianbelinche gianbelinche changed the title Add option to download points feat(eigen-client-extra-features): Add option to download points Nov 26, 2024
@juan518munoz
Copy link

There are some check and clippy warnings, be sure to check them before merging

Copy link

@juanbono juanbono left a comment

Choose a reason for hiding this comment

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

See comments

@gianbelinche
Copy link
Author

See comments

Done

let link = required(&link.link).context("link")?;
zksync_config::configs::da_client::eigen::PointsSource::Link(link.clone())
}
None => return Err(anyhow::anyhow!("Invalid Eigen DA configuration")),

Choose a reason for hiding this comment

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

why Anyhow instead of adding a proper error type?

Copy link
Author

Choose a reason for hiding this comment

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

That is how it is done for the other clients

@gianbelinche gianbelinche merged commit cef9a89 into eigen-client-extra-features Nov 28, 2024
4 of 7 checks passed
@gianbelinche gianbelinche deleted the eigen-client-download-files branch November 28, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants