From 342814a6a039a8b235387299c5c4eb4de0789ad0 Mon Sep 17 00:00:00 2001 From: Daniel Somoza Date: Wed, 11 Dec 2024 16:02:56 +0100 Subject: [PATCH] added log to identify error in the pipeline --- .../src/utils/on-chain-tracking/generateOnChainIdentifier.ts | 2 ++ packages/protocol-kit/tests/e2e/onChainIdentifier.test.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/protocol-kit/src/utils/on-chain-tracking/generateOnChainIdentifier.ts b/packages/protocol-kit/src/utils/on-chain-tracking/generateOnChainIdentifier.ts index aee82d29f..433f6a865 100644 --- a/packages/protocol-kit/src/utils/on-chain-tracking/generateOnChainIdentifier.ts +++ b/packages/protocol-kit/src/utils/on-chain-tracking/generateOnChainIdentifier.ts @@ -44,6 +44,8 @@ function generateOnChainIdentifier({ tool, toolVersion }: OnChainIdentifierParamsType): string { + console.log('@@@ toolVersion: ', toolVersion) + const identifierPrefix = '5afe' const identifierVersion = '00' // first version const projectHash = generateHash(project, 20) // Take the last 20 bytes diff --git a/packages/protocol-kit/tests/e2e/onChainIdentifier.test.ts b/packages/protocol-kit/tests/e2e/onChainIdentifier.test.ts index 73043544a..269b034df 100644 --- a/packages/protocol-kit/tests/e2e/onChainIdentifier.test.ts +++ b/packages/protocol-kit/tests/e2e/onChainIdentifier.test.ts @@ -38,7 +38,7 @@ describe('On-chain analytics', () => { }) }) - describe('getOnchainIdentifier method', () => { + describe.only('getOnchainIdentifier method', () => { it('should return the on-chain identifier when provided', async () => { const onchainAnalytics: OnchainAnalyticsProps = { project: 'Test e2e Project',