Skip to content

Commit

Permalink
Print trusted tokens arguments (#2021)
Browse files Browse the repository at this point in the history
# Description
Prints missing arguments for trusted tokens.

Need this to make sure arguments are set properly:
cowprotocol/infrastructure#817
  • Loading branch information
sunce86 authored Oct 26, 2023
1 parent 33acf41 commit 6091e04
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/autopilot/src/arguments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,13 @@ impl std::fmt::Display for Arguments {
"fee_objective_scaling_factor: {}",
self.fee_objective_scaling_factor
)?;
display_option(f, "trusted_tokens_url", &self.trusted_tokens_url)?;
writeln!(f, "trusted_tokens: {:?}", self.trusted_tokens)?;
writeln!(
f,
"trusted_tokens_update_interval: {:?}",
self.trusted_tokens_update_interval
)?;
writeln!(f, "enable_colocation: {:?}", self.enable_colocation,)?;
display_list(f, "drivers", self.drivers.iter())?;
writeln!(f, "submission_deadline: {}", self.submission_deadline)?;
Expand Down

0 comments on commit 6091e04

Please sign in to comment.