Proto: Use abstract protocol types outside of the protocol
Context
Following discussion on slack (https://tezos-dev.slack.com/archives/GB0UR34N8/p1610964757049700), this MR updates the usages of protocol types outside of the protocol to abstract (Alpha_context) types, rather than concrete (*_repr) types.
This avoid difficulties with conversions between abstract and concrete types.
Manually testing the MR
N/A
Checklist
-
N/A Document the interface of any function added or modified (see the coding guidelines) -
N/A Provide automatic testing (see the testing guide). -
N/A Add item in the Development Versionsection ofCHANGES.md(only for new features and bug fixes).
Reviewers
Edited by Tomáš Zemanovič