KernelSDK: Add MichelsonTicket type
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:
- Switching unparsing mode for rollups to
Optimized_legacy
!12030 (merged) - Adding the unparsing of
D_Ticket
!11619 (merged)
Next MRs will be:
- Put legacy
Pair
under legacy flag !11620 (merged) - Switch back from
Optimized
instead ofOptimized_legacy
!12048 (merged)
Next steps following pair with @emturner (thanks again
-
Duplicate NomReader/binWriter for each Michelson type -
Move the conversion from Node to MichelsonUnit into separate function (to have correct array checking) -
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