ci: add workflow for proto code generation check

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-01-23 10:20:37 +01:00
parent 3b59ebfd53
commit 94c0184e4d
7 changed files with 89 additions and 17 deletions

View file

@ -26,6 +26,7 @@ type GetAttestationRequest struct {
unknownFields protoimpl.UnknownFields
// bytes user_data = 1; removed
// nonce is a random nonce to prevent replay attacks.
Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
}
@ -73,6 +74,7 @@ type GetAttestationResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// attestation is the attestation for the given user data and nonce.
Attestation []byte `protobuf:"bytes,1,opt,name=attestation,proto3" json:"attestation,omitempty"`
}