Skip to content

Commit

Permalink
adapt to java_tron-v4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghang8612 committed Jul 26, 2021
1 parent 447b466 commit fb7a77c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/api.proto
Expand Up @@ -1221,6 +1221,7 @@ message TransactionExtention {
bytes txid = 2; //transaction id = sha256(transaction.rowdata)
repeated bytes constant_result = 3;
Return result = 4;
int64 energy_used = 5;
}

message BlockExtention {
Expand Down
1 change: 1 addition & 0 deletions core/Tron.proto
Expand Up @@ -606,6 +606,7 @@ message InternalTransaction {
repeated CallValueInfo callValueInfo = 4;
bytes note = 5;
bool rejected = 6;
string extra = 7;
}

message DelegatedResourceAccountIndex {
Expand Down
3 changes: 2 additions & 1 deletion core/contract/smart_contract.proto
Expand Up @@ -18,6 +18,7 @@ message SmartContract {
Event = 3;
Fallback = 4;
Receive = 5;
Error = 6;
}
message Param {
bool indexed = 1;
Expand Down Expand Up @@ -92,4 +93,4 @@ message UpdateEnergyLimitContract {
message SmartContractDataWrapper {
SmartContract smart_contract = 1;
bytes runtimecode = 2;
}
}

1 comment on commit fb7a77c

@mehmet543
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.