Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove protocol fee calculations in sql query (#401)
This PR proposes a significant simplification to the main batch rewards sql query. Up till now, the query was explicitly computing protocol fees in arguably a very ugly way, while this PR proposes that we start using the backend-computed values of protocol fees that are now stored explicitly in the `order_execution` table. --------- Co-authored-by: Felix Henneke <[email protected]>
- Loading branch information