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

Exclude one auction which has faulty score data #326

Closed
wants to merge 1 commit into from

Conversation

fhenneke
Copy link
Collaborator

This just excludes the auction with hash 0xd881e90f4afb020d92b8fa1b4931d2352aab4179e4f8d9a4aeafd01ebc75f808 from the slippage accounting.

This was done as a quick fix to work around wrong data on fees in our database.

I am mostly posting this here so we can keep track of which versions of the slippage query have been used for payments.

excludes hash `0xd881e90f4afb020d92b8fa1b4931d2352aab4179e4f8d9a4aeafd01ebc75f808`
@@ -17,6 +17,7 @@ batch_meta as (
where b.block_time between cast('{{StartTime}}' as timestamp) and cast('{{EndTime}}' as timestamp)
and (b.solver_address = from_hex('{{SolverAddress}}') or '{{SolverAddress}}' = '0x')
and (b.tx_hash = from_hex('{{TxHash}}') or '{{TxHash}}' = '0x')
and (b.tx_hash !=0xd881e90f4afb020d92b8fa1b4931d2352aab4179e4f8d9a4aeafd01ebc75f808)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ubernit:

Suggested change
and (b.tx_hash !=0xd881e90f4afb020d92b8fa1b4931d2352aab4179e4f8d9a4aeafd01ebc75f808)
and (b.tx_hash != 0xd881e90f4afb020d92b8fa1b4931d2352aab4179e4f8d9a4aeafd01ebc75f808)

@harisang harisang closed this Jun 18, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 18, 2024
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