Skip to content

KernelSDK: Add MichelsonTicket type

Gauthier requested to merge gauthier@KernelSDK-addMichelsonTicket into master

Context

Third part of #6643 (closed), this MR adds the new MichelsonTicket type in the Kernel SDK. This will allow rollups to generate proofs using the new Ticket %ticketer %contents_type %contents %amount representation, instead of the old deprecated one Pair %ticketer (Pair %contents %amount)

Closes #6795 (closed)

Third MR of a train.

Previous MRs are:

Next MRs will be:

Next steps following pair with @emturner (thanks again 🙏):

  1. Duplicate NomReader/binWriter for each Michelson type
  2. Move the conversion from Node to MichelsonUnit into separate function (to have correct array checking)
  3. use MapRes

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