Skip to content

Commit

Permalink
chore: Upgrade proto version to latest (#61)
Browse files Browse the repository at this point in the history
Signed-off-by: gsstoykov <[email protected]>
  • Loading branch information
gsstoykov authored Jul 10, 2024
1 parent e4b864d commit f7dd7ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.21...3.24)
project(hedera-protobufs-cpp VERSION 0.50.0 DESCRIPTION "Hedera C++ Protobuf Library" LANGUAGES CXX)
project(hedera-protobufs-cpp VERSION 0.52.0 DESCRIPTION "Hedera C++ Protobuf Library" LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand All @@ -19,10 +19,10 @@ find_package(re2 CONFIG REQUIRED)
find_package(c-ares CONFIG REQUIRED)
find_package(absl CONFIG REQUIRED)

set(HAPI_VERSION_TAG "v0.50.0" CACHE STRING "Use the configured version tag for the Hedera API protobufs")
set(HAPI_VERSION_TAG "v0.52.0" CACHE STRING "Use the configured version tag for the Hedera API protobufs")

if (HAPI_VERSION_TAG STREQUAL "")
set(HAPI_VERSION_TAG "v0.50.0")
set(HAPI_VERSION_TAG "v0.52.0")
endif ()

# Fetch the protobuf definitions
Expand Down
4 changes: 4 additions & 0 deletions src/proto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ set(PROTO_FILES
network_get_execution_time.proto
network_get_version_info.proto
network_service.proto
node_create.proto
node_delete.proto
node_stake_update.proto
node_update.proto
query.proto
query_header.proto
response.proto
Expand Down Expand Up @@ -82,6 +85,7 @@ set(PROTO_FILES
token_grant_kyc.proto
token_mint.proto
token_pause.proto
token_reject.proto
token_revoke_kyc.proto
token_service.proto
token_unfreeze_account.proto
Expand Down

0 comments on commit f7dd7ab

Please sign in to comment.