Tx rollup use ticket balance key instead of own hash ticket wrapper
Context
The Tx_rollup.hash_ticket from alpha_context.ml does not output the same result as ticket_balance_key.ticket_balance_key because the owner field was not same the same way.
Here I propose to reduce the possibility of different hash values by splitting ticket_balance_key into two functions, one using typed content and the other one only Script.node value.
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.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR