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 validUntil usage #487

Merged
merged 10 commits into from
Jun 15, 2022
Merged

fix validUntil usage #487

merged 10 commits into from
Jun 15, 2022

Conversation

alexcos20
Copy link
Member

@alexcos20 alexcos20 commented Jun 14, 2022

When a initializeCompute endpoint is called, we should always check if existing orders are valid until validUntil, and not the current timestamp

Main fix is one line in ocean_provider/utils/provider_fees.py
Rest is just test adjustments

@alexcos20 alexcos20 self-assigned this Jun 14, 2022
@calina-c calina-c self-requested a review June 15, 2022 14:49
@alexcos20 alexcos20 merged commit 408a903 into main Jun 15, 2022
@alexcos20 alexcos20 deleted the bug/fix_compute_validUntil branch June 15, 2022 14:57
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