[go: up one dir, main page]

Reuse non-serialized parameters when scanning operations for tickets

Blocked on Separate internal operations.

In Ticket_operations_diff we rely on the cache for loading the parsed script given a contract. That is in order to retrieve:

Ex_script {storage; storage_type; code; arg_type; views; root_name; code_size; }

For a transaction operation, i.e a value:

Transaction {amount; parameters; entrypoint; destination}

we scan for tickets by first checking whether the arg_type may contain any tickets. If so, we still have to parse the micheline node parameters.

Had we instead saved the parsed values for internal operation this step could be eliminated. This should be enabled by work in this Separate internal operations milestone.

Edited by Joel Bjornson