Skip to content

Commit

Permalink
Remove protocol fee calculations in sql query (#401)
Browse files Browse the repository at this point in the history
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
harisang and fhenneke authored Sep 30, 2024
1 parent 913d5ad commit 47a6a3e
Show file tree
Hide file tree
Showing 4 changed files with 225 additions and 666 deletions.
Loading

0 comments on commit 47a6a3e

Please sign in to comment.