Skip to content

Commit

Permalink
Merge pull request #836 from koinos/bump-version
Browse files Browse the repository at this point in the history
Bump chain version and cmake version
  • Loading branch information
mvandeberg authored Apr 9, 2024
2 parents c2d7502 + b2f7ae5 commit 336744c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ include(FetchContent)
FetchContent_Declare(
koinos_cmake
GIT_REPOSITORY https://github.com/koinos/koinos-cmake.git
GIT_TAG v1.0.1)
GIT_TAG v1.0.2)
FetchContent_MakeAvailable(koinos_cmake)

include("${koinos_cmake_SOURCE_DIR}/Koinos.cmake")

project(koinos_chain
VERSION 1.2.0
VERSION 1.3.0
DESCRIPTION "Koinos Chain microservice"
LANGUAGES CXX C)

Expand Down
12 changes: 12 additions & 0 deletions src/koinos_chain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,12 @@ void attach_request_handler( chain::controller& controller, mq::request_handler&

auto j = e.get_json();
j[ "code" ] = e.get_code();
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
error->set_data( j.dump() );
#pragma GCC diagnostic pop
#pragma clang diagnostic pop

chain::error_details details;
Expand All @@ -444,9 +447,12 @@ void attach_request_handler( chain::controller& controller, mq::request_handler&

nlohmann::json j;
j[ "code" ] = chain::internal_error;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
error->set_data( j.dump() );
#pragma GCC diagnostic pop
#pragma clang diagnostic pop

chain::error_details details;
Expand All @@ -462,9 +468,12 @@ void attach_request_handler( chain::controller& controller, mq::request_handler&

nlohmann::json j;
j[ "code" ] = chain::internal_error;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
error->set_data( j.dump() );
#pragma GCC diagnostic pop
#pragma clang diagnostic pop

chain::error_details details;
Expand All @@ -481,9 +490,12 @@ void attach_request_handler( chain::controller& controller, mq::request_handler&

nlohmann::json j;
j[ "code" ] = chain::internal_error;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
error->set_data( j.dump() );
#pragma GCC diagnostic pop
#pragma clang diagnostic pop

chain::error_details details;
Expand Down

0 comments on commit 336744c

Please sign in to comment.