-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Driver sends quote response with JIT orders #3103
Conversation
…-orders-support # Conflicts: # crates/shared/src/trade_finding/external.rs
# Conflicts: # crates/shared/src/trade_finding/external.rs
# Conflicts: # crates/shared/src/trade_finding/external.rs
This pull request has been marked as stale because it has been inactive a while. Please update this pull request or it will be automatically closed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks alright to me. I would just like to understand the e2e test better before approving.
Reminder: Please consider backward compatibility when modifying the API specification.
Caused by: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Good job! 👏
# Description Closes task n2 from #3082 by implementing support of the quotes with JIT orders in the trade verifier. For a gradual migration, it has to support both quote versions. # Changes - [ ] Added a new version of the trade with JIT orders. - [ ] Utilized the clearing prices to calculate the out amount. - [ ] Altered the `Solver.sol` helper contract to fetch all token balances as was proposed in [one of the comments](#3085 (comment)), which reduces the overall code complexity. - [ ] Bumped into an issue while converting floats into `BigRational`. ~~Implemented a workaround with converting float's string representation into `BigRational`.~~ Used `BigDecimal` in the config instead. ## How to test Unit tests. e2e would be possible only once the driver support is implemented(see #3103).
# Conflicts: # crates/e2e/tests/e2e/quote_verification.rs # crates/shared/src/trade_finding/mod.rs
Description
Closes task n3 from #3082 by start sending the new
/quote
response with the updated fields that include clearing prices instead of the executed amount, jit orders and pre-interactions.Changes
/quote
response which is now supported by the trade verifier.How to test
New driver's and services' e2e tests.