From dfb35ac64b6264fe8d29fb55180d68afa94af5f1 Mon Sep 17 00:00:00 2001 From: Akosh Farkash Date: Tue, 11 Jun 2024 15:55:27 +0100 Subject: [PATCH] BFT-457: Reserve name --- node/libs/roles/src/proto/attester.proto | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/node/libs/roles/src/proto/attester.proto b/node/libs/roles/src/proto/attester.proto index d89bf563..6bc266b7 100644 --- a/node/libs/roles/src/proto/attester.proto +++ b/node/libs/roles/src/proto/attester.proto @@ -28,12 +28,14 @@ message Signed { } message PublicKey { - reserved 1; // bn254 + reserved 1; + reserved "bn254"; optional bytes secp256k1 = 2; // required } message Signature { - reserved 1; // bn254 + reserved 1; + reserved "bn254"; optional bytes secp256k1 = 2; // required } @@ -43,7 +45,8 @@ message WeightedAttester { } message AggregateSignature { - reserved 1; // bn254 + reserved 1; + reserved "bn254"; // This is the aggregate signature itself encoded as bytes, which is why it's not `repeated`, // even though for secp256k1 it's just a list of signatures. optional bytes secp256k1 = 2; // required