Skip to content

Commit f87ee8a

Browse files
committed
feature: modify proto buffer
- Add version field to smart contract definition - Add log list and internal transaction list to transaction extension
1 parent f8c542f commit f87ee8a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/main/protos/api/api.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,8 @@ message TransactionExtention {
11931193
repeated bytes constant_result = 3;
11941194
Return result = 4;
11951195
int64 energy_used = 5;
1196+
repeated TransactionInfo.Log logs = 6;
1197+
repeated InternalTransaction internal_transactions = 7;
11961198
}
11971199

11981200
message BlockExtention {

src/main/protos/core/contract/smart_contract.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ message SmartContract {
5555
int64 origin_energy_limit = 8;
5656
bytes code_hash = 9;
5757
bytes trx_hash = 10;
58+
int32 version = 11;
5859
}
5960

6061
message CreateSmartContract {

0 commit comments

Comments
 (0)