[go: up one dir, main page]

Proto/Michelson: preparation work to separate internal operations

Context

This is the first part to answer issue #2035 (closed).

It implements some preparation work to separate internal operations. Mainly:

  • remove the unused operation_size function so that it does not get in our way;
  • extract some behavior related to internal operations in order to share them between internal and external operations;
  • find_entrypoint works at Michelson level (instead of Micheline);
  • have dedicated types in Apply_results for returning results of internal operations.

Manually testing the MR

Continuous integration.

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). Existing tests cover the modifications.
  • 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). No new feature or bug fix.
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Nicolas Ayache

Merge request reports

Loading