Skip to content

Commit a109e0a

Browse files
committed
Increase the version from 2.0.0 to 2.0.1 and rebuild the sworker release image with 'prod' build mode.
1 parent ccc5157 commit a109e0a

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Please refer to [Crust sWorker docker mode](docs/Docker.md)
5353
In /opt/crust/crust-sworker/etc/Config.json file you can configure your sworker application.
5454
```
5555
{
56-
"base_path" : "/opt/crust/crust-sworker/2.0.0/sworker_base_path", # sWorker key information location, must be absolute path
56+
"base_path" : "/opt/crust/crust-sworker/2.0.1/sworker_base_path", # sWorker key information location, must be absolute path
5757
"base_url" : "http://127.0.0.1:12222/api/v0", # your sWorker node api address
5858
"data_path" : ["/data1"], # If this item is not set, srd and sealing function cannot be applied
5959
@@ -74,7 +74,7 @@ In /opt/crust/crust-sworker/etc/Config.json file you can configure your sworker
7474

7575
### Run
7676
```
77-
/opt/crust/crust-sworker/2.0.0/bin/crust-sworker -c /opt/crust/crust-sworker/2.0.0/etc/Config.json
77+
/opt/crust/crust-sworker/2.0.1/bin/crust-sworker -c /opt/crust/crust-sworker/2.0.1/etc/Config.json
7878
```
7979

8080
### Crust sWorker executable file

VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
2.0.0
2-
SWORKER=2.0.0
1+
2.0.1
2+
SWORKER=2.0.1

docs/API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ Output:
7777
"account" : "5EsgXyVJGnoGQ931Vcbzhcsi64unFhCoc5GhZUJnD8qvzu9j",
7878
"mrenclave" : "cb8a24a6a971d738c6976269358e24bf2af578462fb92ead2d384b619fff6d4a",
7979
"pub_key" : "95178acfcb9f1406de8b14a5f81fa141a2934fcfc6fefa58077ff6a823711b0d5f884332b0b2a8699cd6ce901a7add1bef97365e3a73054cf383bb8bd3cc9460",
80-
"sworker_version" : "2.0.0",
81-
"version" : "2.0.0",
80+
"sworker_version" : "2.0.1",
81+
"version" : "2.0.1",
8282
"attestation_mode" : "epid"
8383
}
8484
```

src/app/include/Resource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <stdint.h>
55
#include "Parameter.h"
66

7-
#define VERSION "2.0.0"
7+
#define VERSION "2.0.1"
88

99
#define CRUST_INST_DIR "/opt/crust/crust-sworker/" VERSION
1010
#define ENCLAVE_FILE_PATH CRUST_INST_DIR "/etc/enclave.signed.so"

src/enclave/include/Parameter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ typedef crust_status_t (*ecall_store2_f)(const uint8_t *u, size_t s);
1010
typedef sgx_status_t (*ocall_get2_f)(crust_status_t *status, uint8_t *u, size_t s, size_t *rs);
1111

1212
// For all
13-
#define SWORKER_VERSION "2.0.0"
13+
#define SWORKER_VERSION "2.0.1"
1414
#define LEAF_SEPARATOR "+leaf+"
1515
#define EMPTY_BLOCK_CID "QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n"
1616
#define EMPTY_BLOCK_FLAG "empty"

0 commit comments

Comments
 (0)