From 8f3676312cabfa5f60934f711086f8f14edf9852 Mon Sep 17 00:00:00 2001 From: Dusan Stanivukovic Date: Mon, 9 Sep 2024 12:17:48 +0200 Subject: [PATCH] [EASY] Remove score from solvers API (#2962) # Description Fixes https://github.com/cowprotocol/services/issues/2588 External solvers will be reminded once more about this before going live. --- crates/driver/src/infra/solver/dto/solution.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/driver/src/infra/solver/dto/solution.rs b/crates/driver/src/infra/solver/dto/solution.rs index a561a00af5..63e01a7058 100644 --- a/crates/driver/src/infra/solver/dto/solution.rs +++ b/crates/driver/src/infra/solver/dto/solution.rs @@ -241,10 +241,6 @@ pub struct Solution { interactions: Vec, #[serde(default)] post_interactions: Vec, - // TODO: remove this once all solvers are updated to not return the score - // https://github.com/cowprotocol/services/issues/2588 - #[allow(dead_code)] - score: Option, gas: Option, }