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

Revert #64 #66

Merged
merged 1 commit into from
Oct 4, 2024
Merged

Revert #64 #66

merged 1 commit into from
Oct 4, 2024

Conversation

fhenneke
Copy link
Contributor

@fhenneke fhenneke commented Oct 4, 2024

The change from #64 to add additional price feeds broke an assumtion of the slippage prices table.

The slippage_prices table has (tx_hash, token_address) as primary key. This is incompatible with having multiple prices per token and transaction.

The talbe layout should be changed.

…es_always"

This reverts commit 21f1e64, reversing
changes made to a8814b2.
@bram-vdberg
Copy link
Contributor

LGTM, do we need to rerun something to fix the data from the past 2 hours?

@fhenneke
Copy link
Contributor Author

fhenneke commented Oct 4, 2024

LGTM, do we need to rerun something to fix the data from the past 2 hours?

The code should work hopefully work fine after the revert. The failed writes to the database should in principle look just like the price feed we used before.

Since there was no data for a long time until this morning, there is also no need to clean up data for correctness.

@fhenneke fhenneke merged commit 0bc71de into main Oct 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants