Skip to content
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

fix: replace all protos starting with zero #63

Closed
Closed
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
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
Loading