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(api): utilize akash-api @grpc/grpc-js for getting provider status (#184) #176

Merged
merged 4 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,994 changes: 2,663 additions & 3,331 deletions indexer/package-lock.json

Large diffs are not rendered by default.

31 changes: 17 additions & 14 deletions indexer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,24 @@
"name": "cloudmos-indexer",
"version": "1.8.1",
"description": "Indexer for any Cosmos based blockchain",
"author": "Cloudmos",
"license": "Apache-2.0",
"main": "server.js",
"scripts": {
"start": "webpack --mode development --config webpack.dev.js --watch",
"build": "webpack --config webpack.prod.js",
"test": "jest"
"homepage": "https://github.com/akash-network/cloudmos",
"bugs": {
"url": "https://github.com/akash-network/cloudmos/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/akash-network/cloudmos.git"
},
"bugs": {
"url": "https://github.com/akash-network/cloudmos/issues"
"license": "Apache-2.0",
"author": "Cloudmos",
"main": "server.js",
"scripts": {
"build": "webpack --config webpack.prod.js",
"start": "webpack --mode development --config webpack.dev.js --watch",
"test": "jest"
},
"homepage": "https://github.com/akash-network/cloudmos",
"dependencies": {
"@akashnetwork/akash-api": "^1.0.3",
"@akashnetwork/akashjs": "^0.6.1",
"@connectrpc/connect": "^1.3.0",
"@connectrpc/connect-node": "^1.3.0",
"@akashnetwork/akash-api": "^1.3.0",
"@cosmjs/crypto": "^0.31.1",
"@cosmjs/encoding": "^0.31.1",
"@cosmjs/math": "^0.31.1",
Expand All @@ -40,6 +37,7 @@
"human-interval": "^2.0.1",
"js-sha256": "^0.9.0",
"level": "^8.0.0",
"lodash": "^4.17.21",
"node-fetch": "^2.6.1",
"node-gzip": "^1.1.2",
"pg": "^8.7.3",
Expand All @@ -53,16 +51,21 @@
"devDependencies": {
"@types/async": "^3.2.15",
"@types/express": "^4.17.13",
"@types/lodash": "^4.17.1",
"@types/node": "^16.11.68",
"@types/node-fetch": "^2.6.2",
"@types/node-gzip": "^1.1.0",
"@types/pg": "^8.6.5",
"@types/semver": "^7.5.6",
"@types/uuid": "^8.3.1",
"@types/validator": "^13.7.8",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"alias-hq": "^5.1.6",
"eslint": "^8.57.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"nodemon": "^2.0.7",
"nodemon-webpack-plugin": "^4.5.2",
"prettier": "^3.2.5",
"supertest": "^6.1.5",
"ts-jest": "^27.0.4",
"ts-loader": "^9.5.1",
Expand Down
8 changes: 4 additions & 4 deletions indexer/src/indexers/akashStatsIndexer.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as benchmark from "../shared/utils/benchmark";
import * as v1beta1 from "../proto/akash/v1beta1";
import * as v1beta2 from "../proto/akash/v1beta2";
import * as v1beta3 from "../proto/akash/v1beta3";
import * as v1beta4 from "../proto/akash/v1beta4";
import * as v1beta1 from "@akashnetwork/akash-api/v1beta1";
import * as v1beta2 from "@akashnetwork/akash-api/v1beta2";
import * as v1beta3 from "@akashnetwork/akash-api/v1beta3";
import * as v1beta4 from "@akashnetwork/akash-api/v1beta4";
import * as uuid from "uuid";
import { uint8arrayToString } from "@src/shared/utils/protobuf";
import { accountSettle } from "@src/shared/utils/akashPaymentSettle";
Expand Down
9 changes: 0 additions & 9 deletions indexer/src/proto/akash/v1beta1.ts

This file was deleted.

14 changes: 0 additions & 14 deletions indexer/src/proto/akash/v1beta2.ts

This file was deleted.

9 changes: 0 additions & 9 deletions indexer/src/proto/akash/v1beta3.ts

This file was deleted.

2 changes: 0 additions & 2 deletions indexer/src/proto/akash/v1beta4.ts

This file was deleted.

154 changes: 0 additions & 154 deletions indexer/src/proto/gen/akash/base/v1beta3/attribute_pb.ts

This file was deleted.

55 changes: 0 additions & 55 deletions indexer/src/proto/gen/akash/inventory/v1/cluster_pb.ts

This file was deleted.

Loading
Loading