Skip to content

Commit

Permalink
Remove not used arguments (#1922)
Browse files Browse the repository at this point in the history
Remove raven/yearn not used anymore arguments.
  • Loading branch information
sunce86 authored Oct 5, 2023
1 parent 6ef1961 commit f9f5efd
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions crates/shared/src/price_estimation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,22 +266,6 @@ pub struct Arguments {
#[clap(long, env)]
pub quasimodo_solver_url: Option<Url>,

/// The API endpoint to call the yearn solver for price estimation
#[clap(long, env)]
pub yearn_solver_url: Option<Url>,

/// The API path to use for solving.
#[clap(long, env, default_value = "solve")]
pub yearn_solver_path: String,

/// The API endpoint to call the Raven solver for price estimation
#[clap(long, env)]
pub raven_solver_url: Option<Url>,

/// The API path to use for solving.
#[clap(long, env, default_value = "solve")]
pub raven_solver_path: String,

/// The API endpoint for the Balancer SOR API for solving.
#[clap(long, env)]
pub balancer_sor_url: Option<Url>,
Expand Down Expand Up @@ -358,10 +342,6 @@ impl Display for Arguments {
&self.amount_to_estimate_prices_with,
)?;
display_option(f, "quasimodo_solver_url", &self.quasimodo_solver_url)?;
display_option(f, "yearn_solver_url", &self.yearn_solver_url)?;
writeln!(f, "yearn_solver_path: {}", self.yearn_solver_path)?;
display_option(f, "raven_solver_url", &self.raven_solver_url)?;
writeln!(f, "raven_solver_path: {}", self.raven_solver_path)?;
display_option(f, "balancer_sor_url", &self.balancer_sor_url)?;
display_option(
f,
Expand Down

0 comments on commit f9f5efd

Please sign in to comment.