diff --git a/test/e2e/commands/node_local_hedera.test.ts b/test/e2e/commands/node_local_hedera.test.ts index 556e70dcd..bf794d57b 100644 --- a/test/e2e/commands/node_local_hedera.test.ts +++ b/test/e2e/commands/node_local_hedera.test.ts @@ -28,6 +28,7 @@ import {Duration} from '../../../src/core/time/duration.js'; import {type NodeCommand} from '../../../src/commands/node/index.js'; import {type AccountCommand} from '../../../src/commands/account.js'; import {type AccountManager} from '../../../src/core/account_manager.js'; +import {LOCAL_HEDERA_PLATFORM_VERSION} from '../../../version.js'; const LOCAL_HEDERA = 'local-hedera-app'; const argv = getDefaultArgv(); @@ -43,6 +44,7 @@ let hederaK8: K8; console.log('Starting local build for Hedera app'); argv[flags.localBuildPath.name] = 'node1=../hedera-services/hedera-node/data/,../hedera-services/hedera-node/data'; argv[flags.namespace.name] = LOCAL_HEDERA; +argv[flags.releaseTag.name] = LOCAL_HEDERA_PLATFORM_VERSION; e2eTestSuite( LOCAL_HEDERA, diff --git a/test/e2e/commands/node_local_ptt.test.ts b/test/e2e/commands/node_local_ptt.test.ts index 341d572fa..fb4e7b93d 100644 --- a/test/e2e/commands/node_local_ptt.test.ts +++ b/test/e2e/commands/node_local_ptt.test.ts @@ -20,6 +20,7 @@ import {Flags as flags} from '../../../src/commands/flags.js'; import {e2eTestSuite, getDefaultArgv, TEST_CLUSTER} from '../../test_util.js'; import {Duration} from '../../../src/core/time/duration.js'; import {type K8} from '../../../src/core/k8.js'; +import {LOCAL_HEDERA_PLATFORM_VERSION} from '../../../version.js'; const LOCAL_PTT = 'local-ptt-app'; const argv = getDefaultArgv(); @@ -37,6 +38,7 @@ argv[flags.app.name] = 'PlatformTestingTool.jar'; argv[flags.appConfig.name] = '../hedera-services/platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/resources/FCMFCQ-Basic-2.5k-5m.json'; argv[flags.namespace.name] = LOCAL_PTT; +argv[flags.releaseTag.name] = LOCAL_HEDERA_PLATFORM_VERSION; e2eTestSuite(LOCAL_PTT, argv, undefined, undefined, undefined, undefined, undefined, undefined, true, bootstrapResp => { describe('Node for platform app should start successfully', () => { diff --git a/test/test_add.ts b/test/test_add.ts index 0cf7de96f..8ed2a8856 100644 --- a/test/test_add.ts +++ b/test/test_add.ts @@ -31,6 +31,7 @@ import * as NodeCommandConfigs from '../src/commands/node/configs.js'; import type {NodeAlias} from '../src/types/aliases.js'; import type {NetworkNodeServices} from '../src/core/network_node_services.js'; import {Duration} from '../src/core/time/duration.js'; +import {LOCAL_HEDERA_PLATFORM_VERSION} from '../version.js'; const defaultTimeout = Duration.ofMinutes(2).toMillis(); @@ -48,7 +49,8 @@ export function testNodeAdd( argv[flags.generateTlsKeys.name] = true; // set the env variable SOLO_CHARTS_DIR if developer wants to use local Solo charts argv[flags.chartDirectory.name] = process.env.SOLO_CHARTS_DIR ?? undefined; - argv[flags.releaseTag.name] = HEDERA_PLATFORM_VERSION_TAG; + argv[flags.releaseTag.name] = + !localBuildPath || localBuildPath === '' ? HEDERA_PLATFORM_VERSION_TAG : LOCAL_HEDERA_PLATFORM_VERSION; argv[flags.namespace.name] = namespace; argv[flags.force.name] = true; argv[flags.persistentVolumeClaims.name] = true; diff --git a/version.ts b/version.ts index 5f4057057..0b2b6bdfc 100644 --- a/version.ts +++ b/version.ts @@ -22,6 +22,7 @@ export const HELM_VERSION = 'v3.14.2'; export const SOLO_CHART_VERSION = '0.42.10'; export const HEDERA_PLATFORM_VERSION = 'v0.59.0-main.x5322bdc'; +export const LOCAL_HEDERA_PLATFORM_VERSION = 'v0.58.3'; export const MIRROR_NODE_VERSION = '0.120.1'; export const HEDERA_EXPLORER_VERSION = '0.2.1'; export const HEDERA_JSON_RPC_RELAY_VERSION = 'v0.63.2';