Skip to content

[TM-97] Always print values returned by executed contracts

Ivan Gromakovskii requested to merge gromak/tm97-print-returned-values into master

Description

Problem: if you run a contract without --verbose it won't print anything. It's quite confusing. Even if you pass --verbose, it will print updates, but they are indeed quite verbose. Normally user wants to know resulting storage of this contract and operations that it returned.

Solution: print all returned values for each executed contracts along with logs.

Related issue(s)

https://issues.serokell.io/issue/TM-97

Checklist for your Merge Request

Related changes (conditional)

  • Tests

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:

Stylistic guide (mandatory)

Merge request reports