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-pr-comments): Eigen client pr comments #365

Merged
merged 17 commits into from
Dec 6, 2024

Conversation

gianbelinche
Copy link

What ❔

This PR fixes comments made on extra client PR

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.

),
_ => anyhow::bail!("Unknown Eigen points type"),
},
g1_link: env::var("DA_G1_LINK")?.parse()?,
Copy link

Choose a reason for hiding this comment

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

change it to EIGENDA_G1_URL and the same for the g2 point

DA_VERIFY_CERT=false
DA_POINTS_SOURCE="Path"
DA_POINTS_PATH="resources"
DA_G1_LINK="resources1"
Copy link

Choose a reason for hiding this comment

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

same here

wait_for_finalization: true,
authenticated: false,
verify_cert: false,
points_source: PointsSource::Path("resources".to_string()),
g1_link: "resources1".to_string(),
Copy link

Choose a reason for hiding this comment

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

change this to g1_url

}

#[async_trait]
impl DataAvailabilityClient for EigenClient {
impl<T: GetBlobData + 'static> DataAvailabilityClient for EigenClient<T> {
Copy link

Choose a reason for hiding this comment

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

why 'static?

use crate::utils::to_retriable_da_error;

#[async_trait]
pub trait GetBlobData: Clone + std::fmt::Debug + Send + Sync {
Copy link

Choose a reason for hiding this comment

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

why these bounds? why Debug ?

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

Copy link

@juan518munoz juan518munoz left a comment

Choose a reason for hiding this comment

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

Aproved after latest changes

@gianbelinche gianbelinche merged commit 4bb08b9 into eigen-client-extra-features Dec 6, 2024
10 of 23 checks passed
@gianbelinche gianbelinche deleted the eigen-client-pr-comments branch December 6, 2024 18:03
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