Skip to content

Commit

Permalink
Remove redundant proto file containing block and transaction (vmware#…
Browse files Browse the repository at this point in the history
…2952)

Athena also has this redundant proto file. All the relevant components
would be referring to types defined in this single proto file.

Co-authored-by: Mahaveer Darade <[email protected]>
  • Loading branch information
2 people authored and HristoStaykov committed Apr 24, 2023
1 parent 4b816a5 commit 05e2782
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions kvbc/proto/concord_kvbc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ message Block {
optional int64 timestamp = 6;
optional int64 gas_limit = 7;
optional int64 gas_used = 8;
optional bytes stateroot = 9;
}

message Transaction {
Expand All @@ -54,8 +55,7 @@ message Transaction {
optional bytes sig_r = 13; // 32 bytes
optional bytes sig_s = 14; // 32 bytes
optional uint32 sig_v = 15;
repeated Log log = 16;
optional int64 gas_used = 17;
optional int64 gas_used = 16;
}

message Log {
Expand All @@ -64,6 +64,11 @@ message Log {
optional bytes data = 3;
}

message TransactionLog {
optional int64 version = 1;
repeated Log logs = 2;
}

message Balance {
optional int64 version = 1;
optional bytes balance = 2; // 32 bytes
Expand Down

0 comments on commit 05e2782

Please sign in to comment.