[#322] Fix `CONTRACT` interpretation with ambiguous entrypoints
Description
Problem:
The CONTRACT
instruction is specified to result in None
when
both the instruction and the input address provide a non-default
entrypoint.
morley
was incorrectly throwing a MichelsonAmbigousEpRef
exception
in this case.
Solution:
- The interpreter is fixed to produce
None
. - The
MichelsonAmbigousEpRef
exception is removed.
Related issue(s)
Resolves #322 (closed).
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Simon Jakobi