From ba7f75c5bc8076b8a8221e94556e7675387f1ff6 Mon Sep 17 00:00:00 2001 From: BrianWu Date: Tue, 16 Apr 2024 12:44:45 +0800 Subject: [PATCH] Bump version from 1.1.1 to 1.1.2 changeset#2, update the version number in the source code and md docs. --- README.md | 4 ++-- docs/API.md | 4 ++-- src/app/include/Resource.h | 2 +- src/enclave/include/Parameter.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 65b942dc..5088af80 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Please refer to [Crust sWorker docker mode](docs/Docker.md) In /opt/crust/crust-sworker/etc/Config.json file you can configure your sworker application. ``` { - "base_path" : "/opt/crust/crust-sworker/1.1.1/sworker_base_path", # sWorker key information location, must be absolute path + "base_path" : "/opt/crust/crust-sworker/1.1.2/sworker_base_path", # sWorker key information location, must be absolute path "base_url" : "http://127.0.0.1:12222/api/v0", # your sWorker node api address "data_path" : ["/data1"], # If this item is not set, srd and sealing function cannot be applied @@ -71,7 +71,7 @@ In /opt/crust/crust-sworker/etc/Config.json file you can configure your sworker ### Run ``` -/opt/crust/crust-sworker/1.1.1/bin/crust-sworker -c /opt/crust/crust-sworker/1.1.1/etc/Config.json +/opt/crust/crust-sworker/1.1.2/bin/crust-sworker -c /opt/crust/crust-sworker/1.1.2/etc/Config.json ``` ### Crust sWorker executable file diff --git a/docs/API.md b/docs/API.md index 84501ee5..744c133a 100644 --- a/docs/API.md +++ b/docs/API.md @@ -77,8 +77,8 @@ Output: "account" : "5EsgXyVJGnoGQ931Vcbzhcsi64unFhCoc5GhZUJnD8qvzu9j", "mrenclave" : "cb8a24a6a971d738c6976269358e24bf2af578462fb92ead2d384b619fff6d4a", "pub_key" : "95178acfcb9f1406de8b14a5f81fa141a2934fcfc6fefa58077ff6a823711b0d5f884332b0b2a8699cd6ce901a7add1bef97365e3a73054cf383bb8bd3cc9460", - "sworker_version" : "1.1.1", - "version" : "1.1.1" + "sworker_version" : "1.1.2", + "version" : "1.1.2" } ``` diff --git a/src/app/include/Resource.h b/src/app/include/Resource.h index ba19483d..e0c5d184 100644 --- a/src/app/include/Resource.h +++ b/src/app/include/Resource.h @@ -4,7 +4,7 @@ #include #include "Parameter.h" -#define VERSION "1.1.1" +#define VERSION "1.1.2" #define CRUST_INST_DIR "/opt/crust/crust-sworker/" VERSION #define ENCLAVE_FILE_PATH CRUST_INST_DIR "/etc/enclave.signed.so" diff --git a/src/enclave/include/Parameter.h b/src/enclave/include/Parameter.h index ff9d536e..68051755 100644 --- a/src/enclave/include/Parameter.h +++ b/src/enclave/include/Parameter.h @@ -10,7 +10,7 @@ typedef crust_status_t (*ecall_store2_f)(const uint8_t *u, size_t s); typedef sgx_status_t (*ocall_get2_f)(crust_status_t *status, uint8_t *u, size_t s, size_t *rs); // For all -#define SWORKER_VERSION "1.1.1" +#define SWORKER_VERSION "1.1.2" #define LEAF_SEPARATOR "+leaf+" #define EMPTY_BLOCK_CID "QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n" #define EMPTY_BLOCK_FLAG "empty"