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

Add platform total credits API in the status #224

Merged
merged 16 commits into from
Sep 3, 2024
Merged

Conversation

owl352
Copy link
Collaborator

@owl352 owl352 commented Aug 11, 2024

Issue

Our project needed information on the total number of credits

Things done

To implement it I needed to take this branch and make some changes, because at the time of implementation of totalCreditsOnPlatform functionality in our project, dapi-client and dapi-grpc were not able to call totalCreditsOnPlatform and not throw an error.

@owl352 owl352 added the backend Related to backend (API) label Aug 11, 2024
@owl352 owl352 self-assigned this Aug 11, 2024
Copy link

vercel bot commented Aug 11, 2024

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

Name Status Preview Comments Updated (UTC)
platform-explorer-mainnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 3, 2024 4:35pm
platform-explorer-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 3, 2024 4:35pm
platform-explorer-zham ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 3, 2024 4:35pm

@owl352 owl352 linked an issue Aug 20, 2024 that may be closed by this pull request
owl352 added 2 commits August 30, 2024 17:14
# Conflicts:
#	packages/api/.env
#	packages/api/src/constants.js
#	packages/api/src/controllers/MainController.js
#	packages/api/src/dapi.js
#	packages/api/test/integration/main.spec.js
@owl352 owl352 requested a review from pshenmic August 30, 2024 14:30
@owl352 owl352 marked this pull request as ready for review August 30, 2024 14:30
@pshenmic pshenmic changed the title totalCreditsOnPlatform implementation Add platform total credits API in the status Sep 3, 2024
@pshenmic pshenmic merged commit 7d1dbf6 into master Sep 3, 2024
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend (API)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add platform credit pool
2 participants