Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix query id for slippage accounting #323

Merged
merged 1 commit into from
Oct 11, 2023
Merged

Fix query id for slippage accounting #323

merged 1 commit into from
Oct 11, 2023

Conversation

fhenneke
Copy link
Collaborator

@fhenneke fhenneke commented Oct 10, 2023

The change to the period_slippage.sql query in #322 did not change the dune query called from the code. This resulted in wrong slippage computations from this repository. The Dune dashboards already showed the correct slippage.
In this PR, the code in queries.py is changed to point to a new Dune query created by cowprotocol. The code of that query is identical to period_slippage.sql.

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.
@fhenneke fhenneke requested a review from harisang October 10, 2023 15:11
@fhenneke
Copy link
Collaborator Author

Checked that local results are consistent with the already corrected Dune dashboard. So I will merge the change now.

@fhenneke fhenneke merged commit 21510af into main Oct 11, 2023
5 checks passed
@fhenneke fhenneke deleted the fix_query_ids branch October 11, 2023 14:40
@github-actions github-actions bot locked and limited conversation to collaborators Oct 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants