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_contractwith a Michelson lambda; - a typed script field is added to the
Script_typed_ir.Originationvariant; - 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 (No new feature or bug fix.docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Mehdi Bouaziz