feat: Create non alloy specific Permit and PermitDetails structs
- Add try_from methods to convert them to the corresponding Solidity representations - Update tests Took 56 seconds
This commit is contained in:
@@ -125,7 +125,7 @@ impl TychoRouterEncoder {
|
||||
&solution.given_amount,
|
||||
)?;
|
||||
encoded_solution.permit = Some(permit);
|
||||
encoded_solution.signature = Some(signature);
|
||||
encoded_solution.signature = Some(signature.as_bytes().to_vec());
|
||||
}
|
||||
Ok(encoded_solution)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user