Proto: Set [direct_ticket_spending_enable] flag to true
Followup of !10919 (merged)
The following should be addressed before enabling the feature flag:
- We must set
allow_forgedtotrueto allow tickets to appear in the parameter from implicit, but also enables placing lazy storage ids in the parameter, which is something we should avoid.- Can be addressed by splitting
allow_forgedinto something likeallow_ticketsandallow_lazy_storage_id: #2964 (closed)
- Can be addressed by splitting
-
Consider the security implications. Users cannot know they are transferring tickets by just inspecting parameters, which look like
Pair 0x01fb.. (Pair "foo" 1). This means they can be tricked into sending tickets without knowing.- Introduce a new
Ticketprimitive so ticks appear as tickets in the Micheline expression: #6643 (closed)
- Introduce a new
Edited by YunYan