Skip to content

Commit

Permalink
Fix the lint errors
Browse files Browse the repository at this point in the history
Not sure how we missed these.
  • Loading branch information
tbro committed Oct 11, 2024
1 parent f0ec645 commit f2d0647
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl TestConfig {
.unwrap();

// Varies between v0 and v3.
let load_generator_url = if sequencer_version >= 03 {
let load_generator_url = if sequencer_version >= 3 {
url_from_port(dotenvy::var(
"ESPRESSO_SUBMIT_TRANSACTIONS_PRIVATE_RESERVE_PORT",
)?)?
Expand All @@ -91,7 +91,7 @@ impl TestConfig {
};

// TODO test both builders (probably requires some refactoring).
let builder_url = if sequencer_version >= 03 {
let builder_url = if sequencer_version >= 3 {
let url = url_from_port(dotenvy::var("ESPRESSO_RESERVE_BUILDER_SERVER_PORT")?)?;

Url::from_str(&url)?
Expand All @@ -108,7 +108,7 @@ impl TestConfig {

let l1_provider_url = url_from_port(dotenvy::var("ESPRESSO_SEQUENCER_L1_PORT")?)?;
let sequencer_api_url = url_from_port(dotenvy::var("ESPRESSO_SEQUENCER1_API_PORT")?)?;
let sequencer_clients = vec![
let sequencer_clients = [
dotenvy::var("ESPRESSO_SEQUENCER_API_PORT")?,
dotenvy::var("ESPRESSO_SEQUENCER1_API_PORT")?,
dotenvy::var("ESPRESSO_SEQUENCER2_API_PORT")?,
Expand Down

0 comments on commit f2d0647

Please sign in to comment.