chore: fix breaking tests and start addressing PR review comments

This commit is contained in:
pedrobergamini
2025-06-06 19:17:08 -03:00
parent 17e535494b
commit 5282e2bc83
8 changed files with 92 additions and 44 deletions

View File

@@ -81,7 +81,7 @@ impl SwapEncoderBuilder {
self.chain,
self.config,
)?)),
"vm:bebop" => {
"rfq:bebop" => {
Ok(Box::new(BebopSwapEncoder::new(self.executor_address, self.chain, self.config)?))
}
_ => Err(EncodingError::FatalError(format!(

View File

@@ -1679,7 +1679,7 @@ mod tests {
let bebop_component = ProtocolComponent {
id: String::from("bebop"),
protocol_system: String::from("vm:bebop"),
protocol_system: String::from("rfq:bebop"),
static_attributes,
..Default::default()
};
@@ -1760,7 +1760,7 @@ mod tests {
let bebop_component = ProtocolComponent {
id: String::from("bebop"),
protocol_system: String::from("vm:bebop"),
protocol_system: String::from("rfq:bebop"),
static_attributes,
..Default::default()
};
@@ -1844,7 +1844,7 @@ mod tests {
let bebop_component = ProtocolComponent {
id: String::from("bebop"),
protocol_system: String::from("vm:bebop"),
protocol_system: String::from("rfq:bebop"),
static_attributes,
..Default::default()
};