Skip to content

Proto/rollup: switch back unparsing mode to optimized

Gauthier requested to merge gauthier@Proto-switchBackUnparsingMode into master

What

Last MR of the train introducing the new Ticket constructor. This MR aims to switch back to Optimized the unparsing mode for the rollups. Before this MR, it was at Optimize_legacy leading rollups to use the nested Pair representation of Tickets. Now, it will unparse using the Ticket constructor introduced in the Kernel SDK in !11588 (merged)

Previous MRs are:

Why

This is necessary to use the new constructor and be backward compatible with rollups already using the nested legacy Pair one.

How

Only changing provided unparsing mode of make_transaction_to_sc_rollup function in script_interpreter_defs.ml

Manually testing the MR

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 Gauthier

Merge request reports