Skip to content

Commit 1d13df7

Browse files
authored
Remove mentions of simple_hash (#30)
AB#9329
1 parent efd8c9b commit 1d13df7

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

datatrails-common-api/assets/v2/assets/assetresponse.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ message AssetResponse {
3333
"\"tracked\": \"TRACKED\", "
3434
"\"owner\": \"0x601f5A7D3e6dcB55e87bf2F17bC8A27AaCD3511\","
3535
"\"at_time\": \"2019-11-27T14:44:19Z\","
36-
"\"proof_mechanism\": \"SIMPLE_HASH\","
36+
"\"proof_mechanism\": \"MERKLE_LOG\","
3737
"\"public\": false,"
3838
"\"tenant_identity\": \"tenant/8e0b600c-8234-43e4-860c-e95bdcd695a9\" "
3939
"}"
@@ -117,4 +117,4 @@ message AssetResponse {
117117
max_length: 1024
118118
}];
119119

120-
}
120+
}

datatrails-common-api/assets/v2/assets/createasset.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ message CreateAssetRequest {
2525
" \"arc_display_name\": \"My Garden Fence\", "
2626
" \"colour\": \"Plain wood\" "
2727
"}, "
28-
"\"proof_mechanism\": \"SIMPLE_HASH\","
28+
"\"proof_mechanism\": \"MERKLE_LOG\","
2929
"\"public\": false"
3030
"}"
3131
};
@@ -79,4 +79,4 @@ message CreateAssetRequest {
7979
"Sharing to specific organisations is not available for public assets."
8080
}
8181
];
82-
}
82+
}

datatrails-common-api/assets/v2/assets/enums.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ enum TrackedStatus {
2222
enum ProofMechanism {
2323
PROOF_MECHANISM_UNSPECIFIED = 0;
2424
RESERVED1 = 1;
25-
SIMPLE_HASH = 2;
25+
RESERVED2 = 2;
2626
MERKLE_LOG = 3;
2727
}
2828

datatrails-common-api/assets/v2/assets/listassets.proto

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ message ListAssetsResponse {
110110
" \"tracked\": \"TRACKED\", "
111111
" \"owner\": \"0x601f5A7D3e6dcB55e87bf2F17bC8A27AaCD3511\","
112112
" \"at_time\": \"2019-11-27T14:44:19Z\", "
113-
" \"proof_mechanism\": \"SIMPLE_HASH\","
113+
" \"proof_mechanism\": \"MERKLE_LOG\","
114114
" \"public\": false,"
115115
" \"tenant_identity\": \"tenant/8e0b600c-8234-43e4-860c-e95bdcd695a9\" "
116116
" },"
@@ -126,7 +126,7 @@ message ListAssetsResponse {
126126
" \"tracked\": \"TRACKED\", "
127127
" \"owner\": \"0x601f5A7D3e6dcB55e87bf2F17bC8A27AaCD3511\","
128128
" \"at_time\": \"2019-11-27T14:44:19Z\", "
129-
" \"proof_mechanism\": \"SIMPLE_HASH\","
129+
" \"proof_mechanism\": \"MERKLE_LOG\","
130130
" \"public\": false,"
131131
" \"tenant_identity\": \"tenant/8e0b600c-8234-43e4-860c-e95bdcd695a9\" "
132132
" }"
@@ -137,4 +137,4 @@ message ListAssetsResponse {
137137
repeated AssetResponse assets = 1;
138138
// Token to retrieve the next page of results or empty if there are none.
139139
string next_page_token = 2;
140-
}
140+
}

0 commit comments

Comments
 (0)