Skip to content

Commit

Permalink
Merge pull request #2400 from AntelopeIO/GH-2281-compute_trx-5.0
Browse files Browse the repository at this point in the history
[5.0] compute_transaction should return failure trace
  • Loading branch information
heifner authored Aug 5, 2024
2 parents 6b21988 + 429eaa5 commit 63fec3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/chain_plugin/chain_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2552,7 +2552,7 @@ read_only::get_required_keys_result read_only::get_required_keys( const get_requ
}

void read_only::compute_transaction(compute_transaction_params params, next_function<compute_transaction_results> next) {
send_transaction_params_t gen_params { .return_failure_trace = false,
send_transaction_params_t gen_params { .return_failure_trace = true,
.retry_trx = false,
.retry_trx_num_blocks = std::nullopt,
.trx_type = transaction_metadata::trx_type::dry_run,
Expand Down

0 comments on commit 63fec3e

Please sign in to comment.