Skip to content

Commit 2b246dc

Browse files
committed
relocate fn for better diff
1 parent 664264b commit 2b246dc

File tree

1 file changed

+15
-15
lines changed
  • core/lib/config/src/configs/da_client

1 file changed

+15
-15
lines changed

core/lib/config/src/configs/da_client/mod.rs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -330,21 +330,6 @@ mod tests {
330330
assert_eq!(config.polynomial_form, PolynomialForm::Coeff);
331331
}
332332

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-
348333
#[test]
349334
fn eigen_config_from_yaml() {
350335
let yaml = r#"
@@ -383,6 +368,21 @@ mod tests {
383368
assert_eq!(config.polynomial_form, PolynomialForm::Coeff);
384369
}
385370

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+
386386
#[test]
387387
fn eigen_config_from_yaml_with_enum_coercion() {
388388
let yaml = r#"

0 commit comments

Comments
 (0)