Skip to content

Proto/Michelson: enrich the origination internal operation

Context

This is the fourth and last part to answer issue #2035 (closed).

It adds a Michelson version of the origination script parameter:

  • it enriches the origination application (Apply.apply_origination) with the possibility to use an already parsed version of the script;
  • similarly, it enriches Script_interpreter_defs.create_contract with a Michelson lambda;
  • a typed script field is added to the Script_typed_ir.Origination variant;
  • it optimizes ticket functionalities by benefiting from the available typed script;
  • finally, it moves pre-originations to the internal origination only, since they are set only in this case.

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 Mehdi Bouaziz

Merge request reports

Loading