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(prover-stats-api): add prover stats API #635

Merged
merged 77 commits into from
Jul 20, 2023
Merged

feat(prover-stats-api): add prover stats API #635

merged 77 commits into from
Jul 20, 2023

Conversation

Lawliet-Chan
Copy link
Contributor

@Lawliet-Chan Lawliet-Chan commented Jul 11, 2023

Purpose or design rationale of this PR

Add prover stats API for partners. they can check the prover tasks through these APIs.
APIs:

  • GetTasksByProver
  • GetTotalRewards
  • GetTask

PR title

Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

  • build: Changes that affect the build system or external dependencies (example scopes: yarn, eslint, typescript)
  • ci: Changes to our CI configuration files and scripts (example scopes: vercel, github, cypress)
  • docs: Documentation-only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that doesn't fix a bug, or add a feature, or improves performance
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test: Adding missing tests or correcting existing tests

Deployment tag versioning

Has tag in common/version.go been updated?

  • No, this PR doesn't involve a new deployment, git tag, docker image tag
  • Yes

Breaking change label

Does this PR have the breaking-change label?

  • No, this PR is not a breaking change
  • Yes

@Thegaram
Copy link
Contributor

Can you please list the available APIs in the PR description?

@Lawliet-Chan Lawliet-Chan marked this pull request as draft July 11, 2023 17:03
@Lawliet-Chan Lawliet-Chan marked this pull request as ready for review July 12, 2023 02:41
@Lawliet-Chan Lawliet-Chan marked this pull request as draft July 12, 2023 03:45
georgehao
georgehao previously approved these changes Jul 20, 2023
@0xmountaintop 0xmountaintop merged commit e3b451c into develop Jul 20, 2023
@0xmountaintop 0xmountaintop deleted the miners branch July 20, 2023 07:33
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.

5 participants