EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.29k stars 3.6k forks source link

Support --return-failure-trace in send_transaction. #11049

Closed dimas1185 closed 2 years ago

dimas1185 commented 2 years ago

Change Description

The --return-failure-trace option was introduced along with the --read-only option on cleos push transaction and was exclusive to read-only transaction processing. This extends support to normal transactions. It also renames the push_ro_transaction RPC API in nodeos to send_ro_transaction to better reflect the processing it actually does, which is consistent with send_transaction rather than push_transaction.

The macro-based URL dispatcher in nodeos required extension to support differing parameter versions. To minimize the disruption to the macro, the _v1 suffix was propagated to all previously unversioned asynchronous RPC API parameter names.

backport of #10533

In addition to original PR there are 2 changes: --return-failure-trace is enabled by default --return-failure-trace is added for any transaction. Not just cleos push transaction but things like cleos add contract, etc. Essentially everything that results in pushing transaction.

Change Type

Select ONE:

Testing Changes

Select ANY that apply:

Consensus Changes

API Changes

Documentation Additions

dimas1185 commented 2 years ago

withdrawn