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

Quote test ignores some errors now #52

Merged
merged 2 commits into from
Jun 6, 2023
Merged

Conversation

fhenneke
Copy link
Contributor

@fhenneke fhenneke commented Jun 6, 2023

The hash 0xda857a0db563dae564b09febb683fff6150628c1706afc9ebd961c194ca29c5e
contains a partially-fillable order with an executed amount which is too small
to pay for fees. This resulted in the hash being rechecked over and over.
This error is now handled by logging an error and letting the test succeed.

This catches the errors 'NoLiquidity' and 'SellAmountDoesNotCoverFees'.

@fhenneke fhenneke requested a review from harisang June 6, 2023 11:52
The hash 0xda857a0db563dae564b09febb683fff6150628c1706afc9ebd961c194ca29c5e
contains a partially-fillable order with an executed amount which is too small
to pay for fees. This resulted in the hash being rechecked over and over.
This error is now handled by logging an error and letting the test succeed.
@harisang
Copy link
Contributor

harisang commented Jun 6, 2023

This PR seems to include part of the PR that restructures the code. I would suggest that we either do a fix for this error in the old code or wait to merge PR #50

@fhenneke fhenneke force-pushed the fix_quote_amount_error branch from 03f8d1a to f237e14 Compare June 6, 2023 11:56
@fhenneke
Copy link
Contributor Author

fhenneke commented Jun 6, 2023

I cherry picked it on top of main now.

too many locals and too many branches are already fixed on the
restructuring branch
@fhenneke fhenneke merged commit b87631a into main Jun 6, 2023
@fhenneke fhenneke deleted the fix_quote_amount_error branch June 6, 2023 14:02
@github-actions github-actions bot locked and limited conversation to collaborators Jun 6, 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.

2 participants