Skip to content

Remove mentions of simple_hash #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions datatrails-common-api/assets/v2/assets/assetresponse.proto
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ message AssetResponse {
"\"tracked\": \"TRACKED\", "
"\"owner\": \"0x601f5A7D3e6dcB55e87bf2F17bC8A27AaCD3511\","
"\"at_time\": \"2019-11-27T14:44:19Z\","
"\"proof_mechanism\": \"SIMPLE_HASH\","
"\"proof_mechanism\": \"MERKLE_LOG\","
"\"public\": false,"
"\"tenant_identity\": \"tenant/8e0b600c-8234-43e4-860c-e95bdcd695a9\" "
"}"
Expand Down Expand Up @@ -117,4 +117,4 @@ message AssetResponse {
max_length: 1024
}];

}
}
4 changes: 2 additions & 2 deletions datatrails-common-api/assets/v2/assets/createasset.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ message CreateAssetRequest {
" \"arc_display_name\": \"My Garden Fence\", "
" \"colour\": \"Plain wood\" "
"}, "
"\"proof_mechanism\": \"SIMPLE_HASH\","
"\"proof_mechanism\": \"MERKLE_LOG\","
"\"public\": false"
"}"
};
Expand Down Expand Up @@ -79,4 +79,4 @@ message CreateAssetRequest {
"Sharing to specific organisations is not available for public assets."
}
];
}
}
2 changes: 1 addition & 1 deletion datatrails-common-api/assets/v2/assets/enums.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ enum TrackedStatus {
enum ProofMechanism {
PROOF_MECHANISM_UNSPECIFIED = 0;
RESERVED1 = 1;
SIMPLE_HASH = 2;
RESERVED2 = 2;
MERKLE_LOG = 3;
}

Expand Down
6 changes: 3 additions & 3 deletions datatrails-common-api/assets/v2/assets/listassets.proto
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ message ListAssetsResponse {
" \"tracked\": \"TRACKED\", "
" \"owner\": \"0x601f5A7D3e6dcB55e87bf2F17bC8A27AaCD3511\","
" \"at_time\": \"2019-11-27T14:44:19Z\", "
" \"proof_mechanism\": \"SIMPLE_HASH\","
" \"proof_mechanism\": \"MERKLE_LOG\","
" \"public\": false,"
" \"tenant_identity\": \"tenant/8e0b600c-8234-43e4-860c-e95bdcd695a9\" "
" },"
Expand All @@ -126,7 +126,7 @@ message ListAssetsResponse {
" \"tracked\": \"TRACKED\", "
" \"owner\": \"0x601f5A7D3e6dcB55e87bf2F17bC8A27AaCD3511\","
" \"at_time\": \"2019-11-27T14:44:19Z\", "
" \"proof_mechanism\": \"SIMPLE_HASH\","
" \"proof_mechanism\": \"MERKLE_LOG\","
" \"public\": false,"
" \"tenant_identity\": \"tenant/8e0b600c-8234-43e4-860c-e95bdcd695a9\" "
" }"
Expand All @@ -137,4 +137,4 @@ message ListAssetsResponse {
repeated AssetResponse assets = 1;
// Token to retrieve the next page of results or empty if there are none.
string next_page_token = 2;
}
}
Loading