feat: Extend Swap to hold user_data: Option<Bytes>
Took 25 minutes
This commit is contained in:
@@ -178,6 +178,7 @@ mod tests {
|
||||
token_in: swap_token_in.clone(),
|
||||
token_out: dai(),
|
||||
split: 0f64,
|
||||
user_data: None,
|
||||
}];
|
||||
let swap = SwapGroup {
|
||||
protocol_system: protocol,
|
||||
@@ -243,6 +244,7 @@ mod tests {
|
||||
token_in: usdc(),
|
||||
token_out: dai(),
|
||||
split: 0f64,
|
||||
user_data: None,
|
||||
}],
|
||||
})
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user