Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pompon0 committed Jul 26, 2024
1 parent 0d27fcf commit 2888c28
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions node/libs/roles/src/proto/attester.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ syntax = "proto3";
package zksync.roles.attester;

import "zksync/std.proto";
import public "zksync/roles/validator/keys.proto";

message SyncBatch {
optional uint64 number = 1; // required
Expand Down
2 changes: 1 addition & 1 deletion node/libs/roles/src/proto/validator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ syntax = "proto3";
package zksync.roles.validator;

import "zksync/std.proto";
import "zksync/roles/attester.proto";
import public "zksync/roles/attester.proto";

message Genesis {
reserved 1,2;
Expand Down
8 changes: 8 additions & 0 deletions node/libs/roles/src/proto/validator/keys.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
syntax = "proto3";

package zksync.roles.validator;

message PublicKeyo {
// The name is wrong, it should be bls12_381.
optional bytes bn254 = 1; // required
}

0 comments on commit 2888c28

Please sign in to comment.