chore: fix breaking tests and start addressing PR review comments
This commit is contained in:
@@ -31,7 +31,7 @@ pub static IN_TRANSFER_REQUIRED_PROTOCOLS: LazyLock<HashSet<&'static str>> = Laz
|
||||
set.insert("uniswap_v4");
|
||||
set.insert("ekubo_v2");
|
||||
set.insert("vm:maverick_v2");
|
||||
set.insert("vm:bebop");
|
||||
set.insert("rfq:bebop");
|
||||
set
|
||||
});
|
||||
|
||||
|
||||
@@ -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!(
|
||||
|
||||
@@ -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()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user