Skip to content

Commit

Permalink
fix: replace all protos starting with zero
Browse files Browse the repository at this point in the history
  • Loading branch information
guy-starkware committed Dec 18, 2024
1 parent e17853b commit def0af7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions p2p/proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ message BlockID {
}

enum L1DataAvailabilityMode {
Calldata = 0;
Blob = 1;
Calldata = 1;
Blob = 2;
}

enum VolitionDomain {
L1 = 0;
L2 = 1;
L1 = 1;
L2 = 2;
}

message BlockProof {
Expand Down
4 changes: 2 additions & 2 deletions p2p/proto/consensus/consensus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ message ConsensusTransaction {
// Votes will be sent on the "consensus_votes" topic.
message Vote {
enum VoteType {
Prevote = 0;
Precommit = 1;
Prevote = 1;
Precommit = 2;
};

// We use a type field to distinguish between prevotes and precommits instead of different
Expand Down
4 changes: 2 additions & 2 deletions p2p/proto/sync/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ message StateDiffCommitment {

message Iteration {
enum Direction {
Forward = 0;
Backward = 1;
Forward = 1;
Backward = 2;
}
oneof start {
uint64 block_number = 1;
Expand Down
4 changes: 2 additions & 2 deletions p2p/proto/sync/receipt.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ message MessageToL1 {
}

enum PriceUnit {
Wei = 0;
Fri = 1;
Wei = 1;
Fri = 2;
}

message EthereumAddress {
Expand Down

0 comments on commit def0af7

Please sign in to comment.