-
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-extra-features): address comments #395
feat(eigen-client-extra-features): address comments #395
Conversation
pub enum PointsSource { | ||
Path(String), | ||
/// g1_url, g2_url | ||
Link((String, 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.
Link is not a great name, maybe use Url
message Path { | ||
optional string path = 1; | ||
} | ||
|
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.
This seems unused
const DEFAULT_EIGENDA_SVC_MANAGER_ADDRESS: H160 = H160([ | ||
0xd4, 0xa7, 0xe1, 0xbd, 0x80, 0x15, 0x05, 0x72, 0x93, 0xf0, 0xd0, 0xa5, 0x57, 0x08, 0x8c, 0x28, | ||
0x69, 0x42, 0xe8, 0x4b, | ||
]); | ||
|
||
fn test_eigen_config() -> EigenConfig { | ||
EigenConfig { | ||
disperser_rpc: "https://disperser-holesky.eigenda.xyz:443".to_string(), | ||
settlement_layer_confirmation_depth: 0, | ||
eigenda_eth_rpc: Some(SensitiveUrl::from_str("https://ethereum-holesky-rpc.publicnode.com").unwrap()), // Safe to unwrap, never fails | ||
eigenda_svc_manager_address: DEFAULT_EIGENDA_SVC_MANAGER_ADDRESS, | ||
wait_for_finalization: false, | ||
authenticated: false, | ||
points_source: PointsSource::Link(( | ||
"https://github.com/Layr-Labs/eigenda-proxy/raw/2fd70b99ef5bf137d7bbca3461cf9e1f2c899451/resources/g1.point".to_string(), | ||
"https://github.com/Layr-Labs/eigenda-proxy/raw/2fd70b99ef5bf137d7bbca3461cf9e1f2c899451/resources/g2.point.powerOf2".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.
Why do you need this function twice? can't you make it public and share it
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 have moved the function into mod.rs
so it can be accessed from both files
34df5ff
into
eigen-client-extra-features
What ❔
Why ❔
Checklist
zkstack dev fmt
andzkstack dev lint
.