diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f2ee902531..da5c7f2ea8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -272,7 +272,6 @@ jobs: push: true tags: 'gcr.io/hedera-registry/queue-service:${{ steps.package-version.outputs.current-version}}' - - name: topic-viewer-latest if: ${{ steps.latestTag.outputs.value == 'latest'}} uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0 diff --git a/indexer-service/package.json b/indexer-service/package.json index f35a6e85a8..12ca8c7816 100644 --- a/indexer-service/package.json +++ b/indexer-service/package.json @@ -12,6 +12,7 @@ "@nestjs/core": "^9.4.1", "@nestjs/microservices": "^9.4.1", "axios": "^1.7.2", + "bs58": "^4.0.1", "axios-retry": "^3.2.4", "cron": "^3.1.7", "cross-blob": "^2.0.1", diff --git a/indexer-service/src/analytics/compare/hash/utils.ts b/indexer-service/src/analytics/compare/hash/utils.ts index a64b6a05f2..9508706ca8 100644 --- a/indexer-service/src/analytics/compare/hash/utils.ts +++ b/indexer-service/src/analytics/compare/hash/utils.ts @@ -1,6 +1,6 @@ import MurmurHash3 from 'imurmurhash'; import * as crypto from 'crypto'; -import { Hashing } from '@guardian/common'; +import bs58 from 'bs58'; /** * Hash Utils @@ -72,9 +72,9 @@ export class Sha256 { .createHash('sha256') .update(data) .digest(); - return Hashing.base58.encode(sha256); + return bs58.encode(sha256); } catch (error) { return ''; } } -} \ No newline at end of file +}