Problems with relayer::error display for CLIs #555
Labels
I: CLI
Internal: related to the relayer's CLI
O: usability
Objective: cause to improve the user experience (UX) and ease using the product
Milestone
Crate
relayer
Summary of Bug
Not enough detail when the IBC message Tx fails
Version
9d0a7b8
Steps to Reproduce
current output for
rrly -c loop_config.toml tx raw chan-init ibc-0 ibc-1 connection-0 transfer transfer defaultChannel defaultChannel -o ORDERED
is:{"status":"error","result":["tx error: failed"]}
If using
{:?}
formatter here https://github.com/informalsystems/ibc-rs/blob/9d0a7b8f11a252e68e039a976910edd33107f074/relayer-cli/src/commands/tx/channel.rs#L89the output of the same command is:
Ideally we should have the latter minus the backtrace, so the user can figure out the reason for the Tx failure.
Prior to 9d0a7b8 the output is:
For Admin Use
The text was updated successfully, but these errors were encountered: