Skip to content

Commit

Permalink
Merge branch 'main' into bumpGasFeeOnResubmit
Browse files Browse the repository at this point in the history
  • Loading branch information
3shv committed Mar 6, 2025
2 parents e93f51f + 6dd29f2 commit f4ebc81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions crates/autopilot/src/arguments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,13 +524,13 @@ impl FromStr for Solver {
}
Err(_) => {
requested_timeout_on_problems =
value.to_lowercase() == "requested_timeout_on_problems";
value.to_lowercase() == "requested-timeout-on-problems";
}
}
};

if let Some(value) = parts.get(4) {
requested_timeout_on_problems = value.to_lowercase() == "requested_timeout_on_problems";
requested_timeout_on_problems = value.to_lowercase() == "requested-timeout-on-problems";
}

Ok(Self {
Expand Down Expand Up @@ -780,7 +780,7 @@ mod test {
#[test]
fn parse_driver_with_accepts_unsettled_blocking_flag() {
let argument =
"name1|http://localhost:8080|0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2|requested_timeout_on_problems";
"name1|http://localhost:8080|0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2|requested-timeout-on-problems";
let driver = Solver::from_str(argument).unwrap();
let expected = Solver {
name: "name1".into(),
Expand All @@ -796,7 +796,7 @@ mod test {

#[test]
fn parse_driver_with_threshold_and_accepts_unsettled_blocking_flag() {
let argument = "name1|http://localhost:8080|0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2|1000000000000000000|requested_timeout_on_problems";
let argument = "name1|http://localhost:8080|0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2|1000000000000000000|requested-timeout-on-problems";
let driver = Solver::from_str(argument).unwrap();
let expected = Solver {
name: "name1".into(),
Expand Down
2 changes: 1 addition & 1 deletion crates/e2e/src/setup/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ impl<'a> Services<'a> {
[
vec![
format!(
"--drivers=test_solver|http://localhost:11088/test_solver|{}|requested_timeout_on_problems",
"--drivers=test_solver|http://localhost:11088/test_solver|{}|requested-timeout-on-problems",
hex::encode(solver.address())
),
"--price-estimation-drivers=test_quoter|http://localhost:11088/test_solver"
Expand Down

0 comments on commit f4ebc81

Please sign in to comment.