From e5daa41b66dc7b378e9e57528f729851821e363b Mon Sep 17 00:00:00 2001 From: Georgi Lazarov Date: Wed, 26 Jun 2024 16:06:51 +0300 Subject: [PATCH] chore: bump network configuration (#672) Signed-off-by: georgi-l95 --- .env | 9 +++++---- docker-compose.yml | 1 + package-lock.json | 25 +++++++++++++------------ package.json | 8 ++++---- src/configuration/local.json | 11 ++++++----- test/cypress/package.json | 2 +- 6 files changed, 30 insertions(+), 26 deletions(-) diff --git a/.env b/.env index 9bf8b42e..2f9ee100 100644 --- a/.env +++ b/.env @@ -4,8 +4,8 @@ NETWORK_NODE_IMAGE_PREFIX=gcr.io/hedera-registry/ NETWORK_NODE_IMAGE_NAME=main-network-node #### Image Tags/Hashes #### -NETWORK_NODE_IMAGE_TAG=0.51.0 -HAVEGED_IMAGE_TAG=0.51.0 +NETWORK_NODE_IMAGE_TAG=0.51.3 +HAVEGED_IMAGE_TAG=0.51.3 #### Java Process Settings #### PLATFORM_JAVA_HEAP_MIN=256m @@ -29,7 +29,7 @@ PYTHON_VERSION=python3.7 #### MirrorNode Prefixes & Tags #### MIRROR_IMAGE_PREFIX=gcr.io/mirrornode/ -MIRROR_IMAGE_TAG=0.107.0-rc1 +MIRROR_IMAGE_TAG=0.108.0-beta1 #### MirrorNode settings #### MIRROR_POSTGRES_IMAGE=postgres:14-alpine @@ -45,7 +45,7 @@ MINIO_ROOT_PASSWORD=minioadmin #### JSON RPC Relay Prefixes & Tags #### RELAY_IMAGE_PREFIX=ghcr.io/hashgraph/ -RELAY_IMAGE_TAG=0.49.0 +RELAY_IMAGE_TAG=0.50.1 #### JSON RPC Relay limits #### RELAY_MEM_LIMIT=768m @@ -78,6 +78,7 @@ RELAY_DEV_MODE=false RELAY_INPUT_SIZE_LIMIT=1 RELAY_RATE_LIMIT_DISABLED=true RELAY_MIRROR_NODE_GET_CONTRACT_RESULTS_RETRIES=20 +RELAY_DEBUG_API_ENABLED=true #### Record Stream Uploader #### STREAM_EXTENSION=rcd.gz diff --git a/docker-compose.yml b/docker-compose.yml index a0f59a80..0f40fc27 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -381,6 +381,7 @@ services: REDIS_ENABLED: "${RELAY_REDIS_ENABLED}" REDIS_URL: "${RELAY_REDIS_URL}" MIRROR_NODE_GET_CONTRACT_RESULTS_RETRIES: "${RELAY_MIRROR_NODE_GET_CONTRACT_RESULTS_RETRIES}" + DEBUG_API_ENABLED: "${RELAY_DEBUG_API_ENABLED}" ports: - "7546:7546" restart: unless-stopped diff --git a/package-lock.json b/package-lock.json index 265a613f..34679c55 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.26.2", "license": "Apache-2.0", "dependencies": { - "@hashgraph/sdk": "2.43.0", + "@hashgraph/sdk": "^2.47.0", "blessed": "^0.1.81", "blessed-terminal": "^0.1.22", "csv-parser": "^3.0.0", @@ -50,7 +50,7 @@ "nyc": "^17.0.0", "prettier": "^3.0.3", "sinon": "^14.0.0", - "typescript": "^5.4.3" + "typescript": "^5.5.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1038,9 +1038,10 @@ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" }, "node_modules/@hashgraph/proto": { - "version": "2.14.0-beta.5", - "resolved": "https://registry.npmjs.org/@hashgraph/proto/-/proto-2.14.0-beta.5.tgz", - "integrity": "sha512-UrIbLdctpD//Ua99Z4PnknbR8220nc1Pzv0nkDJ1emZE9EAi7YOOry2Dw660azQHWfVw/HhqECPdiKrTIZ2b+Q==", + "version": "2.15.0-beta.1", + "resolved": "https://registry.npmjs.org/@hashgraph/proto/-/proto-2.15.0-beta.1.tgz", + "integrity": "sha512-gNt+MBBnVyFpsAr+ac6meCVLazfdM4tVuNdJAnwXyCVFIiYfaGUz4WwAjBdQwzVgIbN7vaqgksynqj37pUwHtw==", + "deprecated": "release on wrong channel", "dependencies": { "long": "^4.0.0", "protobufjs": "^7.2.5" @@ -1050,9 +1051,9 @@ } }, "node_modules/@hashgraph/sdk": { - "version": "2.43.0", - "resolved": "https://registry.npmjs.org/@hashgraph/sdk/-/sdk-2.43.0.tgz", - "integrity": "sha512-3MOZDL8Tm+Ciu+e402R9mSPfAUaiv8GCY+G6prUDOJzkNubRGm7gNxpeMlmHDZepc+EOkuq+kOq3QvB+2IvgWQ==", + "version": "2.47.0", + "resolved": "https://registry.npmjs.org/@hashgraph/sdk/-/sdk-2.47.0.tgz", + "integrity": "sha512-a7YS+9MXuSft/rtASSFT0rk44bQ1glPeSYVCTg9VYmtjHR37b24xkS8bV821uV7+F6YgR7H5Z9Ru7czG02I8Tw==", "dependencies": { "@ethersproject/abi": "^5.7.0", "@ethersproject/bignumber": "^5.7.0", @@ -1060,7 +1061,7 @@ "@ethersproject/rlp": "^5.7.0", "@grpc/grpc-js": "1.8.2", "@hashgraph/cryptography": "1.4.8-beta.5", - "@hashgraph/proto": "2.14.0-beta.5", + "@hashgraph/proto": "2.15.0-beta.1", "axios": "^1.6.4", "bignumber.js": "^9.1.1", "bn.js": "^5.1.1", @@ -8190,9 +8191,9 @@ } }, "node_modules/typescript": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz", - "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==", + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz", + "integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 02f4fb13..fa6bc461 100644 --- a/package.json +++ b/package.json @@ -54,20 +54,20 @@ "nyc": "^17.0.0", "prettier": "^3.0.3", "sinon": "^14.0.0", - "typescript": "^5.4.3" + "typescript": "^5.5.2" }, "dependencies": { - "@hashgraph/sdk": "2.43.0", + "@hashgraph/sdk": "^2.47.0", "blessed": "^0.1.81", "blessed-terminal": "^0.1.22", "csv-parser": "^3.0.0", "detect-port": "^1.5.1", "dockerode": "^4.0.2", "dotenv": "^16.4.5", - "ethers": "^6.13.0", + "ethers": "^6.13.1", "js-yaml": "^4.1.0", "rimraf": "^5.0.5", - "semver": "^7.6.0", + "semver": "^7.6.2", "shelljs": "^0.8.5", "ts-mocha": "^9.0.0", "yargs": "^17.7.2" diff --git a/src/configuration/local.json b/src/configuration/local.json index e941577f..f4f86d8f 100644 --- a/src/configuration/local.json +++ b/src/configuration/local.json @@ -1,9 +1,9 @@ { "imageTagConfiguration": [ - {"key": "NETWORK_NODE_IMAGE_TAG", "value": "0.51.0"}, - {"key": "HAVEGED_IMAGE_TAG", "value": "0.51.0"}, - {"key": "MIRROR_IMAGE_TAG", "value": "0.107.0-rc1"}, - {"key": "RELAY_IMAGE_TAG", "value": "0.49.0"}, + {"key": "NETWORK_NODE_IMAGE_TAG", "value": "0.51.3"}, + {"key": "HAVEGED_IMAGE_TAG", "value": "0.51.3"}, + {"key": "MIRROR_IMAGE_TAG", "value": "0.108.0-beta1"}, + {"key": "RELAY_IMAGE_TAG", "value": "0.50.1"}, {"key": "MIRROR_NODE_EXPLORER_IMAGE_TAG", "value": "24.4.0"} ], "envConfiguration": [ @@ -24,7 +24,8 @@ {"key": "RELAY_WS_MAX_INACTIVITY_TTL", "value": 300000}, {"key": "RELAY_WS_MULTIPLE_ADDRESSES_ENABLED", "value": false}, {"key": "RELAY_WS_SUBSCRIPTION_LIMIT", "value": 100}, - {"key": "RELAY_MIRROR_NODE_GET_CONTRACT_RESULTS_RETRIES", "value": "20"} + {"key": "RELAY_MIRROR_NODE_GET_CONTRACT_RESULTS_RETRIES", "value": "20"}, + {"key": "RELAY_DEBUG_API_ENABLED", "value": true} ], "nodeConfiguration": { "properties": [ diff --git a/test/cypress/package.json b/test/cypress/package.json index 36673877..e6c13d4f 100644 --- a/test/cypress/package.json +++ b/test/cypress/package.json @@ -11,7 +11,7 @@ "author": "", "license": "ISC", "devDependencies": { - "@hashgraph/sdk": "2.47.0", + "@hashgraph/sdk": "^2.47.0", "cypress": "^13.12.0", "cypress-wait-until": "^3.0.1", "html-webpack-plugin": "^5.6.0",