[go: up one dir, main page]

Tests/Python: always run `octez-client run script` with `--trace-stack`

Context

Some regression tests in the test_contract_opcodes.py test file call the interpreter without logging the execution trace with --trace-stack. As a consequence, we cannot detect gas and semantic regressions in these tests. This MR adds the missing trace_stack=True in these tests.

The regression traces produced in this MR are sometimes wrong gas-wise because of #3971 (closed) which is not solved here.

Manually testing the MR

Checking the CI should be enough.

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR

Merge request reports

Loading