From 4a076da2c51b89883382b1966da46170dcef5b6b Mon Sep 17 00:00:00 2001 From: Felix Henneke Date: Tue, 10 Oct 2023 17:07:44 +0200 Subject: [PATCH] fix query id for slippage accounting The change to the query in #322 did noch change the dune query called from the code. Together with this change, a dune query was created using the cowprotocol account. The code was changed to point to that query. --- queries/dune_v2/period_slippage.sql | 2 +- src/queries.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/queries/dune_v2/period_slippage.sql b/queries/dune_v2/period_slippage.sql index 94446cbb..48cb2fe3 100644 --- a/queries/dune_v2/period_slippage.sql +++ b/queries/dune_v2/period_slippage.sql @@ -1,5 +1,5 @@ -- https://github.com/cowprotocol/solver-rewards/pull/322 --- Query Here: https://dune.com/queries/2421375 +-- Query Here: https://dune.com/queries/3093726 with batch_meta as ( select b.block_time, diff --git a/src/queries.py b/src/queries.py index 9c09bf45..1f6c4613 100644 --- a/src/queries.py +++ b/src/queries.py @@ -43,7 +43,7 @@ def with_params(self, params: list[QueryParameter]) -> Query: "PERIOD_SLIPPAGE": QueryData( name="Solver Slippage for Period", filepath="period_slippage.sql", - q_id=2421375, + q_id=3093726, ), "DASHBOARD_SLIPPAGE": QueryData( name="Period Solver Rewards",