Skip to content

Commit

Permalink
Merge pull request #215 from Uniswap/fix-fade-rate-view-name
Browse files Browse the repository at this point in the history
fix: change fade rate view name
  • Loading branch information
ConjunctiveNormalForm authored Oct 19, 2023
2 parents ffddba0 + 7c6a332 commit a2a0ee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/repositories/fades-repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class FadesRepository extends BaseRedshiftRepository {
}

const CREATE_VIEW_SQL = `
CREATE OR REPLACE VIEW rfqOrders
CREATE OR REPLACE VIEW rfqOrdersTimestamp
AS (
WITH latestOrders AS (
SELECT * FROM (
Expand Down Expand Up @@ -89,7 +89,7 @@ WITH ORDERS_CTE AS (
rfqFiller,
COUNT(*) AS totalQuotes,
SUM(CASE WHEN (decayStartTime < fillTimestamp) THEN 1 ELSE 0 END) AS fadedQuotes
FROM rfqOrders
FROM rfqOrdersTimestamp
GROUP BY rfqFiller
)
SELECT
Expand Down

0 comments on commit a2a0ee0

Please sign in to comment.