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

feat: complete v3 Aggregation APIs #424

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

keroro520
Copy link
Contributor

This PR introduces several v3 Aggregation APIs, including Aggregation Cancel, Aggregation Report, Aggregation Prune API 👏

Note that, most of the works were done at #387 by @petarvujovic98 . This PR cherry-picks the changes from #387 and make some updates according to the latest codebase and discussion.

Here I list some differences. All of theses changes were commentted and discussed at #387 :

  1. Remove checking of empty proof of Aggregation Cancel request.

    For this case, querying task status will return None, and we will response with NotFound error directly.

  2. Remove metrics recording to maintain consistency with v1 and v2

  3. Check task status before signal cancel to prover

  4. No SQLite Task Manager implementations, as it was removed by feat(taskdb): remove sqlite task manager #423

petarvujovic98 and others added 3 commits November 29, 2024 10:48
Write in-memory implementation
Stub out sqlite implementation
All of theses changes were commentted and discussed at taikoxyz#387

1. Remove checking of empty proof of Aggregation Cancel request.

  For this case, querying task status will return None, and we will
response with NotFound error directly. See also taikoxyz#387 (comment)

2. Remove metrics recording to maintain consistency with v1 and v2

  See also taikoxyz#387 (comment)

3. Check task status before signal cancel to prover
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