File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
core/lib/config/src/configs/da_client Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -330,21 +330,6 @@ mod tests {
330
330
assert_eq ! ( config. polynomial_form, PolynomialForm :: Coeff ) ;
331
331
}
332
332
333
- fn assert_eigen_config ( config : & DAClientConfig ) {
334
- let DAClientConfig :: Eigen ( config) = config else {
335
- panic ! ( "unexpected config: {config:?}" ) ;
336
- } ;
337
- assert_eq ! (
338
- config. disperser_rpc,
339
- "https://disperser-holesky.eigenda.xyz:443"
340
- ) ;
341
- assert_eq ! (
342
- config. eigenda_eth_rpc. as_ref( ) . unwrap( ) . expose_str( ) ,
343
- "https://holesky.infura.io/"
344
- ) ;
345
- assert ! ( config. authenticated) ;
346
- }
347
-
348
333
#[ test]
349
334
fn eigen_config_from_yaml ( ) {
350
335
let yaml = r#"
@@ -383,6 +368,21 @@ mod tests {
383
368
assert_eq ! ( config. polynomial_form, PolynomialForm :: Coeff ) ;
384
369
}
385
370
371
+ fn assert_eigen_config ( config : & DAClientConfig ) {
372
+ let DAClientConfig :: Eigen ( config) = config else {
373
+ panic ! ( "unexpected config: {config:?}" ) ;
374
+ } ;
375
+ assert_eq ! (
376
+ config. disperser_rpc,
377
+ "https://disperser-holesky.eigenda.xyz:443"
378
+ ) ;
379
+ assert_eq ! (
380
+ config. eigenda_eth_rpc. as_ref( ) . unwrap( ) . expose_str( ) ,
381
+ "https://holesky.infura.io/"
382
+ ) ;
383
+ assert ! ( config. authenticated) ;
384
+ }
385
+
386
386
#[ test]
387
387
fn eigen_config_from_yaml_with_enum_coercion ( ) {
388
388
let yaml = r#"
You can’t perform that action at this time.
0 commit comments