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

Use new orders tables for fees for slippage #87

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Conversation

fhenneke
Copy link
Contributor

@fhenneke fhenneke commented Dec 6, 2024

This PR adds correct handling of fees on chains other than mainnet to slippage.

Before this change, all buffer changes were treated as slippage. With this change, network and protocol fees are correctly accounted for and excluded from slippage.

This should only be merged after merging #80 since query 4364122 is used.

@fhenneke fhenneke merged commit 0c744f5 into main Dec 13, 2024
2 checks passed
@fhenneke fhenneke deleted the fees_on_other_chains branch December 13, 2024 16:29
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