Proto: Enable transferring tickets between implicit accounts
Context
This MR enables implicit accounts to transfer tickets to other implicit accounts. With this change, Transfer_ticket
manager operation adjusts ticket balances even if the destination points to an implicit account and, thus, enabling implicit accounts to receive tickets from other implicit accounts.
Manually testing the MR
This work enables transfer tickets
commands to target implicit accounts. The way to use it is as follows.
octez-client transfer 1 tickets from 'tz1...' to 'tz1...' with entrypoint 'default' and contents '"2022-11-03T05:53:18Z"' and type timestamp and ticketer 'KT1...'
Notably, now you can transfer tickets from one tz1
address to another, except that the entrypoint
parameter must be %default
.
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 X