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 gas estimation for orders created by settlement contract #67

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

sunce86
Copy link
Contributor

@sunce86 sunce86 commented Aug 31, 2024

Gas simulator fails for all orders created by settlement contract (fee withdrawal orders for example). The reason is that swapper and settlement contract end up being deployed at the same address.

This is a quick oncall fix to use some default heuristic value in this specific case.

@sunce86 sunce86 added the bug Something isn't working label Aug 31, 2024
@sunce86 sunce86 self-assigned this Aug 31, 2024
Copy link
Contributor

@fleupold fleupold left a comment

Choose a reason for hiding this comment

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

Very nice

@sunce86 sunce86 merged commit 8ed08e9 into main Sep 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants