-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up autopilot balance fetching (#2946)
# Description Speed up autopilot balance fetching the same way it was done in the `driver` crate(#2045) in order to improve runloop performance. # Changes > Reimplement parts of the balance query of [balances.sol](https://github.com/cowprotocol/services/blob/main/crates/contracts/solidity/Balances.sol?rgh-link-date=2023-11-07T00%3A14%3A31Z#L59-L76) using simple eth_calls and use that for any order group that does not contain any pre-interactions. ## How to test Existing e2e tests. ## Further steps Driver and autopilot share the same logic inside. It probably makes sense to keep everything in the shared crate only.
- Loading branch information
1 parent
12c4102
commit 724319d
Showing
1 changed file
with
63 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters