-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(eigen-client-pr-comments): Eigen client pr comments #365
Conversation
core/lib/env_config/src/da_client.rs
Outdated
), | ||
_ => anyhow::bail!("Unknown Eigen points type"), | ||
}, | ||
g1_link: env::var("DA_G1_LINK")?.parse()?, |
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.
change it to EIGENDA_G1_URL and the same for the g2 point
core/lib/env_config/src/da_client.rs
Outdated
DA_VERIFY_CERT=false | ||
DA_POINTS_SOURCE="Path" | ||
DA_POINTS_PATH="resources" | ||
DA_G1_LINK="resources1" |
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.
same here
core/lib/env_config/src/da_client.rs
Outdated
wait_for_finalization: true, | ||
authenticated: false, | ||
verify_cert: false, | ||
points_source: PointsSource::Path("resources".to_string()), | ||
g1_link: "resources1".to_string(), |
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.
change this to g1_url
} | ||
|
||
#[async_trait] | ||
impl DataAvailabilityClient for EigenClient { | ||
impl<T: GetBlobData + 'static> DataAvailabilityClient for EigenClient<T> { |
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.
why 'static?
use crate::utils::to_retriable_da_error; | ||
|
||
#[async_trait] | ||
pub trait GetBlobData: Clone + std::fmt::Debug + Send + Sync { |
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.
why these bounds? why Debug ?
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.
see comments
Co-authored-by: juan518munoz <[email protected]>
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.
Aproved after latest changes
4bb08b9
into
eigen-client-extra-features
What ❔
This PR fixes comments made on extra client PR
Why ❔
Checklist
zkstack dev fmt
andzkstack dev lint
.