Skip to content

Proto/Michelson: do not strip annotations for entrypoints RPCs

Mehdi Bouaziz requested to merge mehdi@entrypoint_type_original_type into master

Context

Solves part of #2707 (closed): we lost non-entrypoint annotations of entrypoint types.

For this we need to carry the original type of entrypoints in the entrypoint tree.

Based on !4844 (merged)

Manually testing the MR

  • test entrypoints RPCs as in #2707 (closed)
  • play with client commands get contract entrypoints for / get contract entrypoint type of ... for with and without --normalize-types
  • see updated Tezt regression tests

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 Mehdi Bouaziz

Merge request reports