RPC: Ensure innerInstructions/logMessages metadata is null when --enable-cpi-and-log-storage is disabled

This commit is contained in:
Michael Vines
2021-12-02 10:35:53 -08:00
parent 2b269dbe0e
commit 1ae9cdcb43
3 changed files with 33 additions and 17 deletions

View File

@ -41,7 +41,9 @@ message TransactionStatusMeta {
repeated uint64 pre_balances = 3;
repeated uint64 post_balances = 4;
repeated InnerInstructions inner_instructions = 5;
bool inner_instructions_none = 10;
repeated string log_messages = 6;
bool log_messages_none = 11;
repeated TokenBalance pre_token_balances = 7;
repeated TokenBalance post_token_balances = 8;
repeated Reward rewards = 9;