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

[SDK] fix: remove IM integration from sdk and fix worker statistics on subgraph #1010

Merged
merged 6 commits into from
Oct 9, 2023

Conversation

leric7
Copy link
Collaborator

@leric7 leric7 commented Oct 6, 2023

Description

We need to remove IM API integration from SDK, because SDK should only use on-chain data for statistical purpose.
Worker statistics needs to be fixed, since the data is incorrect.

Summary of changes

  • Removed IM API integration and according test cases.
  • Added new entity on subgraph to track daily workers.
  • Updated handler to track daily active worker count.

How test the changes

Related issues

Keywords for linking issues

Closes #1008

Operational checklist

  • All new functionality is covered by tests
  • Any related documentation has been changed or added

@leric7 leric7 requested a review from portuu3 October 6, 2023 05:11
@leric7 leric7 self-assigned this Oct 6, 2023
@vercel
Copy link

vercel bot commented Oct 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
human-protocol-typescript-sdk-docs ❌ Failed (Inspect) Oct 6, 2023 10:36pm
10 Ignored Deployments
Name Status Preview Comments Updated (UTC)
escrow-dashboard ⬜️ Ignored (Inspect) Visit Preview Oct 6, 2023 10:36pm
faucet-server ⬜️ Ignored (Inspect) Visit Preview Oct 6, 2023 10:36pm
fortune-exchange-oracle ⬜️ Ignored (Inspect) Visit Preview Oct 6, 2023 10:36pm
fortune-exchange-oracle-server ⬜️ Ignored (Inspect) Visit Preview Oct 6, 2023 10:36pm
fortune-job-launcher-client ⬜️ Ignored (Inspect) Visit Preview Oct 6, 2023 10:36pm
fortune-job-launcher-server ⬜️ Ignored (Inspect) Visit Preview Oct 6, 2023 10:36pm
fortune-recording-oracle ⬜️ Ignored (Inspect) Visit Preview Oct 6, 2023 10:36pm
fortune-reputation-oracle ⬜️ Ignored (Inspect) Visit Preview Oct 6, 2023 10:36pm
job-launcher-client ⬜️ Ignored (Inspect) Visit Preview Oct 6, 2023 10:36pm
job-launcher-server ⬜️ Ignored (Inspect) Visit Preview Oct 6, 2023 10:36pm

@vercel vercel bot temporarily deployed to Preview – human-protocol-typescript-sdk-docs October 6, 2023 05:12 Inactive
@leric7 leric7 changed the title fix: remove IM integration from sdk and fix worker statistics on subgraph [SDK] fix: remove IM integration from sdk and fix worker statistics on subgraph Oct 6, 2023
@leric7 leric7 requested a review from portuu3 October 6, 2023 17:11
@vercel vercel bot temporarily deployed to Preview – human-protocol-typescript-sdk-docs October 6, 2023 17:15 Inactive
@vercel vercel bot temporarily deployed to Preview – human-protocol-typescript-sdk-docs October 6, 2023 17:44 Inactive
@vercel vercel bot temporarily deployed to Preview – human-protocol-typescript-sdk-docs October 6, 2023 22:36 Inactive
@leric7 leric7 merged commit c423414 into develop Oct 9, 2023
25 of 28 checks passed
@leric7 leric7 deleted the eric/fix-worker-statistics branch October 15, 2023 20:18
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.

3 participants