You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling the simulate_bundle RPC method and one of transactions fails due to e.g. custom thrown error from an instruction, the result does not contain neither logs nor consumed compute units, and the error itself is returned only as string which makes it cumbersome to parse.
As you can see, only summary field is returned; the transaction_results is empty.
Proposed Solution
transaction_results should be returned; It has all the fields that standard solana simulate_transaction rpc method returns: logs, consumed compute units etc. This helps to debug failures.
The text was updated successfully, but these errors were encountered:
Problem
When calling the simulate_bundle RPC method and one of transactions fails due to e.g. custom thrown error from an instruction, the result does not contain neither logs nor consumed compute units, and the error itself is returned only as string which makes it cumbersome to parse.
example result:
As you can see, only
summary
field is returned; thetransaction_results
is empty.Proposed Solution
transaction_results
should be returned; It has all the fields that standard solanasimulate_transaction
rpc method returns: logs, consumed compute units etc. This helps to debug failures.The text was updated successfully, but these errors were encountered: