Skip to content

Michelson: Fix gas consumption in traced execution

Context

Fixes: #3971 (closed). See the description of the issue for more context.

Depends on !6546 (merged) and !6565 (merged) which enriches some regression traces to give a better picture of the issue.

TODO:

  • while we are at it, I think that we should remove most of the code in log and klog because it is redundant.
  • add an entry in the changelog

Manually testing the MR

A property that should hopefully hold now is that the "remaining gas" quantity reported in the regression traces is strictly decreasing. I haven't checked this property though.

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
Edited by Raphaël Cauderlier

Merge request reports

Loading